Displaying 1 result from an estimated 1 matches for "simplekmeans".
2009 Aug 15
1
Error in running RWeka Clusteres
...or:
Error in names(class_ids) <- nms :
'names' attribute [150] must be the same length as the vector [0]
In addition: Warning message:
In is.nan(class) : is.nan() applied to non-(list or vector) of type 'NULL'
another example of such an error is:
Code:
library(RWeka)
cl1 <- SimpleKMeans(iris[, -5], Weka_control(N = 3))
Error:
Error in names(class_ids) <- nms :
'names' attribute [150] must be the same length as the vector [0]
In addition: Warning message:
In is.nan(class) : is.nan() applied to non-(list or vector) of type 'NULL'
I even copied the last code f...