-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ranking metrics API improvements (#1507)
## Description Removes the `convert_non_numeric` argument and swap `prediction_column` for `target_column` when only relevance scores are passed. ## Changes - Determines `convert_non_numeric` automatically by looking for strings in the prediction & target columns - Swap `prediction_column` and `target_column` when only one column name is passed <!-- Reference related commits, issues and pull requests. Type `#` and select from the list. --> Closes #1504 Closes #1505 - [ ] I have reviewed the [Guidelines for Contributing](CONTRIBUTING.md) and the [Code of Conduct](CODE_OF_CONDUCT.md).
- Loading branch information
1 parent
7b83a96
commit b91949f
Showing
2 changed files
with
45 additions
and
13 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