Pipeline–GridSearchCV cloning boundary: transformer state after refit
Integration boundary between Pipeline and GridSearchCV When a Pipeline is passed to GridSearchCV, the search routine clones the entire pipeline for each parameter combination and cross-validation fold. This cloning discards any instance attributes that were set on the original pipeline object after construction. After the search completes, GridSearchCV refit