sjhalayka

ANN error rate stuck at 0.5

Recommended Posts

You're kind of on the wrong forum for neural network questions. This is for game AI, not for general purpose AI algorithms.

Also, few people are going to want to dig through that much of someone else's code, especially given that there are barely any comments in there and a lot of code that is probably irrelevant (e.g. the file loader). What have you done so far to try and solve the problem? Does the error rate ever decrease at all? What does NNet.BackPropagate return? Why not try on just 1 image to begin with? Where is the actual classification taking place?

Share this post


Link to post
Share on other sites

Thanks for replying.

If it makes any difference, this is a learning exercise for me, so that I can progress into teaching an artificial neural network how to play Texas Hold 'Em poker.

If I train it to classify only one image, it learns the correct output in 2 training sessions. When I train it to classify two images, the error rate gets stuck at 0.25 no matter how many training sessions.

 

 

 

Share this post


Link to post
Share on other sites
  1. Your account of the problem is inconsistent. Is the error rate 0.5 or 0.25 or some other number? This is a red flag to me.
  2. You haven't posted any actual ANN code, which makes me guess that you're using a library. Have you contacted the library provider and/or consulted the library's documentation and example code?
  3. You didn't answer the single most important question from Kylotan, which is: what have you done to try to figure this out yourself?
  4. Do you know how to use a debugger? If so, have you tried stepping through the code to understand it better? If not, that's your starting point.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now