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

Tuesday, 23 August 2016

Utilisation of multipath phenomenon to improve the performance of BCH and RS codes

Al Barrak, A.Al-Sherbaz, A.Kanakis, T. and Crockett, R. G. M. (2016) Utilisation of multipath phenomenon to improve the performance of BCH and RS codes. In: 8th Computer Science and Electronic Engineering Conference. New York: IEEE. (Accepted)











Abstract

In wireless communication, there exists a phenomenon known as ‘multipath’. This phenomenon is considered as a disadvantage because it causes interference. The multipath phenomenon results in an antenna receiving two or more signals from the same sent signal from different paths. This paper considers them as redundant copies of the transmitted data and utilises them to improve the performance of forward error correction (FEC) codes without extra redundancy, in order to improve data transmission reliability and increase the bit rate over wireless communication channels. The system was evaluated in bit error rate (BER) and used Bose, Ray-Chaudhuri and Hocquenghem (BCH) and Reed-Solomon (RS) codes as FEC. The results showed that the utilisation of the multipath improves the performance of FEC. Furthermore, the performance of FEC codes had t1 error correction capability and employed the multipath is better than FEC codes have t2 error correction capability and without the multipath, where t1 < t2. Consequently, the bit rate is increased, and communication reliability is improved without extra redundancy.
To find out go to http://nectar.northampton.ac.uk/8666/


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

Friday, 1 June 2012

teaching and learning in computing journal papers



Kariyawasam K., A., Turner S., Hill G. (2012) 
"Is it Visual? The importance of a Problem Solving Module within a Computing course", Computer Education, Volume 10, Issue 166, May 2012, pp. 5-7, ISSN: 1672-5913.


Summary slides shown below




Hill G., Turner S. (2012) "Referencing within Code in Software Engineering Education!", Computer Education, Volume 10, Issue 166, May 2012, pp. 1-4, ISSN: 1672-5913.
Abstract: Traditionally computer sciences courses will assess software code. It is common and accepted good practice (as in written reports) to reference other sources of appropriate material. However there appears to be no explicit method, recommendation or advice to computer science tutors and students on a referencing approach. This paper aims to stimulate discussion from peers involved in software engineering education. By discussing the apparent lack of "referencing within code" advice to students and proposing suggestions for appropriate solutions.




If there are others recently in the school on teaching and learning please send me the details: scott.turner@northampton.ac.uk