Skip to content
mentra
AIExtracurricular

Neural Networks Explained: From One Neuron to Deep Learning

Mentra
Grades
Grades 9–12
Lessons
6
Format
Self-paced
Access
Start anytime

About this class

How neural networks work, computed by hand: artificial neurons, weights and biases, activation functions, a full forward pass through a small network, how backpropagation uses the chain rule to learn, and what makes image models (CNNs) and language models (transformers) special. Algebra is enough; no coding required. Sources: Google, “Machine Learning Crash Course”: neural networks units (developers.google.com/machine-learning/crash-course); Michael Nielsen, “Neural Networks and Deep Learning” (free online book, neuralnetworksanddeeplearning.com); Vaswani et al., “Attention Is All You Need” (2017), the paper that introduced transformers; All worked examples in this course are original, written for Mentra..

What we'll cover

  1. Neurons and activations
  2. Forward pass
  3. Backpropagation
  4. Training deep networks
  5. CNNs and transformers

Course lessons

  1. 1.Course overview
  2. 2.Artificial neurons and activation functions
  3. 3.Layers and a full forward pass
  4. 4.Backpropagation and the chain rule
  5. 5.CNNs, transformers and training deep networks
  6. 6.Challenge set

Learning objectives

  • Compute the output of an artificial neuron with ReLU and sigmoid activations
  • Do a complete forward pass through a small two-layer network
  • Explain why activation functions must be nonlinear
  • Use the chain rule to explain how backpropagation computes gradients
  • Describe what convolutional networks and transformers are designed to do

Materials

Paper or a notebook for the activities

Who made this course

Mentra

Created by the Mentra team