在R中使用SPADE方法时发生错误

时间:2012-12-04 05:01:48

标签: r data-mining

我目前正在R中使用SPADE算法挖掘序列模式。 SPADE包含在arulesSequence包中。 我在CentOS 6.3 64bit上运行R。

进行锻炼, 我试过http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Sequence_Mining/SPADE

中的一个例子

我试图做的时候

cspade(x, parameter = list(support = 0.4), control = list(verbose = TRUE))
R说:

parameter specification:    
support : 0.4
maxsize :  10
maxlen  :  10

algorithmic control:     
bfstype : FALSE     
verbose :  TRUE
summary : FALSE

preprocessing ... 1 partition(s), 0 MB [0.096s]     
mining transactions ... 0 MB [0.066s]    
reading sequences ...Error in asMethod(object) : 's' is not an integer vector

当我尝试在Window 7 32bit上运行SPADE时, 它运行良好,没有任何错误。

有人知道为什么会出现这种错误吗?

0 个答案:

没有答案