Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when use untrainded data to predict, the output is so bad. #60

Open
xinsuinizhuan opened this issue Jan 20, 2020 · 3 comments
Open

when use untrainded data to predict, the output is so bad. #60

xinsuinizhuan opened this issue Jan 20, 2020 · 3 comments

Comments

@xinsuinizhuan
Copy link

I trained my data, epoch == 3000, and when i use the trained data to predict, the result is so good, but when i use the closed data to predict, the output is so bad. I don't know whether this is right or wrong? But the normal mode to evaluate it, the data need to divide into trained data and test data, traiend use the trained data and evaluate it by test data.

@josephjaspers
Copy link
Owner

Sounds like the neural-network is overfitting the trained data and not learning to generalize properly.
This is a fairly common.

You most likely do not need 3000 epochs in your case, try decreasing and seeing if test data accuracy improves

@xinsuinizhuan
Copy link
Author

OK.Let me try!

@xinsuinizhuan
Copy link
Author

I have try it. when i set epoch == 1000, use the untrained data predict, the result is also not good, so bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants