CLUSTERING
21.C
2 K-MEANS ALGORITHM CLUSTERING
21.C
9 Algoritma K-Means Clustering
21.C
10 Flowchart K-Means Clustering
21.C
12 Contoh Kasus
Diberikan data
nilai dari 12 siswa
sebagai Berikut,
kemudian jadikan
data tersebut
menjadi 2 Cluster.
21.C
13 Contoh Kasus
Penyelesaian :
1. Tentukan pusat awal cluster “Centroid”
Untuk penentuan awal diasumsikan :
– Diambil data ke- 2 sebagai pusat Cluster Ke-
1: (84, 76, 79, 77, 76, 77, 75, 81)
– Diambil data ke- 5 sebagai pusat Cluster Ke-
2: (82, 82, 81, 91, 90, 82, 79, 91).
21.C
14 Contoh Kasus
21.C
15 Contoh Kasus
21.C
16 Contoh Kasus
21.C
17 Contoh Kasus
21.C
18 Contoh Kasus
21.C
19 Contoh Kasus
3. Pengelompokan Data
21.C
20 Contoh Kasus
C1=
21.C
21 Contoh Kasus
C2=
21.C
22 Contoh Kasus
21.C
23 Contoh Kasus
21.C
24 Contoh Kasus
21.C
25 Contoh Kasus
21.C
26 Contoh Kasus
8. Kesimpulan.
Hasil Clustering adalah
Cluster 1 : Siswa 1, 2, 4, 6, 7, 8,9,10, 11,12
Cluster 2 : Siswa 3 dan 5
21.C