You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You will find this simple formula implemented in some of our examples, too. Because it is so simple, I‘m against adding it to the already large metrics API.
We could, however, improve the doc and mention Gini in
Activity
lorentzenchr commentedon Jan 16, 2024
You will find this simple formula implemented in some of our examples, too. Because it is so simple, I‘m against adding it to the already large metrics API.
We could, however, improve the doc and mention Gini in
roc_auc_scoredzisandy commentedon Jan 17, 2024
I strongly agree, that this fact can be written in docstring. How’s about adding Gini as attribute of roc_auc_score?
glemaitre commentedon Jan 17, 2024
I would not add as attribute since attribute means that this is the input parameters.
However, we can add a
Notessection where we can mentioned the Gini coefficient and the equivalence with the ROC AUC.glemaitre commentedon Jan 17, 2024
@dzisandy do you want to make a pull-request?
dzisandy commentedon Jan 17, 2024
@glemaitre it will be great. So we want to modify only the Notes section in doc string?
glemaitre commentedon Jan 17, 2024
Indeed. If no the
Notessection does not exist we need to create one. We need to follow the numpydoc format: https://numpydoc.readthedocs.io/en/latest/format.html (the ordering is particularly important otherwise the CIs will fail).[-]Need Gini coefficient implementation[/-][+]DOC Need Gini coefficient implementation[/+]dzisandy commentedon Jan 17, 2024
@glemaitre created finally request.