Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions autosklearn/ensembles/abstract_ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def predict(

Returns
-------
array : [n_data_points]
np.ndarray
"""
pass

Expand All @@ -97,7 +97,7 @@ def get_models_with_weights(

Returns
-------
array : [(weight_1, model_1), ..., (weight_n, model_n)]
List[Tuple[float, BasePipeline]]
"""

@abstractmethod
Expand All @@ -115,7 +115,7 @@ def get_identifiers_with_weights(

Returns
-------
array : [(identifier_1, weight_1), ..., (identifier_n, weight_n)]
List[Tuple[Tuple[int, int, float], float]
"""

@abstractmethod
Expand All @@ -141,4 +141,4 @@ def get_validation_performance(self) -> float:

class AbstractMultiObjectiveEnsemble(AbstractEnsemble):
def get_pareto_set(self) -> Sequence[AbstractEnsemble]:
pass
raise NotImplementedError()
Loading