Jump to content
  • Advertisement
Sign in to follow this  

Fitness function for ANN for character recognition

This topic is 3565 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Title says it all, but let me explain. I've created some examples of application that use neural networks. And I've came to an application that will analyze the user's handwriting, and convert it to a character. The main problem is developing the fitness function for the artificial neural network. I have the following input: A map (in this case 10x10, but it can be larger, smaller, anything) of values between 0 and 1, this map is the blurred character the user has drawn. I have the same number of outputs as the number of characters the user has drawn for the neural network. For example, if the user has drawn 3 characters, the neural networks contains 3 outputs. A single output can have the values between 0 and 1. I've tried several fitness functions, without much of a success. I've tried the following: - add up all the output values that aren't the character I'm searching for (thus creating a error-value). This makes the output value for the correct character random, so it didn't work. - add up all the output values that aren't the character I'm searching for (again, an error value). Divide this value by the correct character value. Somehow, the values aren't very consistent, and it seems to pick the wrong character very quick. Do any of you have an idea of how to create an algorithm for this? To sum it up, I have the following information: - 10x10 input values between 0 and 1 - x output values, with (x - 1) wrong values, and 1 correct value. The correct value should be the highest of them all. P.S. I'm not sure if this topic should be in math, but I didn't know where it would fit best. Thanks in advance, Max Henger

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!