Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Introduction to Unsupervised Learning and Clustering
New
6 students

Introduction to Unsupervised Learning and Clustering

Clustering by hand (K-means, K-means++, DBSCAN, GMM) and an autoencoder in PyTorch, explained in Arabic
Last updated 11/2026
Arabic

What you'll learn

  • Five real uses of clustering on data without labels
  • Run K-means and K-means++ by hand and explain where they fail
  • Label core, border and noise points with DBSCAN and grow its clusters
  • Fit a Gaussian Mixture Model with the E-step and M-step by hand
  • Build, train and test an autoencoder in PyTorch and read its latent space

Course content

2 sections • 8 lectures • 1h 37m total length
  • Why Clustering? 5 Real Uses7:33
  • K-means: Worked Example, Equations and Where It Fails19:12
  • K-means++: Choosing the Starting Centres Step by Step10:49
  • DBSCAN: Core, Border and Noise Points12:17
  • Gaussian Mixture Models (GMM): E-step and M-step by Hand18:31

Requirements

  • Basic Python
  • Basic maths: vectors, distances, mean and variance
  • PyTorch helps for the last section but is not required

Description

الكورس ده مقدمة عملية للـ Unsupervised Learning: إزاي نلاقي الـ patterns في داتا مفيهاش labels، وإزاي نفهم كل method من جوه بدل ما ننادي function جاهزة وخلاص.

بنبدأ بسؤال مهم: ليه أصلا نعمل clustering؟ وبعدين بنحل كل method بالإيد خطوة بخطوة بأمثلة محلولة بالأرقام، عشان تعرف هي بتعمل إيه بالظبط، وبتنجح إمتى، وبتفشل فين، وتقدر تختار الـ method المناسبة للداتا اللي قدامك.

هتتعلم في الكورس ده:

  • خمس استخدامات حقيقية للـ clustering: الضغط، الـ patterns، الـ anomalies، الـ features، والـ cluster then label

  • الـ K-means بمثال محلول جولة بجولة، والـ objective بتاعه وليه بيقل كل جولة، وبيفشل فين

  • الـ K-means++ algorithm: إزاي بيختار نقط البداية بالاحتمالات، بجدول محلول

  • الـ DBSCAN: الـ core والـ border والـ noise points، وإزاي الـ cluster بيكبر، وإمتى بينجح لما الـ K-means يفشل

  • الـ Gaussian Mixture Models: الـ E-step والـ M-step بالأرقام، وحدود الـ method

  • الـ Autoencoder بـ PyTorch: الـ architecture، والـ forward pass، والـ training loop على MNIST، والـ latent space

الكود بتاع الـ Autoencoder موجود للتحميل مع المحاضرات بنسختين: Autoencoder عادي و Convolutional Autoencoder، كملف Python وكمان notebook تقدر تفتحها وتشغلها على Google Colab على طول وتجرب بنفسك وتشوف الـ latent space بعينك.

المحاضر: د. محمود عبد اللاهي، عضو هيئة تدريس بجامعة القاهرة وباحث متعاون مع جامعة أوكسفورد.

Who this course is for:

  • Students of machine learning and AI who want to understand clustering from the inside
  • Developers and data analysts moving into machine learning
  • Arabic speakers who want the concepts explained clearly in Egyptian Arabic