Data Lab
Neural Network Playground
Adjust inputs, weights and biases in a two-layer forward pass. This lesson demonstrates inference only.
Loading simulation…
Python example
import math
h = max(0, w1*x1 + w2*x2 + b)
y = 1 / (1 + math.exp(-(v*h + c)))