Artificial Intelligence · Foundations
Neural Networks 101
How layers, weights, and activations combine to learn.
1 min readPublished Updated
- neural networks
- deep learning
A neural network is a stack of linear transforms separated by nonlinear activations.
ts
function relu(x: number): number {
return Math.max(0, x);
}Forward pass#
- Multiply inputs by weights.
- Add a bias term.
- Apply an activation function.
- Repeat per layer until the output.