Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 167 additions & 48 deletions autosklearn/automl.py

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions autosklearn/data/target_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,8 @@ def _fit(
f" Data involved = {shape}/{self.type_of_target}"
)

# Creat the encoder
self.encoder = OrdinalEncoder(
handle_unknown="use_encoded_value", unknown_value=-1
)
# Create the encoder
self.encoder = OrdinalEncoder(handle_unknown="error")

# Clear typing to just numpy arrays and pandas
if isinstance(y_train, List):
Expand Down
Loading