set the number of iterations in FCM algorith

2 vues (au cours des 30 derniers jours)
pavlos
pavlos le 22 Oct 2012
Hello,
The general form of fuzzy C-means is
[center,U,obj_fcn] = fcm(data,cluster_n,options)
options(1): exponent for the partition matrix U (default: 2.0)
options(2): maximum number of iterations (default: 100)
options(3): minimum amount of improvement (default: 1e-5)
options(4): info display during iteration (default: 1)
How can I change the number of iterations to 500?
I get the message "too many input arguments", if I use
fcm("my_data",10,2,500)
here 10 is the number of clusters and 2 is the exponent
Thank you.
Pavlos

Réponse acceptée

Walter Roberson
Walter Roberson le 22 Oct 2012
fcm("my_data",10,[2,500])

Plus de réponses (0)

Catégories

En savoir plus sur Data Clustering dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by