-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Information Retrieval tests (#156)
* init transition to standard metric interface for IR metrics * fixed typo in dtypes checks * removed IGNORE_IDX, refactored tests using * added pep8 compatibility * fixed np.ndarray to np.array * remove lambda functions * fixed typos with numpy dtype * fixed typo in doc example * fixed typo in doc examples about new indexes position * added paramter to class testing to divide kwargs as preds and targets. Fixed typo in doc format * added typo in doc example * added typo with new parameter frament_kwargs in MetricTester * added typo in .cpu() conversion of non-tensor values * improved test coverage * improved test coverage * added check on Tensor class to avoid calling .cpu() on non-tensor values * improved doc and changed default values for 'empty_target_action' argument * refactored tests lists * formatting * simple * agrs * format * _sk * fixed typo in tests Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
- Loading branch information
1 parent
6b95f87
commit 89acd4e
Showing
22 changed files
with
1,023 additions
and
417 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 was deleted.
Oops, something went wrong.
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.