AI & ML Atlas
Neural NetworksarchitectureAnimated walkthrough
Radial Basis Function Networks
Hidden units respond to how close the input is to a centre; outputs are a weighted sum.
The idea
Each hidden unit has a centre and responds with a bell-shaped (Gaussian) value that is highest when the input equals its centre. The output layer is a linear combination of these local responses. Centres are often found by k-means and the output weights by linear regression.
φⱼ(x) = exp(−‖x − cⱼ‖² / 2σ²)
Watch it run
The pipeline lights up one step at a time. Use the controls to pause or step through it.
- 1Choose the centres (for example with k-means).
- 2Compute each hidden unit's response φ = exp(−‖x − c‖²/2σ²).
- 3Fit the output weights by linear least squares.
- 4Predict as a weighted sum of the responses.
φⱼ(x) = exp(−‖x − cⱼ‖² / 2σ²)
1/4
Step by step
- 1Choose the centres (for example with k-means).
- 2Compute each hidden unit's response φ = exp(−‖x − c‖²/2σ²).
- 3Fit the output weights by linear least squares.
- 4Predict as a weighted sum of the responses.
Where it is used
Function approximation, time-series prediction, control.
Watch out for
Suffers in high dimensions, where local bumps cover little of the space.