K-Means Clustering Algorithm with Python Tutorial

preview_player
Показать описание
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.

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:

REFERENCES & LIBRARIES

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

FUNDAMENTALS OF PETROPHYSICS

PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties

WELL LOGGING FOR EARTH SCIENTISTS

GEOLOGICAL INTERPRETATION OF WELL LOGS

-----
Thanks for watching, if you want to connect you can find me at the links below:

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

#petrophysics #python #MachineLearning #unsupervised-learning
Рекомендации по теме
Комментарии
Автор

Thanks ! I am geoscientist just starting my data sciences journey and I find your videos very helpful

abdoulazizmahamadouhamidou
Автор

Your fluency and skill, simply superb! Keep it up!

letsjoinhands
Автор

Great presentation. The clearest I've seen on YouTube, to date. 👍

JeanLouisKali
Автор

That was the best explanation what i watch for KClustering thank you 😊

beyzamutlu
Автор

Excellent tutorial! Thank you very much for your time

MultiDrag
Автор

very useful thank you! I'm midway through a data analysis apprenticeship and this helped me alot!

tylerpargiter
Автор

Very nice, simple, clear and to the point. Thank you for sharing.

moaiedbetamour
Автор

Thank you! The example script is a huge help

AntonyJudeDMello
Автор

Andy - Your videos are very helpful and informative! Thank you!

bb
Автор

This was such a fantastic tutorial, thank you for putting quality content out there.

SouthwestStet
Автор

Explained this better than my professor. Big W

AaromGuillaume-erpe
Автор

Thanks buddy, your lesson helped me a lot

nekohanhanrin
Автор

Hi Andy I think you start machine learning topic and it's my favorite topic thank you 🙏🙏

mohammadkeshtkar
Автор

Amazing video you have put together here. I enjoyed how clear you were as well as the pace you took to go through the steps and explain everything. I am new to this kind of thing so does anyone have resources on where I can learn how to interpret cluster graphs

calfredie
Автор

Precise and clear👍👍plz explain naive based, Support vector machine & decision tree as well

shahzaibkhan
Автор

Thanks again for the content, Andy! You're a great teacher!

allansalles
Автор

pretty cool. I have used K-means and DBSCAN to identify electrofacies, but I am still working on a way to optimize this task.
It would be grade to see the Well Plots (depth Vs logs) with each point identified by its own cluster.

josedavidbastoaguirre
Автор

What a great tutorial, thanks a lot🥰🥰

mominabdlhamed
Автор

hi. thank you for this wonderful tutorial. where do you recommend choosing data sets from?

Moonlight
Автор

very helpful . If you could use example that can be easily understandable for non-science community would be extra helpful!!!

syifasyuhaidahazman