aai-institute / aai-institute/pyDVL

Hard-code ranges for known scorers if requested by name

Ouverte
#272 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement good first issue
Langage dominant
Python
Étoiles
146
Forks
10
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

when instantiating the Scorer class, the user has the option of passing in a range of values.

Since most of the time the users will use well known and well defined scorers we should be able to auto-fill
its range from a dictionary of known scorers.

We can get the names of the scikit-learn's scorers from [here](https://github.com/scikit-learn/scikit-learn/blob/8c9c1f27b/sklearn/metrics/_scorer.py#L842).

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Look at the Scorer class in the codebase to understand how ranges are currently passed. The issue references a specific line in scikit-learn's _scorer.py for known scorer names. Start by examining how scorers are instantiated and where a dictionary mapping scorer names to their ranges could be added. Check existing tests for the Scorer class to see how to validate the new feature.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python, scikit-learn
Domaine
machine-learning, tooling
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.