Skip to main content跳到主要内容
← Activities Open applet

NN-1 · Core Activity · 35–45 minutes

Make it fail, then make it learn

Your job is to be a scientist: predict what will happen, run the experiment, then explain what you saw. You will deliberately make a neural network fail before you make it succeed.

Golden rule: a wrong prediction with an honest, well-reasoned explanation is useful evidence. Do not change a prediction after seeing the result.

Learning focus
Non-linearity, hidden capacity, loss, generalization
What to submit
Your predictions, observations, explanations, and reflection
Response storage
Autosaves locally in this browser only

Ready. Responses save locally as you type.

The controls you will use

ControlUse in this activity
DatasetTwo moons · Concentric circles · XOR · Two blobs
Activationtanh · ReLU · sigmoid · linear
Hidden 1 / Hidden 20–12 neurons; 0 means no hidden layer
Learning rate / optimizerKeep defaults unless a run says otherwise
Train / pause · Reset weightsRun and repeat experiments
Show test loss/pointsCompare training behavior with held-out data

Part A · Five experiments

For every run: Predict first → Run it → Explain what happened.

Run 1 · Can a straight line bend?

Give the network a curvy problem while switching off its ability to create a nonlinear transformation.

Set up: Dataset = Two moons · Activation = linear · Hidden 1 = 6 · Hidden 2 = 4 → Train.

Run 2 · No hidden layer

Set up: Dataset = Concentric circles · Activation = ReLU · Hidden 1 = 0 · Hidden 2 = 0 → Reset weights → Train.

Run 3 · Add capacity

Set up: Keep Concentric circles and ReLU · Hidden 1 = 6 · Hidden 2 = 4 → Reset weights → Train.

Run 4 · Watch it learn

Set up: Dataset = XOR · Activation = ReLU · Hidden 1 = 6 · Hidden 2 = 4 → Reset weights → Train and watch the whole process.

Run 5 · Train versus test

Increase capacity, then ask whether the model learned a reusable pattern or mostly fitted the training examples.

Set up: Dataset = XOR · Activation = ReLU · Hidden 1 = 10–12 · Hidden 2 = 10–12 · turn on Show test loss/points → Reset weights → Train.

Part B · Use the explanation on the applet page

Part C · Reflection and transfer

How this is assessed

CriterionWhat strong work shows
Predictions made firstA prediction exists before each run, even when it turns out wrong.
ObservationsSpecific description of what the boundary and loss actually did.
ExplanationsConnections to non-linearity, hidden layers, training, and generalization.
ReflectionReasoning from evidence rather than restating a definition.

Local response storage

Your typed responses are saved only in this browser using local storage so an accidental refresh does not erase your work. Nothing on this activity page submits answers to AI Playgrounds. Use Clear responses to remove the saved copy from this browser.