3535 SUPPORTED_TARGET_TYPES ,
3636 )
3737from autosklearn .pipeline .base import PIPELINE_DATA_DTYPE
38- from autosklearn .pipeline .components .base import IterativeComponent
38+ from autosklearn .pipeline .components .base import IterativeComponent , ThirdPartyComponents
3939from autosklearn .metrics import Scorer
4040from autosklearn .util .backend import Backend
4141from autosklearn .util .logging_ import PicklableClientLogger
@@ -160,6 +160,7 @@ def __init__(
160160 backend : Backend ,
161161 queue : multiprocessing .Queue ,
162162 metric : Scorer ,
163+ additional_components : Dict [str , ThirdPartyComponents ],
163164 port : Optional [int ],
164165 configuration : Optional [Union [int , Configuration ]] = None ,
165166 scoring_functions : Optional [List [Scorer ]] = None ,
@@ -184,6 +185,7 @@ def __init__(
184185 port = port ,
185186 configuration = configuration ,
186187 metric = metric ,
188+ additional_components = additional_components ,
187189 scoring_functions = scoring_functions ,
188190 seed = seed ,
189191 output_y_hat_optimization = output_y_hat_optimization ,
@@ -1163,6 +1165,7 @@ def eval_holdout(
11631165 exclude : Optional [List [str ]],
11641166 disable_file_output : bool ,
11651167 port : Optional [int ],
1168+ additional_components : Dict [str , ThirdPartyComponents ],
11661169 init_params : Optional [Dict [str , Any ]] = None ,
11671170 budget : Optional [float ] = 100.0 ,
11681171 budget_type : Optional [str ] = None ,
@@ -1183,6 +1186,7 @@ def eval_holdout(
11831186 include = include ,
11841187 exclude = exclude ,
11851188 disable_file_output = disable_file_output ,
1189+ additional_components = additional_components ,
11861190 init_params = init_params ,
11871191 budget = budget ,
11881192 budget_type = budget_type ,
@@ -1206,6 +1210,7 @@ def eval_iterative_holdout(
12061210 exclude : Optional [List [str ]],
12071211 disable_file_output : bool ,
12081212 port : Optional [int ],
1213+ additional_components : Dict [str , ThirdPartyComponents ],
12091214 init_params : Optional [Dict [str , Any ]] = None ,
12101215 budget : Optional [float ] = 100.0 ,
12111216 budget_type : Optional [str ] = None ,
@@ -1227,6 +1232,7 @@ def eval_iterative_holdout(
12271232 instance = instance ,
12281233 disable_file_output = disable_file_output ,
12291234 iterative = True ,
1235+ additional_components = additional_components ,
12301236 init_params = init_params ,
12311237 budget = budget ,
12321238 budget_type = budget_type
@@ -1249,6 +1255,7 @@ def eval_partial_cv(
12491255 exclude : Optional [List [str ]],
12501256 disable_file_output : bool ,
12511257 port : Optional [int ],
1258+ additional_components : Dict [str , ThirdPartyComponents ],
12521259 init_params : Optional [Dict [str , Any ]] = None ,
12531260 budget : Optional [float ] = None ,
12541261 budget_type : Optional [str ] = None ,
@@ -1274,6 +1281,7 @@ def eval_partial_cv(
12741281 include = include ,
12751282 exclude = exclude ,
12761283 disable_file_output = disable_file_output ,
1284+ additional_components = additional_components ,
12771285 init_params = init_params ,
12781286 budget = budget ,
12791287 budget_type = budget_type ,
@@ -1298,6 +1306,7 @@ def eval_partial_cv_iterative(
12981306 exclude : Optional [List [str ]],
12991307 disable_file_output : bool ,
13001308 port : Optional [int ],
1309+ additional_components : Dict [str , ThirdPartyComponents ],
13011310 init_params : Optional [Dict [str , Any ]] = None ,
13021311 budget : Optional [float ] = None ,
13031312 budget_type : Optional [str ] = None ,
@@ -1321,6 +1330,7 @@ def eval_partial_cv_iterative(
13211330 exclude = exclude ,
13221331 disable_file_output = disable_file_output ,
13231332 iterative = True ,
1333+ additional_components = additional_components ,
13241334 init_params = init_params ,
13251335 )
13261336
@@ -1342,6 +1352,7 @@ def eval_cv(
13421352 exclude : Optional [List [str ]],
13431353 disable_file_output : bool ,
13441354 port : Optional [int ],
1355+ additional_components : Dict [str , ThirdPartyComponents ],
13451356 init_params : Optional [Dict [str , Any ]] = None ,
13461357 budget : Optional [float ] = None ,
13471358 budget_type : Optional [str ] = None ,
@@ -1362,6 +1373,7 @@ def eval_cv(
13621373 include = include ,
13631374 exclude = exclude ,
13641375 disable_file_output = disable_file_output ,
1376+ additional_components = additional_components ,
13651377 init_params = init_params ,
13661378 budget = budget ,
13671379 budget_type = budget_type ,
@@ -1386,6 +1398,7 @@ def eval_iterative_cv(
13861398 exclude : Optional [List [str ]],
13871399 disable_file_output : bool ,
13881400 port : Optional [int ],
1401+ additional_components : Dict [str , ThirdPartyComponents ],
13891402 init_params : Optional [Dict [str , Any ]] = None ,
13901403 budget : Optional [float ] = None ,
13911404 budget_type : Optional [str ] = None ,
@@ -1406,6 +1419,7 @@ def eval_iterative_cv(
14061419 exclude = exclude ,
14071420 disable_file_output = disable_file_output ,
14081421 port = port ,
1422+ additional_components = additional_components ,
14091423 init_params = init_params ,
14101424 budget = budget ,
14111425 budget_type = budget_type ,
0 commit comments