Medo

Medo

  • NA
  • 1
  • 0

C# Encog Neural Network wrong results

Nov 2 2011 1:07 PM

Hello I am beginner in NN programming so I just wanted for someone to point me to mistakes i made during NN programming.

Here is what I am trying to Accoplish: Input data should be {0,1,2,3,4} and output should be {5}, next record {1,2,3,4,5} and output {6} and so on.

Results I got so far with 500 training epoches :

5:Actual=10:Predicted=8,3:Difference=1,70
6:Actual=11:Predicted=9,3:Difference=1,70
7:Actual=12:Predicted=10,3:Difference=1,70
8:Actual=13:Predicted=11,4:Difference=1,60
9:Actual=14:Predicted=12,4:Difference=1,60
....
55:Actual=60:Predicted=59,9:Difference=0,10
56:Actual=61:Predicted=61:Difference=0,00
57:Actual=62:Predicted=62:Difference=0,00
58:Actual=63:Predicted=63:Difference=0,00
....
494:Actual=499:Predicted=433:Difference=66,00
495:Actual=500:Predicted=433,6:Difference=66,40
496:Actual=501:Predicted=434,1:Difference=66,90
497:Actual=502:Predicted=434,7:Difference=67,30
498:Actual=503:Predicted=435,3:Difference=67,70
499:Actual=504:Predicted=435,8:Difference=68,20

Why is this happennig? the larger number is the more larger error gets.. And can someone please point me to all mistakes I made in code and how should I fix them Here is full code: http://shorttext.com/010JYXh


Answers (1)