juniorDeep Learning
What is a Neural Network?
Updated Feb 20, 2026
Short answer
A Neural Network is a computational model inspired by the human brain that learns patterns from data using interconnected neurons.
Deep explanation
A neural network contains:
- Input layer
- Hidden layers
- Output layer
Each neuron:
- Receives inputs
- Multiplies them by weights
- Adds a bias
- Applies an activation function
The network learns by adjusting weights during training to minimize prediction errors.
Basic neuron computation:
y = f\\left(\\sum\_{i=1}^{n} w\_i x\_i + b\\right)
Where:
- (x\_i) = inputs
- (w\_i) = weights
- (b) = bias
- (f) = activation function
Real-world example
- Email spam detection
- Predicting house prices
- Handwriting recognition
Common mistakes
- - Assuming more layers always improve performance
- - Forgetting normalization of inputs
- - Using too few neurons for complex tasks
Follow-up questions
- What are weights and biases?
- Why are activation functions needed?
- How does a neural network learn?