K-Means Clustering Algorithm with Python Tutorial

Published: 17 November 2021
on channel: Andy McDonald
106,139
2.3k

K-Means clustering is a popular unsupervised machine learning algorithm that is commonly used in the exploratory data analysis phase of a project. It groups data together into clusters based on similarities within the data. In this tutorial, we will go through the basics of running a k-means algorithm on well log data.

My Medium article this video is based on. Check it out as it contains more examples and extra plots.
https://towardsdatascience.com/how-to...

Timestamps:
0:00 Introduction
0:53 K-Means Clustering Theory
2:56 Jupyter Notebook Loading Data & Importing Libraries
5:53 Applying a Standard Scaler
8:27 Identifying Optimum Number of Clusters - Elbow Plot
11:20 Appling K-Means Clustering Algorithm
12:55 Plotting K-Means Clustering Results on a Scatter Plot
14:25 Comparing Results from Multiple K Values
18:40 Other Clustering Methods & Outro

DOWNLOAD NOTEBOOK & DATA
Data and notebooks for my entire YouTube series can now be found here:
https://github.com/andymcdgeo/Andys_Y...

REFERENCES & LIBRARIES
Force 2020 Competition Github: Bormann P., Aursand P., Dilib F., Dischington P., Manral S. 2020. FORCE Machine Learning Competition. https://github.com/bolgebrygg/Force-2...

Competition Results: https://www.npd.no/en/force/Previous-...

Books I Recommend:
As an Amazon Associate I earn from qualifying purchases. By buying through any of the links below I will earn commission at no extra cost to you.

PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
UK: https://amzn.to/3HNycJ9
US: https://amzn.to/3DL7qPv

FUNDAMENTALS OF PETROPHYSICS
UK: https://amzn.to/3l1PgSf

PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: https://amzn.to/30UNWZS
US: https://amzn.to/3DNqBbd

WELL LOGGING FOR EARTH SCIENTISTS
UK: https://amzn.to/3FHsbfn
US: https://amzn.to/3CILAuE

GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: https://amzn.to/3l2v2HV
US: https://amzn.to/30UOTkU

If you haven't already, make sure you subscribe to the channel:    / @andymcdonald42  
-----
Thanks for watching, if you want to connect you can find me at the links below:

  / andymcdonaldgeo  
  / geoandymcd  
  / andymcdonaldgeo  
https://www.andymcdonald.scot/

Be sure to sign up for my newsletter to be kept updated when I post and share new content on YouTube and Medium.

https://fabulous-founder-2965.ck.page...


#petrophysics #python #MachineLearning #unsupervised-learning


On this page of the site you can watch the video online K-Means Clustering Algorithm with Python Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Andy McDonald 17 November 2021, share the link with friends and acquaintances, this video has already been watched 106,139 times on youtube and it was liked by 2.3 thousand viewers. Enjoy your viewing!