Skip to main content

K means error

  • June 12, 2014
  • 1 reply
  • 4 views

Jesse_Glass
Forum|alt.badge.img+1
When I try to run k means, I get the following error. I'm not exactly sure how to address it.

> mykm <- hpdkmeans(B,centers=15)
Error in foreach(i, 1:nparts, progress = trace, function(tempArrayi = splits(tempArray,  :
  splits() failure: Object mask does not have as many partitions as specified





1 reply

Jesse_Glass
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • June 12, 2014
I realized that I just need to partition row wise only