Error occurs while using SPADE method in R
Posted
by
Yuwon Lee
on Stack Overflow
See other posts from Stack Overflow
or by Yuwon Lee
Published on 2012-12-04T05:01:48Z
Indexed on
2012/12/04
5:03 UTC
Read the original article
Hit count: 138
r
|data-mining
I'm currently mining sequence patterns using SPADE algorithm in R. SPADE is included in "arulesSequence" package of R. I'm running R on my CentOS 6.3 64bit.
For an exercise, I've tried an example presented in http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Sequence_Mining/SPADE
When I tried to do "cspade(x, parameter = list(support = 0.4), control = list(verbose = TRUE))"
R says:
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
When I try to run SPADE on my Window 7 32bit, it runs well without any error.
Does anybody know why such errors occur?
© Stack Overflow or respective owner