These two posts are really extensions of a set of post in response to a question from Carl Simmons ( @Activ8Thinking ) concerning building a micro:bit simple neuron. In those, the Microsoft MakeCode was used. In this two-post series is going to go through building neurones and neural networks in Python and by the end of the second post a python-based microbit neural network Post 1 (this one) A single neuron and a simple neuron network will be produced in Python are produced. Post 2 looks at producing a network of neurons, ie. neural network using the idea from post 1 but using a three microbits.; looking to solve the problem that a single neuron can't solve, making an Exclusive OR gate (XOR) 1. Overview and non-microbit neuron 1.1 Overview: The characteristics of the system will be: Inputs are going to be binary Weighted sum is bias+W1*input1+w2*input2 If weighted sum>=0 then the output is True (T on the LEDs) or '1' If weigh...
Robots and getting computers to work with the physical world is fun; this blog looks at my own personal experimenting and building in this area.