Skip to content

Commit

Permalink
Multi-objective ensemble API (#1485)
Browse files Browse the repository at this point in the history
* Multi-objective ensemble API

Co-authored-by: eddiebergman <[email protected]>

* update for rebase, add loading of X_data in ensemble builder

* Add unit tests

* Fix unittest?, increase coverage (hopefully)

* Rename methods to be Pareto set methods

Co-authored-by: eddiebergman <[email protected]>
  • Loading branch information
mfeurer and eddiebergman authored May 30, 2022
1 parent 4b21134 commit 25f0be6
Show file tree
Hide file tree
Showing 40 changed files with 1,559 additions and 502 deletions.
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

0 comments on commit 25f0be6

Please sign in to comment.