Input features
Move the sliders or type exact values.
The prediction is computed in your browser using the trained model's actual weights.
A real, trained AI model. Four measurements in. Three flower species out. Change the inputs, inspect the learned weights, and watch the mathematics come alive.
Measurements in centimeters. The four features come from the Iris flower dataset.
Move the sliders or type exact values.
The prediction is computed in your browser using the trained model's actual weights.
Softmax probability distribution
The network chose its highest scoring output.
Move a weight, change the bias, or try a different activation. The signal, mathematics, and output all update live.
z = Σ(xᵢ × wᵢ) + b = Calculating…
ReLU(z) = max(0, z)
Important: Changing weights or activation here is an educational sandbox. It does not secretly rewrite the trained Iris classifier above. Restore weights to see the real first-layer neuron again.
27 neurons arranged in four layers. Select a neuron in the first hidden layer to inspect its trained calculation, or experiment with its weights in Signal Studio.
Here is how the selected artificial neuron transforms four normalized inputs into an activation.
Click a first-layer neuron above to change this.
Inputs are standardized with training-set statistics before reaching the first layer. ReLU(z) = max(0, z).
From data to decision
Measurements are standardized with stored training means and standard deviations.
Each layer computes weighted inputs and biases with matrix operations.
Two hidden layers apply ReLU to transform their outputs.
Three output logits are converted to class probabilities using softmax.