Clear Filters
Clear Filters

set the number of iterations in FCM algorith

1 view (last 30 days)
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

Accepted Answer

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

More Answers (0)

Categories

Find more on Data Clustering in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!