我正在尝试学习使用 R 和频繁模式挖掘,因此尝试使用 arules 包运行 apriori 算法,但没有生成规则。我得到的输出如下所示。有人可以建议我做错了什么吗?
rules <- apriori(data, parameter= list(supp=0.4, conf=0.4))
parameter specification:
confidence minval smax arem aval originalSupport support minlen maxlen target
0.4 0.1 1 none FALSE TRUE 0.4 1 10 rules
ext
FALSE
algorithmic control:
filter tree heap memopt load sort verbose
0.1 TRUE TRUE FALSE TRUE 2 TRUE
apriori - find association rules with the apriori algorithm
version 4.21 (2004.05.09) (c) 1996-2004 Christian Borgelt
set item appearances ...[0 item(s)] done [0.00s].
set transactions ...[6 item(s), 7 transaction(s)] done [0.00s].
sorting and recoding items ... [0 item(s)] done [0.00s].
creating transaction tree ... done [0.00s].
checking subsets of size 1 done [0.00s].
writing ... [0 rule(s)] done [0.00s].
creating S4 object ... done [0.00s].