Encyclopedia · 176 concepts

Core ML Concepts · beginner · concept 5 of 176

Neural Network

A computing system inspired by biological brains, composed of layers of interconnected nodes (neurons). Each connection has a weight that's adjusted during training. The foundation of deep learning. The lineage starts at the 1958 perceptron; stack layers of them and you have the feedforward multilayer perceptron every deep net elaborates.

Interactive · 3D

Fly through all 13,002 parameters in 3D

Every weight drawn, a 16-step guided journey, and a Train mode where it really learns.

Key terms

NeuronsLayersWeightsBiasActivation functionPerceptronFeedforward MLP

Learn these first

Where you meet it in the real world

Image recognition, speech synthesis, game playing, autonomous vehicles

Deep dive · 7 min

What Is a Neural Network?

A neural network is layers of an almost embarrassingly simple unit. Each neuron multiplies its inputs by learned weights, adds them up with a bias, and passes the total through a simple nonlinear gate. Stack neurons into layers, connect every neuron to the next layer, and you have a network. The 'knowledge' lives entirely in the weights: change nothing but those numbers and the same wiring can read handwriting, price houses, or filter spam.

A concrete machine, not a metaphor

This tutorial teaches on a specific, canonical network: 784 inputs (one per pixel of a 28 by 28 handwritten digit), two hidden layers of 16 neurons, and 10 outputs (one per digit). Count the connections and you get 12,960 weights plus 42 biases: 13,002 parameters exactly. Frontier language models are built from the same ingredient with hundreds of billions of parameters. Understand this machine and the big ones stop being magic; they are more of exactly this.

About the word 'neural'

The name honors a 1943 abstraction of brain cells that was really a logic gate, and the resemblance mostly ends there. Francis Crick made the point in Nature back in 1989: these networks are unrealistic as brain models in important ways. Treat 'neural' as branding for 'layered weighted sums', and you will reason about the technology more clearly than most headlines do.

In one glance

  • Neuron = weighted sum + bias + nonlinear gate
  • Knowledge lives in the weights, nowhere else
  • Our teaching network: 784-16-16-10, exactly 13,002 parameters
  • LLMs are the same ingredient at vastly larger scale
  • 'Neural' is branding, not neuroscience