Network Components
Drag components to the canvas to build your neural network
Network Settings
Connect them by dragging from output (right) to input (left) ports.
Layer Properties
Hover over a node to see its properties
Activation Function
Layer Weights
Training Progress
Backpropagation Explained
Backpropagation is the key algorithm that allows neural networks to learn from data. It works by calculating how much each weight in the network contributes to the overall error and adjusting the weights to minimize this error.
The Steps of Backpropagation:
-
Forward Pass
Input data flows through the network to produce a prediction.
-
Calculate Error
Compare the prediction with the expected output to compute the error.
-
Backward Pass
Propagate the error backward through the network.
-
Update Weights
Adjust each weight based on its contribution to the error.
Mathematical Insight
The gradient (∇L) shows the direction of steepest increase in error. By moving in the opposite direction, we minimize the error. The learning rate (η) controls the step size.
Understanding the Animation
Current Variables
Forward Propagation Explained
Forward propagation is the process by which input data flows through a neural network to generate predictions. This is how neural networks make inferences after they've been trained.
How Forward Propagation Works:
-
Input Layer
The network receives data through its input neurons.
-
Hidden Layer Computation
Each hidden neuron computes a weighted sum of inputs and applies an activation function.
-
Output Generation
The final layer produces the network's prediction or classification.
Computations in Detail
Network Details
Architecture
Input layer: 3 neurons
Hidden layer: 4 neurons (ReLU activation)
Output layer: 2 neurons (Sigmoid activation)
Activation Functions
Neural Network Visualization
This visualization represents neurons firing in a neural network. Watch as activation patterns form and spread across the network, simulating how information flows through neural pathways.
Visualization Controls
About This Visualization
This animation represents a simplified view of neural activity. Each dot represents a neuron, and the lines represent connections between neurons. When a neuron "fires," it activates connected neurons based on the strength of their connections.
In real neural networks, neurons only fire when their activation exceeds a threshold, and the pattern of connections is learned during training.