You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if a bug or intended behavior, but when using ClusterR::Optimal_Clusters_GMM I get a warning the number of columns of the data should be larger than 'max_clusters' triggered by:
if (ncol(data) < max(max_clusters) &&verbose) { warning("the number of columns of the data should be larger than the maximum value of 'max_clusters'", call.=F); cat("", '\n') }
However, from the examples I would assume we are trying to cluster observations rather than parameters? Hence shouldn't the number of rows be used to trigger this warning?
The text was updated successfully, but these errors were encountered:
I just updated the code, now it should show the warning if the number of clusters are bigger than the number of observations.
I'll close the issue for now, feel free to re-open it in case that the code does not work as expected.
Not sure if a bug or intended behavior, but when using
ClusterR::Optimal_Clusters_GMM
I get a warningthe number of columns of the data should be larger than 'max_clusters'
triggered by:ClusterR/R/clustering_functions.R
Line 248 in d9ff519
However, from the examples I would assume we are trying to cluster observations rather than parameters? Hence shouldn't the number of rows be used to trigger this warning?
The text was updated successfully, but these errors were encountered: