MRR Examples
- Dominant language
- Python
- Stars
- 25
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
Create a usage example on how these ranking metrics can be used:
```
+------------------------------------------------------------+-------------------------------------------------------------------------------+
| Python API | Description |
+============================================================+===============================================================================+
| `metriks.mean_reciprocal_rank(y_true, y_prob)` | Gets a positional score on how well you did at rank 1, rank 2, etc. |
+------------------------------------------------------------+-------------------------------------------------------------------------------+
| `metriks.label_mean_reciprocal_rank(y_true, y_prob)` | Determines the average rank each label was placed across samples. Only labels |
| | that are relevant in the true data set are considered in the calculation. |
+------------------------------------------------------------+-------------------------------------------------------------------------------+
```
1. Identify a dataset that can be used to train a ranking model
2. Train a ranking model with the data
3. Use the given metrics above and show results and demonstrate how these metrics can be used
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.