inPace
All coursesكل الدورات

Machine Learning refresh 1: supervised learning (regression and classification)

  • about 9 h of lessonsحوالي 9 ساعة من الدروس
  • 8 modulesوحدات · 20 lessonsدروس
  • Englishالإنجليزية

An advanced refresh of part 1 of Andrew Ng's Machine Learning Specialization, with the original slides inside each lesson: linear regression, cost functions, gradient descent, vectorization, feature scaling and engineering, logistic regression, overfitting and regularization, then a from-scratch build and an interview drill. Plan: about 10 days, 1 to 1.5 hours a day. Slides by DeepLearning.AI (CC BY-SA 2.0, non-commercial).

byمن إعداد inPace checkedموثّق

machine learningandrew ngregressionclassificationpythoninterview

On these roadmaps:ضمن هذه المسارات: Get hired as an AI engineer, التوظيف مهندس ذكاء اصطناعي, Deep learning, with a machine learning refresh, Machine learning, from the maths up

What's insideمحتوى الدورة

Each module ends with tasks. The next module opens when they're done.تنتهي كل وحدة بمهام، وتُفتح الوحدة التالية عند إنجازها.

  1. Day 1: What machine learning is 3 lessonsدروس · 60 min د
    • Start here10 min د
    • Supervised and unsupervised learningslidesشرائح35 min د
    • Practice: label the problem15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  2. Day 2: Linear regression and the cost function 3 lessonsدروس · 75 min د
    • The modelslidesشرائح25 min د
    • The squared error costslidesشرائح35 min د
    • Practice: compute a cost by hand15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  3. Day 3: Gradient descent 2 lessonsدروس · 60 min د
    • The algorithmslidesشرائح30 min د
    • Gradient descent for linear regressionslidesشرائح30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  4. Day 4: Many features and vectorization 2 lessonsدروس · 50 min د
    • Multiple linear regressionslidesشرائح25 min د
    • Vectorizationslidesشرائح25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  5. Day 5: Making gradient descent work in practice 3 lessonsدروس · 70 min د
    • Feature scalingslidesشرائح25 min د
    • Checking convergence and choosing αslidesشرائح20 min د
    • Feature engineering and polynomial regressionslidesشرائح25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  6. Days 6-7: Logistic regression for classification 3 lessonsدروس · 80 min د
    • The model and the decision boundaryslidesشرائح30 min د
    • The logistic lossslidesشرائح30 min د
    • Gradient descent for logistic regressionslidesشرائح20 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  7. Day 8: Overfitting and regularization 2 lessonsدروس · 55 min د
    • Underfitting and overfittingslidesشرائح25 min د
    • Regularized cost and gradient descentslidesشرائح30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  8. Days 9-10: Build it from scratch, and interview drill 2 lessonsدروس · 80 min د
    • Capstone: a tiny ML library40 min د
    • Interview drill: 15 questions40 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة

Read a lesson firstاقرأ درسًا أولًا

Supervised and unsupervised learning

Arthur Samuel's definition: the field of study that gives computers the ability to learn without being explicitly programmed. In practice: learn a mapping from data, then use it on new data.

Supervised learning: learn from right answers

You have inputs x and labelled outputs y. The model learns x → y.

Kind Output Examples
Regression a number, from infinitely many house price, minutes to finish a course
Classification a category, from a small set spam or not, tumour benign or malignant, which digit

Unsupervised learning: find structure without labels

Kind Does Examples
Clustering groups similar points news stories on the same topic, customer segments
Anomaly detection finds unusual points fraud, a failing machine
Dimensionality reduction compresses data, keeping what matters visualizing, speeding up training

Going further (interview level)

  • Self-supervised learning (how large language models are pre-trained) makes labels from the data itself: hide a word, predict it.
  • Semi-supervised: a few labels plus lots of unlabelled data.
  • Reinforcement learning (part 3): learn from rewards, not labels.

Interview: "Is predicting tomorrow's temperature classification or regression? And whether it rains?" Regression; classification. "Can you turn a regression problem into a classification one?" Yes, by bucketing the output (cold/mild/hot), losing detail but sometimes making the problem easier or more useful.

Licenseالرخصة: CC-BY-SA-4.0 · Updatedآخر تحديث 2026-11-13

Slides: Machine Learning Specialization by DeepLearning.AI and Stanford Online (Andrew Ng), shared by DeepLearning.AI under Creative Commons BY-SA 2.0 for non-commercial educational use. Notes, questions and tasks: inPace.

Add to inPaceأضف إلى inPace