35
35
SUPPORTED_TARGET_TYPES ,
36
36
)
37
37
from autosklearn .pipeline .base import PIPELINE_DATA_DTYPE
38
- from autosklearn .pipeline .components .base import IterativeComponent
38
+ from autosklearn .pipeline .components .base import IterativeComponent , ThirdPartyComponents
39
39
from autosklearn .metrics import Scorer
40
40
from autosklearn .util .backend import Backend
41
41
from autosklearn .util .logging_ import PicklableClientLogger
@@ -160,6 +160,7 @@ def __init__(
160
160
backend : Backend ,
161
161
queue : multiprocessing .Queue ,
162
162
metric : Scorer ,
163
+ additional_components : Dict [str , ThirdPartyComponents ],
163
164
port : Optional [int ],
164
165
configuration : Optional [Union [int , Configuration ]] = None ,
165
166
scoring_functions : Optional [List [Scorer ]] = None ,
@@ -184,6 +185,7 @@ def __init__(
184
185
port = port ,
185
186
configuration = configuration ,
186
187
metric = metric ,
188
+ additional_components = additional_components ,
187
189
scoring_functions = scoring_functions ,
188
190
seed = seed ,
189
191
output_y_hat_optimization = output_y_hat_optimization ,
@@ -1163,6 +1165,7 @@ def eval_holdout(
1163
1165
exclude : Optional [List [str ]],
1164
1166
disable_file_output : bool ,
1165
1167
port : Optional [int ],
1168
+ additional_components : Dict [str , ThirdPartyComponents ],
1166
1169
init_params : Optional [Dict [str , Any ]] = None ,
1167
1170
budget : Optional [float ] = 100.0 ,
1168
1171
budget_type : Optional [str ] = None ,
@@ -1183,6 +1186,7 @@ def eval_holdout(
1183
1186
include = include ,
1184
1187
exclude = exclude ,
1185
1188
disable_file_output = disable_file_output ,
1189
+ additional_components = additional_components ,
1186
1190
init_params = init_params ,
1187
1191
budget = budget ,
1188
1192
budget_type = budget_type ,
@@ -1206,6 +1210,7 @@ def eval_iterative_holdout(
1206
1210
exclude : Optional [List [str ]],
1207
1211
disable_file_output : bool ,
1208
1212
port : Optional [int ],
1213
+ additional_components : Dict [str , ThirdPartyComponents ],
1209
1214
init_params : Optional [Dict [str , Any ]] = None ,
1210
1215
budget : Optional [float ] = 100.0 ,
1211
1216
budget_type : Optional [str ] = None ,
@@ -1227,6 +1232,7 @@ def eval_iterative_holdout(
1227
1232
instance = instance ,
1228
1233
disable_file_output = disable_file_output ,
1229
1234
iterative = True ,
1235
+ additional_components = additional_components ,
1230
1236
init_params = init_params ,
1231
1237
budget = budget ,
1232
1238
budget_type = budget_type
@@ -1249,6 +1255,7 @@ def eval_partial_cv(
1249
1255
exclude : Optional [List [str ]],
1250
1256
disable_file_output : bool ,
1251
1257
port : Optional [int ],
1258
+ additional_components : Dict [str , ThirdPartyComponents ],
1252
1259
init_params : Optional [Dict [str , Any ]] = None ,
1253
1260
budget : Optional [float ] = None ,
1254
1261
budget_type : Optional [str ] = None ,
@@ -1274,6 +1281,7 @@ def eval_partial_cv(
1274
1281
include = include ,
1275
1282
exclude = exclude ,
1276
1283
disable_file_output = disable_file_output ,
1284
+ additional_components = additional_components ,
1277
1285
init_params = init_params ,
1278
1286
budget = budget ,
1279
1287
budget_type = budget_type ,
@@ -1298,6 +1306,7 @@ def eval_partial_cv_iterative(
1298
1306
exclude : Optional [List [str ]],
1299
1307
disable_file_output : bool ,
1300
1308
port : Optional [int ],
1309
+ additional_components : Dict [str , ThirdPartyComponents ],
1301
1310
init_params : Optional [Dict [str , Any ]] = None ,
1302
1311
budget : Optional [float ] = None ,
1303
1312
budget_type : Optional [str ] = None ,
@@ -1321,6 +1330,7 @@ def eval_partial_cv_iterative(
1321
1330
exclude = exclude ,
1322
1331
disable_file_output = disable_file_output ,
1323
1332
iterative = True ,
1333
+ additional_components = additional_components ,
1324
1334
init_params = init_params ,
1325
1335
)
1326
1336
@@ -1342,6 +1352,7 @@ def eval_cv(
1342
1352
exclude : Optional [List [str ]],
1343
1353
disable_file_output : bool ,
1344
1354
port : Optional [int ],
1355
+ additional_components : Dict [str , ThirdPartyComponents ],
1345
1356
init_params : Optional [Dict [str , Any ]] = None ,
1346
1357
budget : Optional [float ] = None ,
1347
1358
budget_type : Optional [str ] = None ,
@@ -1362,6 +1373,7 @@ def eval_cv(
1362
1373
include = include ,
1363
1374
exclude = exclude ,
1364
1375
disable_file_output = disable_file_output ,
1376
+ additional_components = additional_components ,
1365
1377
init_params = init_params ,
1366
1378
budget = budget ,
1367
1379
budget_type = budget_type ,
@@ -1386,6 +1398,7 @@ def eval_iterative_cv(
1386
1398
exclude : Optional [List [str ]],
1387
1399
disable_file_output : bool ,
1388
1400
port : Optional [int ],
1401
+ additional_components : Dict [str , ThirdPartyComponents ],
1389
1402
init_params : Optional [Dict [str , Any ]] = None ,
1390
1403
budget : Optional [float ] = None ,
1391
1404
budget_type : Optional [str ] = None ,
@@ -1406,6 +1419,7 @@ def eval_iterative_cv(
1406
1419
exclude = exclude ,
1407
1420
disable_file_output = disable_file_output ,
1408
1421
port = port ,
1422
+ additional_components = additional_components ,
1409
1423
init_params = init_params ,
1410
1424
budget = budget ,
1411
1425
budget_type = budget_type ,
0 commit comments