Create your free BvLogic ID to continue this course and save your progress.
Deep Learning Basics 5 lessons
  1. 1 What a neural network is doing
  2. 2 The main kinds and what they are for sign in to open
  3. 3 Training one in practice sign in to open
  4. 4 Data, compute and what it costs sign in to open
  5. 5 Using it responsibly sign in to open
Course overview
Data: video · change

This lesson: 122KB

Deep Learning Basics · Lesson 1 of 5

What a neural network is doing

Understand the idea without the mathematics.

A neural network is a function with a very large number of adjustable numbers in it, and training is the process of adjusting them so the function produces the outputs you want.

The structure. Inputs go in, pass through layers of simple units, and an output comes out. Each unit takes the numbers reaching it, multiplies each by a weight, adds them up, and applies a simple non linear function. That is the whole mechanism repeated many times.

Why the non linear part matters. Without it, stacking layers gives you nothing a single layer could not do. The non linearity is what lets a network represent complicated relationships.

How it learns. You show it an example, compare its output with the correct answer, and compute how wrong it was. Then you adjust every weight slightly in the direction that would have reduced the error. Repeat this millions of times over many examples and the weights settle into a configuration that works.

That is gradient descent, and it is the whole of training. Everything else is details about doing it efficiently.

What makes it different from earlier approaches. You do not tell it what features to look at. Show it enough photographs of cats and it works out for itself what distinguishes one, discovering edges, then shapes, then parts, then objects across its layers.

And what it is not. It is not reasoning, and it has no model of the world. It is a very flexible function fitted to data, which explains both its strength and its failures.

Lab — try it yourself

Describe in one paragraph, without mathematics, how a network learns from a wrong answer. If you cannot, reread this lesson.

Check what you learned

Create your free BvLogic ID to take the quiz and record your score.

Create your BvLogic ID
Continue to lesson 2 Up next 2. The main kinds and what they are for