A neural network is a machine-learning model made of connected computational layers that learn patterns from examples.

Layers learn relationships

A neural network transforms inputs through weighted connections and activation functions. Training adjusts those weights so the model’s output better matches examples or a chosen objective.

Prediction is not understanding

A model can recognize useful patterns while reflecting gaps or bias in its training data. Evaluation on representative, unseen examples is essential before relying on its output.