Simplified AI Course
Simplified AI Course
  • 42
  • 3 336
K-Means Clustering model from Scratch using Python | Step-by-Step Guide
ML models from Scratch - K-Means Clustering Implementation from Scratch with Python
“ML models from Scratch” Playlist : ua-cam.com/play/PLz6pthWWCdfR5mFMpF39dBuUueQFLZ910.html
KNN Implementation with Python from Scratch : ua-cam.com/video/RtDA-2flZrI/v-deo.html
Logistic Regression with Python from Scratch : ua-cam.com/video/I11gZvGNcyI/v-deo.html
Linear Regression with Python from Scratch : ua-cam.com/video/2-EQdSFkYLs/v-deo.html
Learn how to implement K-Means Clustering from scratch using Python in this comprehensive tutorial. K-Means Clustering is a popular unsupervised machine learning algorithm used for data clustering and segmentation.
In this video, we'll dive into the mathematics behind K-Means Clustering and implement it from scratch using Python. You'll learn how to write the K-Means algorithm from the ground up, including data preprocessing, centroid initialization, and cluster assignment.
By the end of this video, you'll have a solid understanding of how K-Means Clustering works and be able to apply it to your own machine learning projects. Whether you're a beginner or an experienced data scientist, this video is perfect for anyone looking to improve their skills in machine learning and Python programming.
🎯 Topics covered in this video:
⌨️ K-Means Algorithm : Steps
⌨️ K-Means Implementation with Python - K, Centroid initialization, cluster assignment, updating centroids, convergence.
⌨️ Plotting the clusters along with Centroids.
Resources:
🔗 Code : github.com/mohangollapalli/ml_models/tree/bec3e2f7b74eeecf2dfcab0a3855269fac33a205/KMeans
💡 Why This Video?
This tutorial is designed to help you not only code the model but also grasp the underlying concepts that power K-Means Clustering algorithm. Whether you're prepping for a data science interview or looking to build your own projects, mastering Clustering algorithms will set a strong foundation for more advanced machine learning techniques.
#kmeans #kmeansclustering #kmeansfromscratch #unsupervisedlearning #clustering #kmeanspython #mlfromscratch #datasciencetutorial #machinelearningtutorial #pythonml #clusteringalgorithm #pythonfromscratch #kmeansalgorithm #learnkmeans #datascience #mlclustering #machinelearningprojects #datascienceprojects #kmeanscode #clusteringinpython #customersegmentation
Time breaks:
00:00 Intro. & K-Means algorithm Steps
00:49 Centroid Initialization : Random Initialization.
01:37 Cluster label assignment, recompute centroids, convergence.
04:28 Dataset and data pre-processing.
06:35 Implementing Step 1, 2: Choosing K, centroid initialization.
08:05 Implementing Step 3: Assign cluster labels
14:26 Implementing Step 4, 5 and Convergence
18:51 Plotting the clusters with centroids
Make sure to subscribe and hit the notification bell to get the latest on deep learning, machine learning, and Data Science tutorials! 💻
@SimplifiedAICourse
Переглядів: 114

Відео

Logistic Regression with Python from Scratch | Step-by-Step Guide
Переглядів 319День тому
ML models from Scratch - Logistic Regression Implementation with Python. “ML models from Scratch” Playlist : ua-cam.com/play/PLz6pthWWCdfR5mFMpF39dBuUueQFLZ910.html KNN Implementation with Python from Scratch : ua-cam.com/video/RtDA-2flZrI/v-deo.html Linear Regression with Python from Scratch : ua-cam.com/video/2-EQdSFkYLs/v-deo.html Learn how to build your own logistic regression model in Pyth...
Linear Regression from Scratch with Python | Step by Step Guide
Переглядів 10614 днів тому
ML models from Scratch - Linear Regression Implementation. Watch Previous session on “KNN Implementation from Scratch with Python” : ua-cam.com/video/RtDA-2flZrI/v-deo.html Learn how to build your own linear regression model from scratch in Python with this step-by-step guide! In this video, we'll take you through the implementation of linear regression from scratch, covering the basics of line...
KNN Implementation from Scratch with Python | Step by Step Guide
Переглядів 25021 день тому
Next lesson "Linear Regression Implementation from Scratch": ua-cam.com/video/2-EQdSFkYLs/v-deo.html Normalizing the data is critical for distance based algorithms like k-NN (unless the scale of X variables is similar). Please watch our previous videos on different distance metrics for a solid understanding. Euclidean, Manhattan and Minkowski : ua-cam.com/video/0kr0xBZ4AOk/v-deo.htmlsi=bSSX7B7h...
Cross Entropy Loss | Deep Learning with PyTorch
Переглядів 3121 день тому
Welcome to our comprehensive PyTorch tutorial on Cross Entropy loss. "Deep Learning with PyTorch" full course: ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. Unlock the secrets of cross-entropy loss, a crucial concept in machine learning and deep learning! In this video, we'll break down how cross-entropy loss works, its role in optimizing neural...
Machine Learning vs Deep Learning: What's the REAL Difference?
Переглядів 86Місяць тому
Watch some of our recent deep learning videos: ua-cam.com/video/4m5KcGuOP0Q/v-deo.htmlsi=TFYtBahOPZWCcXmZ Are you confused about the differences between AI, Machine Learning and Deep Learning? In this video, we'll break down the three main differences between these two popular concepts in Artificial Intelligence. From understanding the type of problems they solve, to the complexity of models an...
Softmax Activation in PyTorch for Beginners | Deep Learning with PyTorch
Переглядів 109Місяць тому
Welcome to our comprehensive PyTorch tutorial on Softmax Activation. "Deep Learning with PyTorch" full course: ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. 🎯 Topics covered in this video: ⌨️ Sigmoid versus Softmax ⌨️ Understanding Softmax Activation: What it is and why it's important in neural networks. ⌨️ Why shouldn’t we use Sigmoid for multi...
Deep Learning with Pytorch | Logistic Regression Implementation
Переглядів 103Місяць тому
Welcome to our comprehensive PyTorch tutorial on implementing Logistic regression model using PyTorch from scratch. "Deep Learning with PyTorch" full course: ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. 🎯 Topics covered in this video: ⌨️ Background, Difference b/w Linear and logistic regression ⌨️ Data pre-processing ⌨️ Logistic regression mode...
Training a Neural Network Regression Model using PyTorch - Easy Step-by-Step Guide
Переглядів 128Місяць тому
Welcome to our comprehensive PyTorch tutorial on training a Multi-Layer Perceptron (MLP) regression model. "Deep Learning with PyTorch" full course: ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. In this video, we will guide you step-by-step through the entire process of building and training an MLP regression model using the PyTorch framework. W...
PyTorch Tutorial - MLP - Regression Model Building - Deep Learning
Переглядів 135Місяць тому
Welcome to our comprehensive PyTorch tutorial on training a Multi-Layer Perceptron (MLP) regression model. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. In this video, we will guide you step-by-step through the entire process of building and training an MLP regression model using the PyTorch frame...
PyTorch Tutorial : Dataset and DataLoader - Deep Learning
Переглядів 1272 місяці тому
Welcome to our comprehensive tutorial on PyTorch Dataset and PyTorch DataLoader. In this video, we will delve deep into the essential components of PyTorch that are crucial for mastering deep learning. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. You will learn: - What Datasets and DataLoaders ar...
Deep Learning with PyTorch - Gradient Descent, Mini-Batch GD and SGD
Переглядів 942 місяці тому
Gradient Descent, Mini-Batch GD, SGD (Deep Learning with PyTorch) | Full Deep Learning Tutorial - Beginner to advanced. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos are uploaded in a timely manner. 🚀 Key features of this series : - Watch live hands-on tutorials on UA-cam - Train models using Google Colab on GCP for free! - Build...
Deep Learning with PyTorch - Linear Regression model from scratch
Переглядів 3502 місяці тому
Linear Regression Implementation with PyTorch | Full Deep Learning Tutorial - Beginner to advanced. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html 🚀 Key features of this series : - Watch live hands-on tutorials on UA-cam - Train models using Google Colab on GCP for free! - Build an end-to-end real-world course project 2.1. Linear Regress...
Deep Learning with PyTorch - Tensor Operations
Переглядів 732 місяці тому
"Deep Learning with PyTorch" is an online full course offering a practical and coding-focused introduction to deep learning using the PyTorch framework. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos/sessions are uploaded in timely manner. - Watch live hands-on tutorials on UA-cam - Train models on GCP using Google Colab. - Build ...
Deep Learning with PyTorch - Overview of Tensors
Переглядів 1782 місяці тому
"Deep Learning with PyTorch" is an online full course offering a practical and coding-focused introduction to deep learning using the PyTorch framework. Complete "Deep Learning with PyTorch" Playlist : ua-cam.com/play/PLz6pthWWCdfRMjkzgzOVJZqVhvLk1gj9Q.html Videos/sessions are uploaded in timely manner. - Watch live hands-on tutorials on UA-cam - Train models on GCP using Google Colab. - Build ...
Deep Learning with PyTorch - Introduction
Переглядів 1942 місяці тому
Deep Learning with PyTorch - Introduction
#4. K Nearest Neighbors (KNN) - Distance Measures - Hamming Distance
Переглядів 1513 місяці тому
#4. K Nearest Neighbors (KNN) - Distance Measures - Hamming Distance
#3. K Nearest Neighbors (KNN) Distance Measures: Euclidean, Manhattan and Minkowski
Переглядів 1413 місяці тому
#3. K Nearest Neighbors (KNN) Distance Measures: Euclidean, Manhattan and Minkowski
#2. K Nearest Neighbors Algorithm (KNN) - Failure Cases
Переглядів 364 місяці тому
#2. K Nearest Neighbors Algorithm (KNN) - Failure Cases
#1. K Nearest Neighbors Algorithm (KNN) - Geometric Intuition
Переглядів 1214 місяці тому
#1. K Nearest Neighbors Algorithm (KNN) - Geometric Intuition
#3. Vector Dot Product: Linear Algebra for Machine Learning
Переглядів 305 місяців тому
#3. Vector Dot Product: Linear Algebra for Machine Learning
#2. Vector Operations: Linear Algebra for Machine Learning
Переглядів 195 місяців тому
#2. Vector Operations: Linear Algebra for Machine Learning
#1. Introduction to Linear Algebra for Machine Learning
Переглядів 305 місяців тому
#1. Introduction to Linear Algebra for Machine Learning
#5. Pandas Data Sub-setting using loc and iloc methods | Python for Data Science
Переглядів 546 місяців тому
#5. Pandas Data Sub-setting using loc and iloc methods | Python for Data Science
#4. Pandas DataFrame Indexing | Python for Data Science
Переглядів 256 місяців тому
#4. Pandas DataFrame Indexing | Python for Data Science
#3. Pandas Series | Python for Data Science
Переглядів 226 місяців тому
#3. Pandas Series | Python for Data Science
#2. Pandas DataFrames | Python for Data Science
Переглядів 186 місяців тому
#2. Pandas DataFrames | Python for Data Science
#1. Introduction to Pandas | Python for Data Science
Переглядів 216 місяців тому
#1. Introduction to Pandas | Python for Data Science
#14. Strings - Indexing & Formatting
Переглядів 196 місяців тому
#14. Strings - Indexing & Formatting
#13. Strings in Python
Переглядів 156 місяців тому
#13. Strings in Python

КОМЕНТАРІ

  • @swethakiran-b3l
    @swethakiran-b3l 9 днів тому

    Thank you sir, for clearly explaining the steps.

  • @Leonidus_Singh
    @Leonidus_Singh 22 дні тому

    Thank you! Your step-by-step explanation is clear and concise. It was helpful!

  • @TechyGnome
    @TechyGnome 24 дні тому

    Thank you sir!

  • @HarishNaidu-k7r
    @HarishNaidu-k7r 27 днів тому

    can you share the code?

  • @carteiraricaeducacaoeinter3882
    @carteiraricaeducacaoeinter3882 Місяць тому

    why did you call it regression???

    • @SimplifiedAICourse
      @SimplifiedAICourse Місяць тому

      we called it regression as our target is continuous. Pls refer to our previous videos in the playlist where we created customDataset. we are using the same here.

    • @carteiraricaeducacaoeinter3882
      @carteiraricaeducacaoeinter3882 Місяць тому

      @@SimplifiedAICourse thank you

  • @kishore.singh0098Singh
    @kishore.singh0098Singh Місяць тому

    Clearly understood.

  • @sudiptadas6261
    @sudiptadas6261 Місяць тому

    As a masters student, I can vouch this material is gold. Thankyou Sir

  • @swethakiran-b3l
    @swethakiran-b3l Місяць тому

    Thanks for this video. Do you have any video for running code using GPUs?

    • @SimplifiedAICourse
      @SimplifiedAICourse Місяць тому

      @@swethakiran-b3l we got that in one of our upcoming videos.

  • @HarishNaidu-k7r
    @HarishNaidu-k7r Місяць тому

    Great playlist so far.

  • @HarishNaidu-k7r
    @HarishNaidu-k7r Місяць тому

    MLP implementation clearly explained. Thank you!

  • @rajeshkumarp-s1o
    @rajeshkumarp-s1o Місяць тому

    thank you for this.

  • @rajeshkumarp-s1o
    @rajeshkumarp-s1o Місяць тому

    Great explanation

  • @najmahmed
    @najmahmed Місяць тому

    Kudos! simple yet very effective explanation.

  • @anshikakhandelwal_
    @anshikakhandelwal_ 2 місяці тому

    Hello, thank you for the amazing video. However the link to the code is not working.

  • @anshikakhandelwal_
    @anshikakhandelwal_ 2 місяці тому

    Amazing videos and great explanation. Thank you.

  • @SimplifiedAICourse
    @SimplifiedAICourse 5 місяців тому

    Check out our ‘Applied AI/ML Course’ : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our ‘Applied AI/ML Course’ : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our ‘Applied AI/ML Course’ : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our ‘Applied AI/ML Course’ : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/

  • @SimplifiedAICourse
    @SimplifiedAICourse 6 місяців тому

    Check out our 'Applied AI/ML Course' : simplifiedailabs.com/