Skip to content

Commit

Permalink
Add ndcg and sum_gain in known ranking metrics for custom perf tagging (
Browse files Browse the repository at this point in the history
#1498)

## Description

This PR adds ndcg and sum_gain in the list of known ranking metrics
columns, so it will be automatically tagged as custom performance for
whylabs.

- [x] I have reviewed the [Guidelines for Contributing](CONTRIBUTING.md)
and the [Code of Conduct](CODE_OF_CONDUCT.md).

---------

Co-authored-by: felipe207 <felipe@whylabs.ai>
  • Loading branch information
FelipeAdachi and felipe207 committed Apr 11, 2024
1 parent 9c0dddb commit 98b6c9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/whylogs/api/writer/whylabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@
"recall_k_": "mean",
"top_rank": "mean",
"average_precision_k_": "mean",
"norm_dis_cumul_gain_k_": "mean",
"sum_gain_k_": "mean",
}


Expand Down

0 comments on commit 98b6c9a

Please sign in to comment.