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

Not Able to get Accuracy Score #39

Open
ParthP8399 opened this issue Mar 31, 2022 · 1 comment
Open

Not Able to get Accuracy Score #39

ParthP8399 opened this issue Mar 31, 2022 · 1 comment

Comments

@ParthP8399
Copy link

ValueError: Found input variables with inconsistent numbers of samples: [18734, 18733]

I am able to get F1 scores when i pass test_dict to evaluate function as model.evaluate_performance(test_dict)
but if i pass "True"as a parameter to model.evaluate_performance(test_dict,True) i am getting a ValueError. I crossed checked the test_dict manually there are total 18734 samples in y_test so why is the function missing out one value in y_pred that is the predicted number of samples ?.

@gklabs
Copy link

gklabs commented Nov 2, 2022

It happened to me too, I think it is because NERDA model does not output predictions for sequences whose length is greater than max_seq_len

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