Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Data Mining and Knowledge Discovery (KSE525) Assignment #2 (April 3, 2017, due: April 24) 1. [15 points] Answer the following question. 2. [10 points] Answer the following question. 3. [25 points] Install R and then two packages arules and arulesViz. using R. 1) Answer the following questions For each question, hand in your R code as well as your answer (result). Load the "Groceries" data set. Please obtain the following information: (i) the most frequent item, (ii) the length of the longest transaction, and (iii) the first five transactions. 2) Mine all association rules with the minimum support 0.001 and the minimum confidence 0.8. 3) Draw a scatter plot for all association rules. Here, the x-axis represents the support, the y-axis represents the confidence, and the shading of a point represents the lift. [Hint: use the "plot" function in the arulesViz package.] 4) Select the top-3 association rules according to the lift and print these rules. 5) Draw the top-3 rules as a graph such that a node becomes an item. [Hint: use the "plot" function in the arulesViz package.] Manuals for R packages: arules: http://cran.r-project.org/web/packages/arules/arules.pdf arulesViz: http://cran.r-project.org/web/packages/arulesViz/arulesViz.pdf