Artificial Neuron in Scratch
- Set the inputs by pressing the buttons marked input 1 and input 2 (Red is off(False or 0) and Green is on(True or 1))
- Change the weights by changing weights 1 to 3, wx goes with input x and weight 3 is the bias.
- To activate the neuron you need to click on the the yellow ball ('the neuron').
The video below show it in action and explains the code.
All views are those of the author and should not be seen as the views of any organisation the author is associated with.