alteryx / alteryx/evalml

Standardize how we access unique target values for classification problems

Offen
#3,112 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @asniyaz Auf GitHub ansehen
refactor tech debt
Vorherrschende Sprache
Python
Sterne
850
Forks
96
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Right now, we access unique target values for classification problems in several ways:
1. `list(ww.init_series(np.unique(y)))` (`classification_pipeline.py`)
2. `unique_labels` (`confusion_matrix`)
3. LabelBinarizer / np.unique in `roc_curve` (slightly different than label encoding)

It could be helpful to standardize how we encode and decode targets pre and post fit time. This issue tracks finding places where we encode/decode and seeing how we could standardize this process.

Note that in some cases, we might encode/decode outside of the context of a pipeline (such as confusion_matrix), but it could still be helpful to consolidate our implementation to fewer methods if possible!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.