Intro to PyTorch and Neural Networks
Understand how neural networks learn and build your first ones in PyTorch: tensors, layers and activation functions, loss functions, gradient descent and optimizers, the training loop, and honest evaluation on held-out data.
- Intermediate level
- 4 modules
- 11 lessons
- 55 quiz questions
Syllabus
01Foundations: Neurons and TensorsWhat a neural network is, how it extends linear regression, and how PyTorch stores data in tensors.3 lessons
02Building NetworksAdd nonlinearity with activation functions and assemble layers into networks, either with nn.Sequential or as your own nn.Module class.3 lessons
03Training and EvaluatingMeasure error with loss functions, follow gradients downhill with an optimizer, write the training loop and evaluate the trained network on data it has never seen.4 lessons
04Project: Predicting Bike Dock DemandApply the full workflow to a new problem: prepare features, build and train a network, and judge it against baselines.1 lesson