alteryx / alteryx/evalml

Define pipeline_base __copy__() or __deepcopy__() operator

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

Beschreibung

A common way to execute a deepcopy is to use the python builtin copy library. Currently, in the EvalML baseline, we use the `pipeline.clone()` and `pipeline.new()` methods. Does it make more sense to define the `__copy__()` impl and `__deepcopy__()` impl and refactor to import the copy library and do `copy.copy(pipeline)` or `copy.deepcopy(pipeline)` instead?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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