-
Notifications
You must be signed in to change notification settings - Fork 286
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
Model evaluation error #125
Comments
Hi @binglinchengxiash , thank you for your interest in our work! It seems that the denominator is zero. This can be fixed by adding a line such as:
But I wonder why did it happen, it might hint that the test set is empty? Do you know whether there are any examples in the test/validation set? |
I use astminer to generate data for feeding code2vec.And the dataset is java-small. I found all results are zeros.I am not sure the reason. |
Hi @binglinchengxiash , Have you managed to solve this? Best, |
Thank you, I have solved my problems. |
Hi @binglinchengxiash , I met the same problem that PRECISION, RECALL, and F1 were always zero when training. I would be very grateful indeed for any help you could give me. |
Hi @WQR53 , Uri |
When the model is evaluated, an error is reported using java-small dataset.
The text was updated successfully, but these errors were encountered: