2
我正在運行在下面給出R中關聯規則錯誤
rules <- apriori(B4_Temp,
parameter = list(minlen=2, supp=0.001, conf=0.6,target="rules"),
appearance = list(rhs=c("Location Info=Level1"),default="lhs"),
control = list(verbose=F))
我得到這個錯誤的公式:
Error in asMethod(object) :
Location Info=Level1 is an unknown item label,
Location Info=Entrance is an unknown item label
但是我對數據集中的值。問題是什麼?
請提供您的數據集的例子 –