Start studying
Module 2 · Deep Learning Module contents
Module 2  ·  Card 2 / 25beginner

Neural Networks

A neural network stacks many neurons into layers.

There is an input layer, one or more hidden layers, and an output layer.

Each layer transforms its input and passes the result forward.

Stacking non-linear layers lets the network model very complicated relationships.

Deep learning simply means using networks with many hidden layers.

Learn in depth ↓
Module 02 · Deep Learning · 25 concepts
In depth  /  15 lines

Neural Networks, in more detail

A neural network is a stack of layers, and each layer is a row of neurons.

The input layer is your data, one number per feature.

Hidden layers sit in between and are where the actual work happens.

The output layer produces whatever you asked for, a number or a set of class scores.

Every neuron takes a weighted sum of the layer before it and applies an activation.

The activation is what stops the whole stack collapsing into one straight line.

Early layers tend to find simple things, like an edge in an image.

Later layers combine those into bigger things, like a shape and then a face.

Nobody assigns those roles, since they fall out of training on their own.

Width is how many neurons sit in a layer, and depth is how many layers there are.

Depth is usually the cheaper way to buy capability, which is where the word deep comes from.

A network with enough neurons can approximate almost any function you like.

That guarantee says nothing about whether training will actually find it.

More capacity also means more room to memorise the training set.

So the size of the network is a choice you tune, not a number you maximise.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
Why does stacking layers only help if they are non-linear?
Deep Learning

25 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close