Page 1 of 1

recognize manuscript characters

PostPosted: Wed Nov 02, 2011 12:36 am
by jarain78
Hi, I,ve got another problem:

I have an image of 16x16 and then I convert it into a 1x256 vector. I had declared this way:

double[] inputVector = new double[256]; where 256 is the vector size.

Now with this vector and my out vectors, wich I had declared this way:

double[][] Output = new double[10][]{new double[] { 1d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d },
new double[] { 0d, 1d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d },
new double[] { 0d, 0d, 1d, 0d, 0d, 0d, 0d, 0d, 0d, 0d },
new double[] { 0d, 0d, 0d, 1d, 0d, 0d, 0d, 0d, 0d, 0d },
new double[] { 0d, 0d, 0d, 0d, 1d, 0d, 0d, 0d, 0d, 0d },
new double[] { 0d, 0d, 0d, 0d, 0d, 1d, 0d, 0d, 0d, 0d },
new double[] { 0d, 0d, 0d, 0d, 0d, 0d, 1d, 0d, 0d, 0d },
new double[] { 0d, 0d, 0d, 0d, 0d, 0d, 0d, 1d, 0d, 0d },
new double[] { 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 1d, 0d },
new double[] { 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 0d, 1d }
};

I can train my neural network: trainingSet.Add(new TrainingSample(data, Output[Classe]));

where Classes are the numbers from 0 to 9 wich I read the exit array.

What I have now don`t generate error but when I do the test using a example image it do not give me any results. I don´t know it´s training with the first number of the vector or it trains using the all vector

thanks

jarain78

Re: recognize manuscript characters

PostPosted: Wed Nov 02, 2011 5:29 am
by andrew.kirillov
Hello,

jarain78 wrote:I don´t know it´s training with the first number of the vector or it trains using the all vector

We also don't know, because it is no way clear how you do training.