alteryx / alteryx/evalml

Handle stacked ensembling for partial dependence fast mode

Offen
#3,780 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
new feature
Vorherrschende Sprache
Python
Sterne
850
Forks
96
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Once #3779 is implemented, fast mode will not work in pipelines that use stacked ensembling.

This was not done due to the added complexity of handling it, but we should be able to handle stacked ensembling for partial dependence fast mode by recreating each individual inputted pipeline, getting their original X_t, transform the single column, and generate predictions, thus recreating the dataframe that gets passed into the stacked ensembler estimator.

This should be implemented by adding a `handle_partial_dependence_fast_mode` method in `StackedEnsembleBase` to handle the ensembler and change `_can_be_used_for_fast_partial_dependence` to True.

Note: I expect this to mean we have to change the parameters and return values of `_handle_partial_dependence_fast_mode`, because handling this component means we need to `_get_cloned_feature_pipelines` and `_transform_single_feature` for each sub-pipeline. We should make sure the implementation is still functional for future components that may need to use this method.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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