Neural Networks
Running the forward pass…
Initializing Sorting Algorithms...
Sorting
Trees
Graphs
Preparing interactive visualizations...
Neural Networks
Running the forward pass…
Follow two numbers through a trained 2-3-2 network that solves XOR: three weighted sums, three ReLUs, two scores, one softmax. Then the same arithmetic for a whole batch, and for every point of the plane at once.
This network has 2 inputs, 3 hidden ReLU units and 2 outputs, and it was trained on the XOR data the perceptron could not separate. It classifies 116 of the 120 training points correctly, and 927 of 1,000 fresh points drawn the same way (92.7%).