r/deeplearning • u/LawAdventurous2383 • 28d 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.
1
u/LawAdventurous2383 26d ago
problem Solved...
it worked out, i just tweak the RELU function to be minimum of 0.001f, Increase the Learning Rate and Increase the Number of Training Set, though i used it keggel, its not accurate, but problem was solved,
problem was -> RELU and very small learning rate, after that i got the hint of working different number for different output, soo i increase output got more accurate.
thanks..
1
u/theHumbleGuy_06 28d ago
R u using an ann?
1
u/Antenwww 28d ago
How many outputs does your final layer have ? Maybe you do not have 10 outputs for 10 numbers. For example If you have just one output it checks for only if a number is that number. Like is it 7 or not. Like a yes no question.
If you have this error. Make 10 ouputs each will need to add up to 100% total and the highest rated one is the number your network thinks your input is. Expecting an output range of 0-9 and having only 1 output is difficult
0
u/[deleted] 28d ago
[removed] — view removed comment