Showing posts with label video. Show all posts
Showing posts with label video. 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

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

Sunday, 28 June 2015

Swarm Robotics - Northampton

Some interesting work has been developed by Narinder Singh (MSc Computing student and Technician) in the Department of Computing and Immersive Technology, University of Northampton. The work revolves around investigating the use of relatively simple robots, kilobots, to investigate swarm robotics.

Example:Dancing Kilobots 

For more examples go to: Kilobot videoss

Supervisor Scott Turner

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

Wednesday, 27 August 2014

Raspberry Pi Junk robot in action

Video showing a Raspberry Pi controlled 'junk' based robot, junkbot, in action. All controlled, via a RaspberryPi, by Scratch or ScratchGPIO programs.




More information about this project can be found at:
http://junkbots.blogspot.com/
http://www.facebook.com/junkrobot


Related Links

 




 



If you would like to know more about the Junkbots project contact scott.turner@northampton.ac.uk. The views and opinions are the authors and should not be taken as representing the views of any organisation the author is associated with.

Friday, 2 August 2013

video tools and machinima for animations

I was challenged to find come up to produce a video welcome message for a module, the problem is I dislike appearing in a video - I tend to use an avatar in place of a picture of myself.


Here are two example video introductions using two different tools.

Example 1: Photostory 3
A free piece of software (http://www.microsoft.com/en-gb/download/details.aspx?id=11132) that takes photos and allows you to add narration, music and some effects. Moviemaker software will do in it's place.

 The module was a MSc Computing dissertation module giving a short overview of the module.


Example 2 and 3: Machinima
A second approach was to use a package that allows you to guide/direct a character, scripting what they say, etc. The package used was an early version of Moviestorm (newer educational version can be found here) it allows you to 'direct' the character and save me having to appear in it! 









This module is an introduction to artificial intelligence module.
 

The second one is an introduction to a problem solving and programming module.

Placed inside a VLE:



Ok, they were done as a couple of experiments and a bit a fun; but are worth a play with.


Computing Courses

BSc and HND Computing Provision (click on the links below for more details of the courses)


The University of Northampton's, Department of Computing and Immersive Technologies offers five courses within the MSc Computing postgraduate provision (shown below) all available either part-time or full-time. 

The contents are the opinion of the author(s) and not necessarily the view of the University of Northampton.

The machinima software can also be found at: