K-Means Clustering Algorithm with Python Tutorial
Andy McDonald Andy McDonald
7.9K subscribers
83,616 views
0

 Published On Nov 17, 2021

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

show more

Share/Embed