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-use-unsupervised-learning-to-cluster-well-log-data-using-python-a552713748b5
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_YouTube_Notebooks
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-2020-Machine-Learning-competition
Competition Results: https://www.npd.no/en/force/Previous-events/results-of-the-FORCE-2020-lithology-competition/
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: https://www.youtube.com/channel/UCn1O_4_ApzbYwrsUdRoMmOg?sub_confirmation=1
-----
Thanks for watching, if you want to connect you can find me at the links below:
https://andymcdonaldgeo.medium.com/
https://twitter.com/geoandymcd
https://www.linkedin.com/in/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/2ca286e572
#petrophysics #python #MachineLearning #unsupervised-learning