I'm having trouble to use AForge.NET neuro..

Im trying to do something like this:

input: an array of array with 400 positions each one - it means any single pixel of an image.. example {0,0,0,0,0,0,1....0} until 400

output: an array with 26 positions, which the one who has "1"value is the index of the alphabet (letter A for example will be something like this: {1,0,0,0,0...0} until position 26 (0-25)

And then:

- Code: Select all
`m_net = new ActivationNetwork(new SigmoidFunction(), 400, Convert.ToInt32 (Math.Round(Math.Sqrt(400* 26))), 26);`

400 = number of input values

26 = number of output values

and then i have the array of array with the type specified above..

When I use the runepoch method:

- Code: Select all
`BackPropagationLearning teacher = new BackPropagationLearning(m_net);`

m_errorCode = teacher.RunEpoch(input, output);

But the error code is always the same, what am i doing wrong?

Thanks!