-
Notifications
You must be signed in to change notification settings - Fork 324
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
Error in expected_error.py #45
Comments
Also i think you need to take a argmin instead of argmax. And when evaluating loss using refitted_proba, you should exclude the point already being queried to calculate the future loss. |
Thanks! These were indeed wrong, I have fixed them. The changes were merged to the master branch! |
your refitted_proba should not include x_idx for future loss right ? otherwise your training point is in test too. |
Sorry, I have also fixed that but forgot to push the commit :) Now it is pushed and merged to the main branch. |
Hello,
I noticed a bug in your expected_error.py. In line 70, the loss variable which is supposed to be log/binary is being replaced with a local variable. As a result after the first iteration the if statement does not execute and the loss remains constant. Just change the variable to nloss or something else and it should work.
Thank you,
The text was updated successfully, but these errors were encountered: