Java Zone

Pemrograman java, Perulangan Java, Operator java, Thread Java, Makalah Filsafat Ilmu, Makalah Teologi dan lain lain

Powered by Blogger.

Contoh Perhitungan Manual Penerapan Metode K Means Klastering Datamining


Apa itu metode clustering pada data mining ?
     Metode K-Means Clustering digunakan dalam data mining untuk mengelompokan data-data kedalam cluster atau beberapa kelompok berdasarkan suatu kemiripan variabel atau atribut data.

Algoritma Metode K Means Clustering

Algoritma Metode K Means Clustering
Algoritma Flowchart Metode Klastering K Means
Langkah- Langkah perhitungannya adalah:
1. Menentukan Jumlah cluster data
2. Tentukan titik pusat cluster
3. menghitung jarak obyek dengan centroid
4. kelompokan obyek 
5. jika kelompok data hasil perhitungan baru sama dengan hasil perhitungan kelompok data baru maka selesailah perhitungannya.



            Dalam tahap ini akan dijelaskan langkah-langkah pengoperasian algoritma K-Means secara manual:
Diketahui : Jumlah Cluster = 3,
jumlah data =12,
jumlah atribut= 2




NO
Kota /Kab
Luas Lahan
Produksi
1
Kab. Ponorogo
66,693.00
402,047.00
2
Kab. Trenggalek
31,136.00
182,848.00
3
Kab. Tulungagung
49,230.00
259,581.00
4
Kab. Blitar
50,577.00
289,494.00
5
Kab. Kediri
51,083.00
281,392.00
6
Kab. Malang
65,597.00
464,498.00
7
Kab. Lumajang
72,552.00
387,168.00
8
Kab. Jember
162,619.00
964,001.00
9
Kab. Banyuwangi
113,609.00
706,419.00
10
Kab. Bondowoso
61,330.00
329,557.00
11
Kab. Situbondo
48,902.00
290,954.00
12
Kab. Probolinggo
59,130.00
311,258.00
Tabel 2 : Tabel Sampel Dataset Padi tahun 2013 Provinsi Jawa Timur
Iterasi ke-1
1.      Penentuan pusat awal cluster
Di ambil data ke-8 sebagai pusat cluster ke-1  
162,619
964,001
Di ambil data ke-7 sebagai pusat cluster ke-2    
72,552
387,168
Di ambil data ke-2 sebagai pusat cluster ke-3    
31,136
182,848

2.      Perhitungan Jarak Pusat Cluster
Untuk mengukur jarak antara dengan pusat Cluster digunakan Euclidian Distance, kemudian akan didapatkan matriks jarak yaitu C1, C2 dan C3 sebagai berikut:


Rumus Euclidian Distance: 

NO
Kota /Kab
Luas Lahan
Produksi
C1
C2
C3
Jarak Terpendek
1
Kab. Ponorogo
66,693
402,047
570,082534
15,99101
222,0642
15,99101379
2
Kab. Trenggalek
31,136
182,848
792,1412681
208,4753
0
0
3
Kab. Tulungagung
49,23
259,581
713,4876325
129,701
78,83747
78,83746651
4
Kab. Blitar
50,577
289,494
683,7492982
100,1155
108,4035
100,1154878
5
Kab. Kediri
51,083
281,392
691,6612799
107,9328
100,5425
100,542542
6
Kab. Malang
65,597
464,498
508,8383982
77,64213
283,7504
77,6421337
7
Kab. Lumajang
72,552
387,168
583,8222113
0
208,4753
0
8
Kab. Jember
162,619
964,001
0
583,8222
792,1413
0
9
Kab. Banyuwangi
113,609
706,419
262,2031022
321,8802
530,0268
262,2031022
10
Kab. Bondowoso
61,33
329,557
642,4785216
58,69379
149,7839
58,69378677
11
Kab. Situbondo
48,902
290,954
682,5861267
99,07803
109,5561
99,07803135
12
Kab. Probolinggo
59,13
311,258
660,8959049
77,08747
131,426
77,08747099

3.     Pengelompokan Data
Jarak hasil perhitungan akan dilakukan perbandingan dan dipilih jarak terdekat antara data dengan pusat cluster, jarak ini menunjukkan bahwa data tersebut berada dalam satu kelompok dengan pusat cluster terdekat.
Berikut ini akan ditampilkan data matriks pengelompokkan group, nilai 1 berarti data tersebut berada dalam group(kelompok data).


(Kelompok Data 1)
No.
C1
C2
C3
1

1

2


1
3


1
4

1

5


1
6

1

7

1

8
1


9
1


10

1

11

1

12

1



4.      Penentuan pusat cluster baru
Setelah diketahui anggota tiap-tiap cluster kemudian pusat cluster baru dihitung berdasarkan data anggota tiap-tiap cluster sesuai dengan rumus pusat anggota cluster. Sehingga didapatkan perhitungan sebagai berikut :
NO
Kota /Kab
Luas Lahan
Produksi
Cluster Baru
C1
C2
C3
1
Kab. Ponorogo
66,693
402,047
138,114
60,683
43,81633
2
Kab. Trenggalek
31,136
182,848
835,21
353,568
241,2737
3
Kab. Tulungagung
49,23
259,581



4
Kab. Blitar
50,577
289,494



5
Kab. Kediri
51,083
281,392



6
Kab. Malang
65,597
464,498



7
Kab. Lumajang
72,552
387,168



8
Kab. Jember
162,619
964,001



9
Kab. Banyuwangi
113,609
706,419



10
Kab. Bondowoso
61,33
329,557



11
Kab. Situbondo
48,902
290,954



12
Kab. Probolinggo
59,13
311,258




Iterasi ke-2
5.      Ulangi langkah ke 2 (kedua) hingga posisi data tidak mengalami perubahan.

Cluster baru yang ke-1
138,114
835,21

Cluster baru yang ke-2
60,683
353,568

Cluster baru yang ke-3
43,81633333
241,2736667

NO
Kota /Kab
Luas Lahan
Produksi
C1
C2
C3
Jarak Terpendek
1
Kab. Ponorogo
66,693
402,047
439,0116
48,85011
162,3928
48,85011301
2
Kab. Trenggalek
31,136
182,848
661,0752
173,258
59,78586
59,7858627
3
Kab. Tulungagung
49,23
259,581
582,451
94,68224
19,091
19,09099894
4
Kab. Blitar
50,577
289,494
552,6922
64,86608
48,69196
48,69196197
5
Kab. Kediri
51,083
281,392
560,6146
72,81164
40,77113
40,77113089
6
Kab. Malang
65,597
464,498
377,7381
111,0388
224,2844
111,0387873
7
Kab. Lumajang
72,552
387,168
452,8134
35,63472
148,6973
35,63471848
8
Kab. Jember
162,619
964,001
131,1016
618,8856
732,4267
131,1015511
9
Kab. Banyuwangi
113,609
706,419
131,1016
356,7982
470,3522
131,1015511
10
Kab. Bondowoso
61,33
329,557
511,4496
24,01972
90,00375
24,01971544
11
Kab. Situbondo
48,902
290,954
551,5192
63,71268
49,93996
49,93995921
12
Kab. Probolinggo
59,13
311,258
529,8718
42,33849
71,64018
42,33849205

Langkah selanjutnya sama dengan langkah pada nomor 3 jarak hasil perhitungan akan dilakukan perbandingan dan dipilih jarak terdekat antara data dengan pusat cluster, jarak ini menunjukkan bahwa data tersebut berada dalam satu kelompok dengan pusat cluster terdekat.


Kelompok Data 2


No.
C1
C2
C3
1

1

2


1
3


1
4


1
5


1
6

1

7

1

8
1


9
1


10

1

11


1
12

1



Pada perhitungan ini Iterasi Berhenti pada iterasi ke-4 karena kelompok data 4 = kelompok data 3 dan hasil Clustering, telah mencapai stabil dan konvergen. Untuk perhitungan yang lebih rinci di lampirkan pada file Excel.
No.
C1
C2
C3
1

1

2

1

3

1

4

1

5

1

6

1

7

1

8
1


9


1
10

1

11

1

12

1

Tabel Kelompok data 3

No.
C1
C2
C3
1

1

2

1

3

1

4

1

5

1

6

1

7

1

8
1


9


1
10

1

11

1

12

1

 Tabel Kelompok Data 4

Untuk Lebih Jelasnya bisa di pelajari hitungan secara manual algoritma klastering k means untuk data mining pada file microsoft excel yang saya upload di link ini  
DOWNLOAD FILE

Link Lain nya 



Penjelasan Om Romi di video ini juga akan sangat membantu dalam memahami Data mining dan metode-metode nya, kapan di gunakan setiap metode nya dan lain-lain beserta contoh penerapan setiap metode nya. 


Bagikan :
+
Previous
Next Post »
78 Komentar untuk "Contoh Perhitungan Manual Penerapan Metode K Means Klastering Datamining"

fil excell nya gabisa di download, link mati

Link Download Sudah saya Update

terimakasih sudah berkunjung :D

file excell literasi 2 kok gk ada gan, boleh minta ?

saya masih belum bisa mendownload file exel nya... bisa dibantu??

saya juga masih belum bisa mendownload file tersebut, mohon bantuannya, ini menyangkut skripsi saya :')

saya mau nanya, kenapa untuk menentukan titik awan atau nilai awal cluster yang 1 itu dari data yang ke 7? mohon penjelasannya. terimakasih.

Link Download sudah saya update

This comment has been removed by the author. - Hapus
This comment has been removed by the author. - Hapus

mas ini sumber datanya dari mana?
ada Jurnalnya apa tidak? ..
makasih ...

Data yang saya ambil dari Open data indonesia

http://data.go.id/

terimakasih penjelasan nya dan file excel nya sangat membantu bagi saya yang sedang mempelajari algoritma ini

Ijin sedot artikel nya gan, terimakasih . Sangat bermanfaat .

Thanks a lot very much for the high quality and results-oriented help. I won't think twice to endorse, your blog is supportive of this area.
Best Training and Real Time Support

Android Training From India

Appium Training From India

The QuickBooks Payroll has many awesome features that are good enough when it comes to small and middle sized business. QuickBooks Payroll also offers a dedicated QuickBooks Payroll Support Phone Number which include specialized features for accountants also.

Either it really is day or night, we offer hassle-free tech support team for QuickBooks and its particular associated software in minimum possible time. Our dedicated technical team is present to help you to 24X7, 365 days per year to be sure comprehensive support and services at any hour. We assure you the fastest solution on most your QuickBooks Tech Support software related issues.

Our customer service executives have significant amounts of experience and so are sharp along with QuickBooks Enterprise Tech Support Number finding out the particular cause and optimal solution each and every error that you could face. Contact us anytime for our uninterrupted support even as we are available 24*7for your help.

You could get resolve all the major issues include installations problem, data access issue, printing related issue, software setup, server not responding error etc with this QuickBooks Technical Support Phone Number.

Payroll management is truly an essential part these days. Every organization has many employees. Employers need to manage their pay. The yearly medical benefit is important. The employer has to allocate. But, carrying this out manually will require the time. Strive for QuickBooks 24/7 Payroll Support Phone Number USA.

Our support also also includes handling those errors that always occur when your type of QuickBooks has been infected by a malicious program like a virus or a spyware, which could have deleted system files, or damaged registry entries. Moreover, our QuickBooks Enterprise Tech Support Team also handle any type of technical & functional issue faced during installation of drivers for QB Enterprise; troubleshoot every other glitch which will arise in this version or the multi-user one. QuickBooks Enterprise is a highly advanced software suit that provides you more data handling capacity, more advanced and improved inventory management features and support for handling multiple entities at the same time. This software suit is ideal for businesses that have outgrown the entry level accounting software requirements consequently they are now interested in something more powerful and more feature rich to address more business functions in a much lesser time.

However if you are in hurry and business goes down because of the QB error you can easily ask for Quickbooks Consultants or Quickbooks Proadvisors . If you want to check with the QuickBooks experts than AccountsPro QuickBooks Customer Service Number is for you !

It is terribly frustrating, to say the smallest amount when you face one such error. Errors hamper the work pace however additionally disturb your mental peace. QuickBooks Support Number specialists take most of the errors terribly seriously and they will fix all the errors.


QuickBooks Enterprise Support Number really is a crucial situation where immediate attention is needed along with little delay or negligence may result in monitory loss, production time loss and hence productivity loss.

If you would like any help for QuickBooks errors from customer service to obtain the way to these errors and problems, it really is an easy task to have of QuickBooks Help & Support and discover instant help with the guidance of your technical experts.

At QuickBooks Technical Support you'll find solution each and every issue that bothers your projects and creates hindrance in running your organization smoothly. Our team is oftentimes willing to permit you to while using the best support services you could possibly ever experience.

With exceptional features QuickBooks Tech Support Phone Number most of the forms of businesses with generating accounting reports, entries for every sale, transactions associated with banking, etc., with a lot of ease. And along with support for QuickBooks, it really is a lot easier to carry out most of the tools of QuickBooks in a hassle-free manner. Below is a listing of several QuickBooks errors that you could speak to if you're using it. Have a glimpse at it quickly.

The QuickBooks Tech Support Phone Number executives may also provide remote assistance under servers which can be highly secured and diagnose the issue within minutes of that time period.

With QuickBooks Help & Support you can easily easily easily effortlessly create invoices and keep close monitoring of all things like exacltly what the shoppers bought, simply how much they paid etc. In addition it enables you to have a crystal-clear insight of one's business which will help someone to monitor your cash, taxes along with sales report, everything at one place.

This might be completely a toll-free QuickBooks Support Phone Number client Service variety that you won’t pay any call charges. Of course, QuickBooks is certainly one among the list of awesome package within the company world. The accounting area of the many companies varies according to this package.

The Quickbooks Support Number can take in every style of queries linked to installing a specific form of QuickBooks software, to learn about the newly available subscription plans, backing up data, fixing errors with a saved QOB file and even more.

You can use QuickBooks to come up with any selection of reports you wish, keeping entries for several sales, banking transactions and plenty of additional. QuickBooks Support Phone Number provides a myriad of options and support services for an equivalent. it is commonplace to manage any errors on your own QuickBooks if you're doing not proceed with the syntax, if the code is not put in properly or if you’re having any corruption within the information of the QuickBooks.

The QuicKbooks Customer Support Phone Number lets a company make use of their QuickBooks data to create an interactive report that can help them gain better insight into their business growth that were made in recent times. This type of advanced levels of accounting has various benefits; yet, certain glitches shall make their presence while accessing your QuickBooks data.

It really is specially developed when it comes to wholesale, contract, nonprofit retail, and related industries. QuickBooks Enterprise Support telephone number is preferred for users to provide you with intuitive accounting strategy to SMEs running enterprise kind of QuickBooks.

QuickBooks Payroll, QuickBooks is becoming a dependable accounting software that one may tailor depending on your industry prerequisite. In addition to it, our QuickBooks Support Phone Number customer care telephone number will bring in dedicated and diligent back-end helps for your needs for if you find any inconveniences in operating any of these versions.

Complete Tax Forms: The Enhanced QuickBooks Payroll Tech Support Number Version has got the feature of filling in the tax forms automatically. An individual needs to simply take a print out of the form.

When you are getting annoying errors in your QuickBooks application and you’re not able to repair them, don’t lose yourself. Any QuickBooks errors can be fixed at our toll-free helpline through our Intuit’s QuickBooks Support Number ProAdvisors.

You'll need never to worry most likely as you are seeking help beneath the guidance of supremely talented and skilled support engineers that leave no stone unturned to land you of all of the errors which are part and parcel of QuickBooks Technical Support Phone Number.

The post is very informative. Thank you so much for making it so simple. Thank you for sharing such a quality post and keep sharing more. Easily manage your file with QuickBooks accounting software. Just in case you confront any issue, dial QuickBooks Payroll Support Phone Number +1-844-200-2627 and avail answer to all your queries.

permisi admin.
Bagi mahasiswa yang perlu source code php, natif maupun framework bermetode AHP, SAW, Smart, Topsis, Fuzzy Logic, K-Means, Bayes dan lain-lain bisa kunjungi situ saya di :
https://code-skripsi.blogspot.com/

Terima kasih

sangat bermanfaat sekli artikelnya mas..
sya sedang belajar algoritma ini..

mau nanay, link download excell nya kok gk bisa yah mas.? bisa dibantu.?

Runtime Error 9999 happens when QuickBooks fails or crashes whilst it’s running, hence its name. It doesn’t necessarily mean that the code was corrupt in some way, but just so it would not work during its run-time. This sort of error will be as an annoying notification on the screen unless handled and corrected. Listed below are symptoms, causes and methods to troubleshoot the issue. If you would like to learn how to Resolve Quickbooks Error 9999, you can continue reading this blog. If you would like to learn how to Resolve Quickbooks Error 9999, you can continue reading this blog.

These minimal information and facts will be built coupled with numerous track record information and facts. I favor this significantly.good work guys.
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

It is an informative blog. I would like to know more information about the new model bike. Anyway thanks a lot for sharing this post. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervour like mine to grasp great deal more around this condition.
Data Science Training In Chennai

Data Science Online Training In Chennai

Data Science Training In Bangalore

Data Science Training In Hyderabad

Data Science Training In Coimbatore

Data Science Training

Data Science Online Training

I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.

I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community. data science courses

hallo. terimakasih, artikel anda sangat membantu :)))
kalau pakai 4 cluster rumus logika di excel bagaimana yaaa?

This is my first time I visit here. I found so many engaging stuff in your blog, particularly its conversation. From the huge loads of remarks on your articles, I surmise I am by all account not the only one having all the recreation here! Keep doing awesome. I have been importance to compose something like this on my site and you have given me a thought. data scientist training and placement

Hello Yorkies From Elvis Yorkshire Terrier - Specializing in Teacup Yorkies
We are small breeders whose goal is to produce healthy, high quality little teacup size Yorkie puppies for sale. In order to have puppies for sale most of the time we have teamed up with a couple of other Yorkie breeders that have the same goals in mine. In fact we have some of their Yorkie breeders and they have some of our breeders.
yorkies for sale, teacup yorkie puppies for sale, Yorkie puppies for sale, yorkie for sale, teacup yorkies for sale, yorkie puppy for sale

Very good message. I came across your blog and wanted to tell you that I really enjoyed reading your articles.

Data Scientist Course Syllabus

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place..
data analytics course in hyderabad

Fantastic blog. Really an awesome blog. Informative and knowledgeable content. Keep sharing more stuff like this. Thank you.
Data Science Courses in Hyderabad

Amazing post. Informative and knowledgeable content. Keep sharing more stuff like this. Thank you.
Data Science Training in Hyderabad

Wonderful blog. I am delighted in perusing your articles. This is genuinely an incredible pursuit for me. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome!
data analytics courses in hyderabad with placements

Very nice blog. Keep writing. Turkish evisa is a legalized entry Permit which is connected to the person’s passport that allows one to enter into Turkey for touristic purposes and many other purposes.

This page has a lot of useful details. Check out our Instagram Reels Downloader, one of the best solutions in this category.

This comment has been removed by the author. - Hapus

I appreciate the valuable information you shared regarding B.com degree colleges in Hyderabad. Thank you!
Degree Colleges in Hyderabad For B.com


"Amazing blog post. Thank you for sharing this information. We'd like to introduce you to our online Cisco certification courses you can learn online with UniNets and for Cisco exams and job roles. For more details, you can visit our website.
Palo Alto networks

When it comes to pursuing a career in the stream of MEC, choosing the Best MEC Colleges in Hyderabad can make all the difference. If you’re looking for the Best MEC Colleges in Hyderabad then look no further than CMS. We are proud to be one of the top Intermediate Colleges for MEC In Hyderabad and we have a lot to offer our students.

Best MEC college for in Hyderabad

Are you a Chartered Accountant (CA) aspirant looking for the best CA coaching to help you get benchmark results in the examination of CA? Look no further! CMS for CA offers the Best CA Coaching in Hyderabad with expert training and guidance to help learners crack their CA exams with flying colors.
Best CA Coaching Institutes in Hyderabad

This comment has been removed by the author. - Hapus


Great writing! You have a flair for informational writing. Your content has impressed me beyond words. I have a lot of admiration for your writing. Thank you for all your valuable input on this topic.
Sap Sd Training In Hyderabad

Amazing article. information that is educational and informative. Share more information like this. I'm grateful.
CMA Colleges in Hyderabad

"Amazing blog post. Thank you for sharing this information. We'd like to introduce you to our online Cisco certifi메인cation courses you can learn online with UniNets and for Cisco exams and job roles. For more details, you can visit our website

Thanks For Sharing This. Take advantage of Infycle Technologies' Java Training in Chennai to start a life-changing adventure! Learn the nuances of Java, the language that controls the digital world, and advance your coding skills. Our dynamic learning environment and expert-led courses will give you the skills that today's tech industry demands. Through practical projects, interactive lessons, and real-time applications, realise your full potential. Become a part of a lively learning community and see your dreams of learning to code come true. With our extensive Java training, where innovation and knowledge collide, you can ignite your career. Become a future programmer architect by enrolling now! Give us a call at +91-7502633633 or +91-7504633633 to learn more.

 
Copyright © 2015 Java Zone - All Rights Reserved
Template By Kunci Dunia
Back To Top