ASSOCIATION RULE MINING AND CLUSTERING

Job ID: 34144748

Budget: $10 – $30 USD

In Part A, the purpose is to mine the Zoo dataset to obtain association rules that contain a mix of positive and negative terms. For this purpose, we will build on Tutorial 3 that mined positive rules. Tutorial 3 also laid the foundation for negative rules by using the factor concept to identify items which do not occur in the dataset such as venomous=false.
Building on the class session on association rule mining and Tutorial , you are required to accomplish the following tasks:
Task 1
Describe, without the use of code how a rule base can be generated which will not exceed a given size specified by a maxrules parameter. A suggested value of maxrules is 20.
Your description can be stated in pseudo code form that is iterative in nature. The process starts off with a high minsup value of 0.9 for frequent itemset generation. At each iteration the minsup threshold is reduced (say in decrements of 0.1) and the rules generated are examined. The rules that survive the quality check process (what measures would you use for quality control? – are then compared with the maxrules threshold and the process is repeated as long as the number of quality rules do not exceed the threshold.
Task 2
Implement the process described in Task 1 and produce the R code needed. Note the rules generated should contain a mix of positive and negative terms. In your R code, clearly indicate the parameter values for each threshold that you used.
Task 3
Visualize the rules produced in Task2 by using the appropriate R code.



PART-B

All code must meet good programming practices such as naming variables, modularity (using functions for repetitive tasks), and adequate comments at key points in the code.

The code has to be in a Google Colab sheet
A copy of your code in pdf form. This document must contain the name of the person who have undertaken the project.
A separate pdf document that provides written answers (not code) to the questions asked in this project specification.
Related categories: R Programming Language