Skip to content

Commit bca798f

Browse files
mfeurereddiebergman
andcommitted
Multi-objective ensemble API
Co-authored-by: eddiebergman <[email protected]>
1 parent becbd07 commit bca798f

37 files changed

+1340
-465
lines changed

autosklearn/automl.py

Lines changed: 155 additions & 42 deletions
Large diffs are not rendered by default.

autosklearn/data/target_validator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,8 @@ def _fit(
170170
f" Data involved = {shape}/{self.type_of_target}"
171171
)
172172

173-
# Creat the encoder
174-
self.encoder = OrdinalEncoder(
175-
handle_unknown="use_encoded_value", unknown_value=-1
176-
)
173+
# Create the encoder
174+
self.encoder = OrdinalEncoder(handle_unknown="error")
177175

178176
# Clear typing to just numpy arrays and pandas
179177
if isinstance(y_train, List):

0 commit comments

Comments
 (0)