Newcastle University Drylab/27 May 2008
From 2008.igem.org
Newcastle University
GOLD MEDAL WINNER 2008
Home | Team | Original Aims | Software | Modelling | Proof of Concept Brick | Wet Lab | Conclusions |
---|
Home >> Dry Lab >> Dry Lab Journal
|
|
|
|
27 May 2008
Mark
Today have started coding up my evolutionary algorithm after agreeing with Matt to start coding up the structure. The network will map two inputs to two outputs via three hidden layer nodes. Each node is represented as an array of boolean arrays, therefore for each layer there is an array, with an element for each node. Each element contains a duoble array which contains a selection of double values that will make up the threshold value and weights for each node. These will be input by the user.
At this stage the structure of the network is being coded in, tomorrow I will start working on the functionality. I finished the plan for the network overall earlier today. The network will run two input values mapped to two output values, and the network will be trained to do this based on learning and the weights that it can vary. I wrote some pseudocode for the start of the structural programming and this is shown below:
public class neuralNetwork {
public static void main(String[] args) { //declare number of nodes (1st array size) for each array //declare size of double arrays (2nd array size) for each array //Read in values for all variables to date using Sanner object (re-use) //declare input array(array of double arrays) //declare hidden layer array //declare output array //enter range of values inte the double arrays for weights //for (each node) { for(each element of double array) { Using input stream scanner object enter range of weights } //last value is the threshold value - entered seperately
}}
This has been hard coded today.The next step is to add some functionality. This will involve designing methods that mutate and change node weights, and implementing a fitness function.
Also continued reading into Listeria organism - located a couple of new quorum sening targets - worth discussing.