Тёмный

K-Means Clustering From Scratch in Python (Mathematical) 

NeuralNine
Подписаться 357 тыс.
Просмотров 31 тыс.
50% 1

In this video we implement K-Means clustering from scratch. We look at the theory and the mathematics behind it and then we use NumPy to put it into code.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
Timestamps:
(0:00) Intro
(0:17) Theory & Math Background
(7:21) Coding K-Means From Scratch
(32:37) Outro

Наука

Опубликовано:

 

31 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@pitaeata8493
@pitaeata8493 Год назад
this is great, thank you. it feels good to understand something and be a little closer to understanding machine learning or how to use it properly.
@AlexandLupand
@AlexandLupand 9 месяцев назад
I'm glad I found this tutorial!
@linusolmin9313
@linusolmin9313 2 месяца назад
Thank you very much!
@SeziManuhutu
@SeziManuhutu 5 месяцев назад
your explanation is great. but i want to ask, what if we want to know what data is move to different cluster. like at first the data is in 0 cluster but then after that it's move to the other group. how do we know the number of data that is move to another cluster?
@tcgvsocg1458
@tcgvsocg1458 Год назад
really interesting
@Hickssama
@Hickssama 4 месяца назад
Thank you sir
@user-gk5bz6vd9j
@user-gk5bz6vd9j Год назад
hi i am getting this error can you tell how to solve it ValueError: 'c' argument has 200 elements, which is inconsistent with 'x' and 'y' with size 100.
@bijayamanandhar3890
@bijayamanandhar3890 8 месяцев назад
It's a great tutorial. Beside everything, I just didn't understand why and how it was assumed to have 3 centroids for the example dataset where as you assumed the dataset has no label (unsupervised). Appreciate if you can elaborate. Thanks,
@NeuralNine
@NeuralNine 8 месяцев назад
The number of centroids is the same as the number of clusters. You can either just pick one or you can use techniques to find the "optimal" or at least a good number of clusters. I have a video about this on my channel.
@Ali110.69
@Ali110.69 5 месяцев назад
Hello, I had a question, I wanted to know if I want to work in machine learning or data science, I must use Anaconda and Jumper Lab or can I use Pycharm? I asked this question to many people and they said I should work in Jupyter Lab I can't get along with its environment. I can work inside pycharm or vscode. Your answer can help me a lot. Thank you
@user-ti6zf5mj4x
@user-ti6zf5mj4x 4 месяца назад
Better use VS code to have a JN architecture, and if it creates issues, you may use Pycharm!
@sekiro_19
@sekiro_19 3 месяца назад
use Jupiter notebook
@Larzsolice
@Larzsolice 11 месяцев назад
I take random points from my data as initial centroids, less computations since you only need the set a random integers for indices.
@bibekmaharjan8969
@bibekmaharjan8969 8 месяцев назад
Can you share the code for it
@Larzsolice
@Larzsolice 8 месяцев назад
@bibekmaharjan8969 not sure how here, but the Python random package has a random.choice() or something like that. You can use the data points as the iterable and choose k of them randomly like that.
@bibekmaharjan8969
@bibekmaharjan8969 8 месяцев назад
@@Larzsolice alright. Thanks a ton
@neevpenkar4955
@neevpenkar4955 21 день назад
Beautiful Video! If I plan to reuse this code, is this code licensed by you (or anybody else)?. If I reuse it I will post a link to this video but I wanted to be on the safer side!
@aravindputtapaka5147
@aravindputtapaka5147 Год назад
I want a python code to convert handwritten image into plain text with accurate i have tried buti didnt got you can try it and show it me sir and plz respond to this comment bcz i am searching for this very curiosly...
@AnmolKumar-so8lh
@AnmolKumar-so8lh 4 месяца назад
use OCR(optical charcter recognation) for that using ocr you can extract text from the image
@philtoa334
@philtoa334 Год назад
Thx_.
Далее
Linear Regression From Scratch in Python (Mathematical)
24:38
Штаны легионера
00:44
Просмотров 324 тыс.
🛑 до конца!
00:12
Просмотров 68 тыс.
K-means & Image Segmentation - Computerphile
8:27
Просмотров 295 тыс.
Decision Tree Classification in Python (from scratch!)
17:43
StatQuest: K-means clustering
8:31
Просмотров 1,6 млн
How to implement K-Means from scratch with Python
23:42
Clustering with DBSCAN, Clearly Explained!!!
9:30
Просмотров 291 тыс.
Income Prediction Machine Learning Project in Python
38:19