• 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

Sehubungan dengan dilaksanakannya Evaluasi Penawaran yang dilakukan oleh Pokja I Unit Layanan Pengadaan Barang/Jasa Pemerintah Kabupaten Merangin Lingkup Dinas Pekerjaan Umum

Mengingat pentingnya acara ini, diharapkan kehadiran Direktur Perusahaan dan/atau Wakil yang ditunjuk sesuai persyaratan Dokumen Kualifikasi paket ini. Demikian penyampaian

ajar pada kegiatan Program PPG di Program Studi Pendidikan Teknik Elektro FT UNY.. dapat diselesaikan

When you close the door that leads to your personal mysteries, you deprive yourself of a source of power and passion?. One way to reopen that door, or open it wider, is to embrace

Memiliki pengalaman pada bidang Perpipaan Air Bersih dan Limbah, Pengelolaan Air Bersih, Pekerjaan Pengelolaan Air Tanah dan atau Instalasi Pengelolaan Limbah...mohon

Meningkatkan hasil belajar siswa pada mata pelajaran ipa melalui penggunaan media lingkungan pada konsep struktur tumbuhan dan fungsinya.. Universitas Pendidikan Indonesia |

Sebuah Tesis yang diajukan untuk memenuhi salah satu syarat memperoleh gelar Magister Pendidikan (M.Pd) pada Program Studi Pendidikan Olahraga SPs

[r]