The basic shape of every neural network.
What is a neural network? The short answer
Layers of tiny decision-makers.
A neural network is a type of AI model made of layers of simple connected units, often called neurons. Each connection has a strength, called a weight. During training, the network makes predictions, measures its mistakes and adjusts the weights so the next predictions are better. Neural networks power image recognition, speech recognition and chatbots.
The name comes from a loose comparison with the brain, but a neural network is really just a lot of multiplication and addition, organised cleverly.
A classroom analogy
How a class decides "cat or dog".
Imagine a row of students, each looking at one small part of a photo. Each one shouts how strongly they see something like "pointy ear" or "long snout". A second row listens, but trusts some voices more than others, and combines them into bigger ideas like "cat face". A final student makes the call: cat or dog.
When the class gets it wrong, the teacher tells everyone, and each student adjusts how much they trust each voice. After thousands of photos, the class becomes very accurate. The "trust levels" are the weights, and adjusting them is training.
The key parts
Five words that unlock the topic.
Neuron
A unit that multiplies its inputs by weights, adds them up and passes on a result.
Layer
A group of neurons. Deep learning simply means a network with many layers.
Weight
How strongly one neuron influences the next. A large model can have billions.
Loss
A number measuring how wrong the predictions are.
Backpropagation
The method that works out how to change each weight to reduce the loss.
Where neural networks are used
Different shapes for different jobs.
- Convolutional networks for images, such as photo search and medical scans.
- Transformers for language: the design behind ChatGPT and other large language models.
- Diffusion models for AI image generation.
- Reinforcement learning networks for game-playing agents, like our self-play game AI project.
How teens can build one
From idea to working code.
Start with the core idea of machine learning, learn Python basics, then build a small network that recognises handwritten digits. Writing one from scratch, before using libraries like PyTorch, is the best way to truly understand it. Project ideas with measurable results are in 15 AI science fair projects.
Quick answers
What students and parents ask us most.
Is a neural network the same as a brain?
No. Neural networks were loosely inspired by brain cells, but they are mathematical models that work very differently from biological brains.
What is the difference between AI, machine learning and neural networks?
AI is the broad field. Machine learning is a way of building AI by learning from data. Neural networks are one family of machine learning models, and the most powerful one today.
At what age can kids understand neural networks?
Children around 10 to 12 can understand the idea through analogies and no-code tools. Teens with some Python and algebra can build simple neural networks themselves.
Want to build a neural network with a real AI engineer? Book a free 45-minute trial class.