Neural Networks in Python
summary
Implements neural networks in Python using Theano and the higher-level Lasagne (TensorFlow mentioned) and trains on the MNIST dataset (~50k images). Shows a single-layer linear classifier (784→10, ~7,840 weights) reaching ~90% accuracy in 1m28s on a laptop, and a deep network (784→800→800→10) with ReLU, dropout and softmax cross-entropy that trains ≈12s per epoch without GPU and reaches about 98.7% accuracy at ~491 epochs; GPU usage is toggled via an environment variable.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 1:54Supervised learning basics
- 3:02Neural networks and neurons
- 5:13Training neural networks
- 12:47Python for neural networks
- 14:39Theano overview
- 22:30MNIST example
- 25:01Single-layer neural network code
- 32:50Multi-layer neural networks
- 35:02Lasagne introduction
- 37:14Training multi-layer networks
- 40:02Activation functions
- 41:56Neural network convergence
- 44:32TensorFlow vs Theano
- 46:01Multi-layer perceptrons
- 48:08Dropout explained
- 49:59Neural networks in business
- 51:02Why neural networks now
- 53:13Avoiding local minima
- 55:22Deep learning benefits
- 56:26Q&A
