Click here to Skip to main content
15,882,209 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I crated a neural network in java....
training neural network is done now the question is How to test that neural network so pls help me
Posted

1 solution

Did you not partition your data (before starting training) into training data and test data? Do you have any Idea about the theory behind neural networks? The way you have asked the question, I doubt it.

You haven't given us any specifics about your neural network. "How to train a neural network?" is a basic question the forefathers of neural networks had. It's a general question and therefore I'm gonna have to give you a generalized (and probably lame) answer.

Suppose your neural network is intended to categorize pictures into two classes: Facial pictures/Non-facial pictures. You first find out a bunch of pictures from both classes.

Then you build the network, and use some of the pictures (normally about 80% of data) to train it. In training what you actually do is, input pictures, and tweak the network until you get the correct output.

After training the network, you input the rest of the pictures into it, and see what output it produces. If the network could categorize the rest of those pictures correctly, you have built and trained the network well.

Then you write a paper and publish it, and you're famous.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 25-Mar-12 15:27pm    
Just one detail: the neural network does not have to work with pictures; and OP did not mention anything like that. If could be almost anything. The considerations themselves are good. My 4.
--SA
krumia 26-Mar-12 0:04am    
I just took the picture thingy as an example. Should have mentioned it explicitly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900