Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Intro to Neural Networks and Backpropagation - Building Micrograd

Andrej Karpathy via YouTube

Overview

This course aims to teach learners the fundamentals of backpropagation and training neural networks, assuming only basic Python knowledge and a vague understanding of high school calculus. The course covers topics such as implementing the backward function for operations, building neural net libraries, and manual gradient descent optimization. The teaching method involves a step-by-step explanation with practical examples and comparisons to PyTorch. The course is intended for individuals interested in understanding the core concepts of neural networks and backpropagation, particularly those with a basic background in Python and calculus.

Syllabus

intro
micrograd overview
derivative of a simple function with one input
derivative of a function with multiple inputs
starting the core Value object of micrograd and its visualization
manual backpropagation example #1: simple expression
preview of a single optimization step
manual backpropagation example #2: a neuron
implementing the backward function for each operation
implementing the backward function for a whole expression graph
fixing a backprop bug when one node is used multiple times
breaking up a tanh, exercising with more operations
doing the same thing but in PyTorch: comparison
building out a neural net library multi-layer perceptron in micrograd
creating a tiny dataset, writing the loss function
collecting all of the parameters of the neural net
doing gradient descent optimization manually, training the network
summary of what we learned, how to go towards modern neural nets
walkthrough of the full code of micrograd on github
real stuff: diving into PyTorch, finding their backward pass for tanh
conclusion
outtakes :

Taught by

Andrej Karpathy

Reviews

Start your review of Intro to Neural Networks and Backpropagation - Building Micrograd

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.