asardaes / dtwclust

R Package for Time Series Clustering Along with Optimizations for DTW
https://cran.r-project.org/package=dtwclust
GNU General Public License v3.0
254 stars 29 forks source link

I want to compare the cluster algorithm, but it has an error because ncol too large. #36

Closed duangrux closed 5 years ago

duangrux commented 5 years ago

I want to compare the clustering algorithm, but it has an error because ncol too large. my dataset has 155 column and 1900 observations. and I also have another dataset that has 300 column and 1900 observations.

how should i do?

> sapply(list(HC=hc, DTW = pc_dtw, kShape = pc_sbd, FuzzyM = fcm),
+        cvi, b = lst_label, type = "VI") #Internal, Minimize
Error in matrix(0L, nrow(a), max(b)) : 
  invalid 'ncol' value (too large or NA)
In addition: There were 50 or more warnings (use warnings() to see the first 50)
asardaes commented 5 years ago

What's the format of lst_label? For specific issues, it really helps to have a reproducible example. I have a feeling it's related to your fcm data, but I'm not sure why.