Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Building a Neural Network & Making Predictions (Summary)

Congratulations! You built a neural network from scratch using NumPy. With this knowledge, you’re ready to dive deeper into the world of artificial intelligence in Python.

In this course, you learned:

  • What deep learning is and what differentiates it from machine learning
  • How to represent vectors with NumPy
  • What activation functions are and why they’re used inside a neural network
  • What the backpropagation algorithm is and how it works
  • How to train a neural network and make predictions

The process of training a neural network mainly consists of applying operations to vectors. Today, you did it from scratch using only NumPy as a dependency. This isn’t recommended in a production setting because the whole process can be unproductive and error-prone. That’s one of the reasons why deep learning frameworks like Keras, PyTorch, and TensorFlow are so popular.

For additional information on topics covered in this course, check out these resources:


Sample Code (.zip)

23.0 KB

Course Slides (.pdf)

642.7 KB

Santosh on Dec. 27, 2021

Fantastic. Brilliantly explained.

Rafael on Sept. 20, 2022

Good explanation, but why, why there is no final example, where one vector would be given to the trained neuronal net with explanation:

-This Vector was given because…

-We await the prediction of…

-The trained model predicted x, because…

Short, to run the model and interpret the results by random input.

marcinszydlowski1984 on Oct. 26, 2022

Well explained.

Become a Member to join the conversation.