One mushroom, two inputs

Bring back the neuron from earlier. It receives numbers as inputs, gives each input a weight, adds the results, then checks the threshold.

For this made-up task, one input measures a mushroom's colour. Pale is close to 0. Dark is close to 1.

The second input measures its size. Small is close to 0. Large is close to 1.

The neuron receives one mushroom at a time. From those two numbers, it answers safe or dangerous.

Nothing about the neuron has changed. Only the meaning of its two inputs.