• Tidak ada hasil yang ditemukan

Cluster Quasi-Random Data Using Fuzzy C-Means Clustering - MATLAB & Simulink.

N/A
N/A
Protected

Academic year: 2017

Membagikan "Cluster Quasi-Random Data Using Fuzzy C-Means Clustering - MATLAB & Simulink."

Copied!
3
0
0

Teks penuh

(1)

Cluster Quasi­Random Data Using Fuzzy C­

Means Clustering

This example shows how FCM clustering works using quasi­random two­dimensional data.

Load the data set and plot it.

load fcmdata.dat

plot fcmdata :, ,fcmdata :, ,'o'

Next, invoke the command­line function, fcm, to find two clusters in this data set until the objective function is no longer decreasing much at all.

[center,U,objFcn] = fcm fcmdata, ;

Iteration count =  , obj. fcn =  . 0 Iteration count =  , obj. fcn =  . 0 Iteration count =  , obj. fcn =  . Iteration count =  , obj. fcn =  . Iteration count =  , obj. fcn =  . Iteration count =  , obj. fcn =  . 0 0 Iteration count =  , obj. fcn =  . 0 Iteration count =  , obj. fcn =  . Iteration count =  , obj. fcn =  . 0 Iteration count =  0, obj. fcn =  . Iteration count =  , obj. fcn =  . Iteration count =  , obj. fcn =  . 0

(2)

plot objFcn

title 'Objective Function Values'

xlabel 'Iteration Count'

ylabel 'Objective Function Value'

Finally, plot the two cluster centers found by the fcm function. The large characters in the plot indicate cluster centers.

maxU = max U ;

index  = find U ,:  == maxU ; index  = find U ,:  == maxU ; figure

line fcmdata index , , fcmdata index , , 'linestyle',...

      'none','marker', 'o','color','g'

line fcmdata index , ,fcmdata index , ,'linestyle',...

      'none','marker', 'x','color','r'

hold on

(3)

Note: Every time you run this example, the fcm function initializes with different initial conditions. This behavior swaps the order in which the cluster centers are computed and plotted.

See Also

fcm

Referensi

Dokumen terkait

Therefore the expansion of starting point algorithm approach by hierarchical agglomerative clustering as alternate step from random process of membership degree in early

In the first phase of this research it was revealed: the results of the Fuzzy c – means clustering are more accurate in comparison with the results of the Hard c – means clustering,

The Fuzzy C­Means (FCM) clustering is a well­known clustering technique for image segmentation. It was developed by Dunn [ 19 ] and improved by Bezdek [

If your data set is wide with a lot of overlap between potential

Among the fuzzy clustering methods, fuzzy c-means (FCM) algorithm [8] is the most popular method used in image segmentation because it has robust characteristics for ambiguity and

Tujuan pengelompokan dengan K- Means Clustering adalah untuk meminimalkan fungsi objektif yang dilakukan dalam proses pengelompokan, dengan tujuan meminimalkan variasi di

Clustering dengan metode FCM terhadap data performance mengajar dosen di suatu semester dilakukan untuk mengetahui cluster-cluster yang mungkin ada dan memiliki pola tertentu

The results of this optimal cluster can be used to group data to make an optimal decision in grouping cosmetic sales using seven distance calculations: Euclidean Distance, Canberra