A single neuron
A parameterized unit combines inputs; the pilot begins with a scalar affine prediction.
Shared AI lesson · One neuron learning
Compare this activity with a reference you choose. Hints use only the public settings and results listed below, stay on this device, and do not assess your understanding.
This is your live experiment, using your saved settings. Change one setting at a time and compare the result. The worked example did not change these values.
Activation: identity · leave the total unchanged
2 × 1 + (0) = 2
| Notebooks | Shop price | Computer’s price |
|---|---|---|
| 1 | 5 credits | 1.00 credits |
| 2 | 8 credits | 2.00 credits |
| 3 | 11 credits | 3.00 credits |
| 4 | 14 credits | 4.00 credits |
Moving a slider is your manual choice. Training uses mistakes on the four examples to adjust both settings. Press once, then compare the prices again.
Starting again sets the price per notebook to 1 and the packing fee to 0. Your lesson progress is kept.
The number of notebooks is the input. The computer’s price is its prediction. The price-per-notebook setting is a weight. The fixed packing-fee setting is a bias.
Changing the settings to get closer to the example prices is called training. Here the computer uses the same rule for every order; it does not remember a separate answer for each one.
Its error score is 54.00. Zero means all four prices match. This score squares each mistake and then takes the average.
Your settings are saved on this device.
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Open the standalone neuron playground
Use a connection to review, then return.
A parameterized unit combines inputs; the pilot begins with a scalar affine prediction.
A single neuron can review Linear and affine functions.
The first neuron begins with input times weight plus bias. Comparing weight with slope and bias with a starting value makes that calculation visible.
Neural networks extends A single neuron.
Trace one parameterized unit before composing layers. The XOR lesson then shows why nonlinear activations matter: stacking affine rules alone still gives an affine rule.
11 concepts in this cross-subject pilot, not a complete curriculum graph. The existing AI lesson map and progress records remain separate and available below or through AI discovery.