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

Deep Learning 2: improving deep networks (regularization, optimizers, tuning)

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

Part 2 of a refresh of Andrew Ng's Deep Learning Specialization, with the original slides in each lesson and everything updated for PyTorch 2.15, TensorFlow 2.21 and Keras 3.15: train/dev/test splits, bias and variance, L2 and weight decay, dropout, initialization, gradient checking, mini-batches, momentum, RMSprop, Adam and AdamW, learning-rate schedules, hyperparameter search, batch norm and softmax. Real experiments in notebooks you can open in Colab, download or read as PDFs, and new charts. Plan: 8 days. Slides by DeepLearning.AI (CC BY-SA 2.0, non-commercial).

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

deep learningoptimizationregularizationpytorchtensorflowkerasandrew nginterview

On these roadmaps:ضمن هذه المسارات: 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: Setting up: data splits, bias and variance 3 lessonsدروس · 65 min د
    • Start here10 min د
    • Train, dev and test setsslidesشرائح25 min د
    • Bias, variance, and the basic recipeslidesشرائح30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  2. Day 2: Regularization 3 lessonsدروس · 85 min د
    • L2 regularization and weight decayslidesشرائح30 min د
    • Dropoutslidesشرائح30 min د
    • Other ways to regularize, and a real experimentslidesشرائح25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  3. Day 3: Normalizing, initialization and checking gradients 3 lessonsدروس · 75 min د
    • Normalizing inputsslidesشرائح20 min د
    • Vanishing and exploding gradients, and initializationslidesشرائح30 min د
    • Gradient checkingslidesشرائح25 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  4. Day 4: Mini-batches and averages 2 lessonsدروس · 60 min د
    • Mini-batch gradient descentslidesشرائح30 min د
    • Exponentially weighted averages and bias correctionslidesشرائح30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  5. Day 5: Momentum, RMSprop, Adam, AdamW and schedules 3 lessonsدروس · 75 min د
    • Momentum, RMSprop and Adamslidesشرائح35 min د
    • Learning-rate decay and schedulesslidesشرائح25 min د
    • Local optima and plateausslidesشرائح15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  6. Day 6: Hyperparameter tuning 2 lessonsدروس · 50 min د
    • What to tune, and how to searchslidesشرائح35 min د
    • Pandas or caviarslidesشرائح15 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  7. Day 7: Batch norm, softmax and frameworks 3 lessonsدروس · 75 min د
    • Batch normalizationslidesشرائح35 min د
    • Softmax for many classesslidesشرائح20 min د
    • Programming frameworks, then and nowslidesشرائح20 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة
  8. Day 8: Experiments and interview drill 2 lessonsدروس · 70 min د
    • Run the experiments40 min د
    • Interview drill30 min د
    Practical taskمهمة عمليةExplain in your wordsاشرح بكلماتكQuizاختبار · 4 questionsأسئلة

Notebooks and downloadsالدفاتر والتنزيلات

They also come inside the course. Colab runs them free in your browser.وهي موجودة داخل الدورة أيضًا. يشغّلها Colab مجانًا في متصفحك.

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

Start here

Your plan

Days Module Slides
1 Setting up: data splits, bias and variance C2 week 1
2 Regularization: L2, weight decay, dropout and more C2 week 1
3 Normalizing, initialization, vanishing gradients, gradient checking C2 week 1
4 Mini-batches and exponentially weighted averages C2 week 2
5 Momentum, RMSprop, Adam, AdamW and learning-rate schedules C2 week 2
6 Hyperparameter tuning C2 week 3
7 Batch norm, softmax and frameworks C2 week 3
8 Experiments and interview drill notebooks

About 1 to 1.5 hours a day, for 8 days.

Code in this course is written for PyTorch 2.15 (October 2026), TensorFlow 2.21 and Keras 3.15. The slides use TensorFlow 1-style code in places; the notes show the current way.

How each lesson works: the slides for that part open at the top of the lesson. Read them, then the notes under them: the notes explain what the slide skips, show today's PyTorch and Keras code, and point to the experiments in the notebook. Notebooks are files that come with the course: open them in Google Colab (free, nothing to install), download them for Jupyter or VS Code, or read their PDF versions with all the outputs.

This is part 2 of 5: Improving deep neural networks. Part 1 built networks; this part makes them train well.

Credit: the slides are from the Deep Learning Specialization (course 2, Improving Deep Neural Networks) by DeepLearning.AI, taught by Andrew Ng, shared under Creative Commons BY-SA 2.0 for non-commercial educational use. Take the full course on Coursera for the videos and graded labs.

Maths is written in plain text: W·x is a matrix product, Σ a sum, ^ a power, [l] the layer, (i) the example.

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

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

Add to inPaceأضف إلى inPace