Deep Learning Specialization on Coursera (offered by deeplearning.ai)

Programming assignments and quizzes from all courses in the Coursera Deep Learning specialization offered by deeplearning.ai.

Instructor: Andrew Ng

Notes

For detailed interview-ready notes on all courses in the Coursera Deep Learning specialization, refer www.aman.ai.

Setup

Run setup.sh to (i) download a pre-trained VGG-19 dataset and (ii) extract the zip'd pre-trained models and datasets that are needed for all the assignments.

Credits

This repo contains my work for this specialization. The code base, quiz questions and diagrams are taken from the Deep Learning Specialization on Coursera, unless specified otherwise.

2021 Version

This specialization was updated in April 2021 to include developments in deep learning and programming frameworks, with the biggest change being shifting from TensorFlow 1 to TensorFlow 2. This repo has been updated accordingly as well.

Programming Assignments

Course 1: Neural Networks and Deep Learning

Course 2: Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization

Course 3: Structuring Machine Learning Projects

  • There are no programming assignments for this course. But this course comes with very interesting case study quizzes (below).

Course 4: Convolutional Neural Networks

Course 5: Sequence Models

Quiz Solutions

Course 1: Neural Networks and Deep Learning

  • Week 1 Quiz - Introduction to deep learning: Text | PDF
  • Week 2 Quiz - Neural Network Basics: Text | PDF
  • Week 3 Quiz - Shallow Neural Networks: Text | PDF
  • Week 4 Quiz - Key concepts on Deep Neural Networks: Text | PDF

Course 2: Improving Deep Neural Networks: Hyperparameter tuning, Regularization and Optimization

  • Week 1 Quiz - Practical aspects of deep learning: Text | PDF
  • Week 2 Quiz - Optimization algorithms: Text | PDF
  • Week 3 Quiz - Hyperparameter tuning, Batch Normalization, Programming Frameworks: Text | PDF

Course 3: Structuring Machine Learning Projects

  • Week 1 Quiz - Bird recognition in the city of Peacetopia (case study): Text | PDF
  • Week 2 Quiz - Autonomous driving (case study): Text | PDF

Course 4: Convolutional Neural Networks

  • Week 1 Quiz - The basics of ConvNets: Text | PDF
  • Week 2 Quiz - Deep convolutional models: Text | PDF
  • Week 3 Quiz - Detection algorithms: Text | PDF
  • Week 4 Quiz - Special applications: Face recognition & Neural style transfer: Text | PDF

Course 5: Sequence Models

  • Week 1 Quiz - Recurrent Neural Networks: Text | PDF
  • Week 2 Quiz - Natural Language Processing & Word Embeddings: PDF
  • Week 3 Quiz - Sequence models & Attention mechanism: Text | PDF

Disclaimer

I recognize the time people spend on building intuition, understanding new concepts and debugging assignments. The solutions uploaded here are only for reference. They are meant to unblock you if you get stuck somewhere. Please do not copy any part of the code as-is (the programming assignments are fairly easy if you read the instructions carefully). Similarly, try out the quizzes yourself before you refer to the quiz solutions. This course is the most straight-forward deep learning course I have ever taken, with fabulous course content and structure. It's a treasure by the deeplearning.ai team.