Showing posts with label neurone. Show all posts
Showing posts with label neurone. Show all posts

Wednesday, 30 November 2016

Miniproject: Using Scratch to build and train a neuron



1. Single Neurone

 
Instructions:

  • 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.


To see the code go to https://scratch.mit.edu/projects/131892234/ .



2. Training a Neurone
In this part, the training of a neuron all written in Scratch is tackled. The video shows it action and you can have a go at using the software yourself at the end of the post. The Scratch code can be found at https://scratch.mit.edu/projects/132915502/







All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruonAll views and opinions are the author's and do not necessarily reflected those of any organisation they are associated with. Twitter: @scottturneruon

Friday, 29 July 2016

Excel to build and training a single artificial neurone

Two videos produced within the Department of Computing, University of Northampton, Uk on using Microsoft Excel to simulate a single artificial neurone, as a step towards building a neural network.

In the first video, Excel is used to build and show the principles of a single neurone.



In the second video the ideas from the video above are now extended to show, in a relatively simple way, how a single neurone can be trained.



What would be interesting to find a way to build this idea into a simple neural network. Comments and ideas are very welcome.


If you'd like to find out more about Computing at the University of Northampton go to: www.computing.northampton.ac.uk. All views and opinions are the author's and do not necessarily reflected those of any organisation they are associated with

Saturday, 20 February 2016

Teaching Basics of Neural Networks with Spreadsheets

The basis of this idea was inspired by some work that can be found in the paper Varley et al (2005).

In these videos examples of using spreadsheets to play with the concepts of neurones  are shown. These approaches were developed for the teaching of these approaches and the videos were recorded in a class whilst teaching the concept.

Video 1
Using a spreadsheet to replicate the neurone. Video shows the building of the model and it's use. 





Video 2
This video extends the ideas from video 1 and expands them into training a neurone. 

Using a spreadsheet to show the delta rule (change in the weight [x] = learning coefficient * input [x] * (what output we wanted - actual output from the neuron) being used to training the weights for a neurone.





VARLEY, M; PEAK, M; HEYS, J; COLLINS, G; KONSTANTARAS A,  VALLIANATOS, F; PICTON P (2005) Spreadsheet Software as a Teaching Tool for Concepts in Electronic Engineering, [Online] http://www.wseas.us/e-library/conferences/2005athens/ee/papers/507-162.pdf accessed on: 20/2/2016


All views and opinions are the author's and do not necessarily reflected those of any organisation they are associated with