r/deeplearning • u/LawAdventurous2383 • 29d ago
Neural Net Learning problem
I had created a neural network system from scratch in
C++, and tested it like linear regression problem and it learned that number, and minimised the error.
But when I went to implement Number recognition, after learning of neurons it is just showing me the last number that it learned for any set of inputs although number are picked at random.
I don't think this problem is especially related to neural network, it could be me, who somewhere messed up the code.
If someone have tried this and got the same problem, could they explain me.
If nobody have ever got this problem then it's my code fault.
View all comments
Show parent comment
1
u/LawAdventurous2383 28d ago edited 28d ago
As I remembered, I had created 10 output, the hypothesis is a maxargs which would go from index output first to last and give me the index number of the highest probability, it's uses softmax activation function sooo, sum is always 1 or say 100 percent.
My input is a 27*27 one dimension array something.
Hidden layer is 128 one dimension array and there are 2 of it connecting each other
Lastly output is 10 one dimension array