From 5f9204dc564544d4baee17aa351cc82ea5aaaa50 Mon Sep 17 00:00:00 2001 From: christopherbunn Date: Fri, 27 Oct 2023 13:15:23 -0400 Subject: [PATCH] Fix imputer insertion --- evalml/pipelines/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evalml/pipelines/utils.py b/evalml/pipelines/utils.py index ab31aa8cd3..2ff2e0accf 100644 --- a/evalml/pipelines/utils.py +++ b/evalml/pipelines/utils.py @@ -301,7 +301,7 @@ def _get_preprocessing_components( if include_decomposer: components_functions = [_get_imputer, _get_decomposer] else: - return [_get_imputer] + components_functions = [_get_imputer] elif is_time_series(problem_type): components_functions = [