Interactive tutorial

Neurons, Layers, and Weights: How Neural Networks Work

Understand how neural networks turn inputs into predictions and learn from examples. You will calculate a neuron's output, trace information through a small network, measure prediction error, and explain how training adjusts weights and biases. You will also distinguish depth from width and recognize why performance on unseen data matters.

  • Level: Beginner
  • Duration: approx. 31 min
  • 9 steps
Neurons, Layers, and Weights: How Neural Networks Work

What you will go through

  1. Step 1 of 9 2 min From Features to a Prediction Identify the features and prediction in a simple delivery-delay neural-network task.
  2. Step 2 of 9 4 min Inside a Neuron: Weights and Bias Calculate a two-input neuron's weighted sum and distinguish the roles of weights, feature values, and bias.
  3. Step 3 of 9 3 min Activation Functions: Adding Nonlinearity Apply ReLU to weighted sums, distinguish zero activation from deleted parameters, and see why hidden nonlinear activations matter.
  4. Step 4 of 9 5 min Layers and the Forward Pass Trace feature values through a two-input network with one hidden layer, then distinguish its parameters from the values computed for one example.
  5. Step 5 of 9 3 min Measuring Error with a Loss Function Calculate squared error from a prediction and target, then use loss to compare two predictions.
  6. Step 6 of 9 4 min How Training Changes Weights and Biases See how a network uses loss and gradients to adjust weights and biases during training.
  7. Step 7 of 9 3 min What Makes a Network Deep? Compare network depth and width, see how successive hidden layers build representations, and reason about why a larger model is not automatically a better predictor.
  8. Step 8 of 9 3 min Checking Performance on Unseen Data Learn to judge whether a model is likely to perform well on delivery examples it did not use for fitting.
  9. Step 9 of 9 5 min Final Challenge: Explain a Network End to End Apply every major idea from the tutorial to a new delivery-delay example, from features and hidden activations to loss, training, and generalization.

Video Courses

Courses related to this topic

See all video courses

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate