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 |
lvwerra
left a comment
There was a problem hiding this comment.
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? |
lvwerra
left a comment
There was a problem hiding this comment.
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>
lvwerra
left a comment
There was a problem hiding this comment.
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>
lvwerra
left a comment
There was a problem hiding this comment.
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