关联规则挖掘步骤及代码如下:
【1】设定工作目录
setwd("E:/project/Rexample/EnterpResponser_apriori")
【2】加载两个包
library("Matrix")
library("arules")
【3】读取数据:帮助文档(http://127.0.0.1:16781/library/arules/html/read.transactions.html
关联规则挖掘步骤及代码如下:
【1】设定工作目录
setwd("E:/project/Rexample/EnterpResponser_apriori")
【2】加载两个包
library("Matrix")
library("arules")
【3】读取数据:帮助文档(http://127.0.0.1:16781/library/arules/html/read.transactions.html