-
Notifications
You must be signed in to change notification settings - Fork 259
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
Added metric Brier Score #275
Conversation
Hi @lvwerra, Can you share the reformatter code? |
Hi @kadirnar, thanks for that awesome contribution! If you are inside the repo (main folder) you can run |
Thank you for your support. I am running vscode application as administrator.
The codes in the tokenizer_13a.py file have also changed |
Seems to be an issue of Which version are you using? Can you run: pip install .[dev] to make sure all the right versions for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few fixes that should hopefully make the tests pass.
The documentation is not available anymore as the PR was closed or merged. |
Hi @lvwerra ,
Why doesn't it pass the tests? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added two suggestions that should fix the issues.
Side comment: if there are code suggestions you can just click on "Commit suggestion" so you don't need to do an extra commit locally. |
I didn't know that. Thank you for your advice. I will try. |
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for working on this! Left a few minor nits and then I think we can merge!
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one more suggestion to fix the YAML in the README.
Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
I didn't know how to fix this error. Thank you very much for your help. |
Thanks a lot, looks good now! I'll approve and merge it after we merge another bug fix. |
* Added metric Brier Score * added numpy library and reformatter * Updated the args description. * examples codes updated. * word error fixed * parameter error fixed. * parameter and reference codes have been updated. * The print code has been updated. * output value have been updated. * Update metrics/brier_score/brier_score.py Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com> * Update metrics/brier_score/README.md Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com> Co-authored-by: Leandro von Werra <lvwerra@users.noreply.github.com>
I added Brier Score metric. #235