Neural-Network Basics

Neural-Network Basics

Key jargon

Term Plain-language meaning
Neuron A small computation that combines inputs, weights, a bias, and an activation.
Weight A learned number controlling how strongly one signal affects another.
Loss function A score describing how wrong a prediction is for the training objective.
Backpropagation The procedure that computes how each parameter contributed to the loss.

Key concepts

Concept map

flowchart LR
    A["Input features"] --> B["Weighted layers"]
    B --> C["Prediction and loss"]
    C --> D["Backpropagation updates weights"]

Mental model

A neural network is a parameterized function. Inputs are converted to numbers, passed through layers, and transformed into outputs. Weights store learned numerical relationships; activations introduce nonlinear behavior; a loss function measures error; backpropagation computes how parameters contributed to that error; an optimizer updates them.

Training is repeated approximation—not a database write of one fact into one address.

Vocabulary

Term Practical meaning
Parameter Learned number affecting the function
Hyperparameter Human-selected setting such as learning rate or batch size
Epoch One pass over a training dataset
Overfitting Memorizing training-specific patterns that fail to generalize
Regularization Technique discouraging brittle or overly complex fits
Gradient Direction and sensitivity of loss change

Misconceptions

Exercise

Draw a tiny network with three inputs, one hidden layer, and two outputs. Label which values come from data, which are learned, and which are chosen by the builder.

Next

Transformers and attention