NUMCLUSTERS must be a positive integer not greater than the number of data
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using the vl_feat module to call sift and gmm model for my data of 600 images. But I got the error for numCluster when I run GMM model. I set numClusters to 32,64, and 128 and kd to 16 and 32 and I got the error. If anyone know how to fix problem, please help me. Thanks and appreciate a lot.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/932544/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/932549/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/932554/image.png)
0 Commenti
Risposta accettata
Walter Roberson
il 19 Mar 2022
After that dimension reduction, you are left with an array that has kd = 16 columns. For vl_gmm, each column is an independent sample, so that means that you are passing in only 16 different samples. But you are asking to divide those 16 different samples into 64 clusters.
3 Commenti
Walter Roberson
il 19 Mar 2022
My guess would be that you should be passing the transpose of x into vl_gmm
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!