6 4 0.030
idle
x, y
Epoch
0
Loss (BCE)
-
Train accuracy
-
Parameters
-

Decision boundary + training data

Loss (BCE) over training

🕸 Network graph: weights as connections
Each circle is a neuron; each line is one weight. Blue = positive, red = negative; thicker / brighter = larger magnitude. Updates live as the network trains.
🧠 Inside the network (weights + per-neuron activation maps)
Each row is a layer; each square is one weight. Blue = positive, red = negative; brightness = magnitude.
Each thumbnail shows one hidden neuron's activation over the 2D input plane: "what this neuron has learned to fire on."
✨ Featured comparison
Featured comparison

Compare a linear hidden layer with a nonlinear one. A hidden layer alone is not the magic; the activation changes what the network can bend.

Toggle the nonlinearity and compare the decision boundary before and after training.

🧭 Visual explanation

Live state to watch
No state captured yet. Run or adjust the applet first.
Misread to avoid

📚 Lesson tour (5 steps)
Step 1/5: -

-

📝 Worksheet (3 questions)

Q1. Moons dataset, h1=0, h2=0, linear activation. Train. Final loss is closest to:

Q2. Same dataset, h1=6, activation=ReLU. After training, final loss is closest to:

Q3. Moons, h1=6 h2=4, activation=linear (no non-linearity). Compared to 1 linear layer (h1=0), the capacity is:

🧪 Student response packet

Train a small model, compare capacity and loss, then explain how nonlinear features change the learned boundary.

State snapshot appears here.
♿ Text and keyboard support

Text and keyboard support

Keyboard path

  • Use Tab and Shift+Tab to move through controls.
  • Use Enter or Space on buttons, and arrow keys on sliders or select controls.
  • The visual region is focusable and described by the state summary below.

Text state summary

Reduced motion and non-visual support

Reduced-motion settings are honored where possible. The current state is also available as text, so the main result does not depend only on color, animation, or spatial position.

Accessibility note: this layer gives a text equivalent for the applet state. It does not replace a full human screen-reader audit.