2013年2月25日星期一

Solving the problems

Solving the problems
1) We found the knowledge from the report of Manchester PHD.
The chromosome consists n bits delays and n bits weights .
For example 4bits delays and 4bits weights


delays_encoded(i,:)=Population(chromosome,[gene:gene+3]);
weights_encoded(i,:)=Population(chromosome,[gene+4:gene+7]); 
gene=gene+8


2) 4 bits delays  

0000    1               
0001    2              
0010    3
0100    4
1000    5
0011    6
0101    7
0110    8
1001    9
1010    10
1100    11
1011    12
1101    13
1110    14
 0111   15
 1111   16         

3) 4 bits weights  

 0000   8             
0001    7              
0010    6
0100    5
1000    4
0011    3
0101    2
0110    1
1001    0
1010    -1
1100    -2
1011    -3
1101    -4
1110    -5
 0111   -6
 1111   -7

4) we found we should also change the delay and weight value in the XOR train code. So code will be successful.



5)














This figure we found came from the report of PHD. We thought  was very important. So we show this figure.


                

没有评论:

发表评论