-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add signed percentage error histogram to regression evaluator (#496)
* add regression threshold metrics case classes and logical skeleton * add tests for threshold metrics * WIP regression threshold metrics * improved implementation signed percentage error histogram; add test suite for it * fix whitespace * avoid hardcoded default evaluators but instead set them as defaults; backward compatible by prepending these defaults if necessary * Revert "avoid hardcoded default evaluators but instead set them as defaults; backward compatible by prepending these defaults if necessary" This reverts commit 218850b * add enum * nested SignedPercentageErrorHistogram case class; use Longs for counts * rename test method * drop smartCutoff parameter in favor of defined/undefined smartCutoffRatio * optimization: don't get param inside .map * docs * make it explicit that we want a call by value * make it explicit that we want a call by value Co-authored-by: Tuan Nguyen <anhtuan277@gmail.com>
- Loading branch information
1 parent
964b58e
commit d0b1038
Showing
5 changed files
with
409 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.