Page 8 - E Modul Data Analytics
P. 8
Data Analytics
Gambar 7. 7 Import Data Latih dari Direktori ............................................................................... 88
Gambar 7. 8 Mengubah Tipe Data ............................................................................................... 89
Gambar 7. 9 Proses Format Tipe Data ........................................................................................ 89
Gambar 7. 10 Proses Import Data Uji .......................................................................................... 90
Gambar 7. 11 Proses Import Fungsi/Model Algoritma Naïve Bayes ........................................... 90
Gambar 7. 12 Proses Apply Model Data Latih ............................................................................. 91
Gambar 7. 13 Proses Pengkuran Performance ........................................................................... 91
Gambar 7. 14 Proses Penghubungan semua elemen dan operator ........................................... 92
Gambar 7. 15 Proses Klasifikasi dan Analisis Dataset ................................................................ 92
Gambar 7. 16 Hasil Klasifikasi dan Analisis ................................................................................. 92
Gambar 7. 17 Hasil Visualisasi Klasifikasi dan Analisis Performance Dalam Bentuk Plot View 93
Gambar 7. 18 Hasil Performance Vector ..................................................................................... 93
Gambar 7. 19 Hasil Klasifikasi dan Analisis Performance Dengan Plot View ............................. 94
Gambar 7. 20 Hasil Klasifikasi dan Analisis Performance Dengan Statistics View .................... 94
Gambar 8. 1 K-Means Clustering ................................................................................................. 97
Gambar 8. 2 Diagram alir dari algoritma Clustering K-Means ..................................................... 98
Gambar 8. 3 Perbedaan metode single linkage, complete linkage, average linkage ................. 99
Gambar 8. 4 Grafik Cluster iterasi 1 ........................................................................................... 111
Gambar 8. 5 Grafik Cluster iterasi 2 ........................................................................................... 117
Gambar 8. 6 New Process untuk Import Data Excel ................................................................. 117
Gambar 8. 7 Proses Import Data Step 1 .................................................................................... 118
Gambar 8. 8 Proses Import Data Step 2 .................................................................................... 118
Gambar 8. 9 Proses Import Data Step 3 .................................................................................... 119
Gambar 8. 10 Proses Import Data Step 4 .................................................................................. 119
Gambar 8. 11 Read Excel berhasil di import ............................................................................. 120
Gambar 8. 12 Memanggil Algoritma K-Means ........................................................................... 120
Gambar 8. 13 Menghubungkan Read Excel dengan K-Means ................................................. 121
Gambar 8. 14 Hasil Clustering menggunakan K-Means ........................................................... 121
Gambar 8. 15 Hasil Grafik Clustering pada Plot View ............................................................... 122
Gambar 8. 16 Hasil Cluster jumlah kunjungan wisatawan Mancanegara ................................. 123
Gambar 9. 1 Import data ............................................................................................................. 131
Gambar 9. 2 My computer .......................................................................................................... 131
Gambar 9. 3 Tempat penyimpanan data transaksi .................................................................... 132
Gambar 9. 4 Data transaksi ........................................................................................................ 132
viii