@@ -1651,9 +1651,9 @@ def _load_best_individual_model(self):
16511651 )
16521652 return ensemble
16531653
1654- def _load_pareto_front (self ) -> Sequence [VotingClassifier | VotingRegressor ]:
1654+ def _load_pareto_set (self ) -> Sequence [VotingClassifier | VotingRegressor ]:
16551655 if len (self ._metrics ) <= 1 :
1656- raise ValueError ("Pareto front is only available for two or more metrics." )
1656+ raise ValueError ("Pareto set is only available for two or more metrics." )
16571657
16581658 if self ._ensemble_class is not None :
16591659 self .ensemble_ = self ._backend .load_ensemble (self ._seed )
@@ -1664,22 +1664,22 @@ def _load_pareto_front(self) -> Sequence[VotingClassifier | VotingRegressor]:
16641664 if not self .ensemble_ :
16651665
16661666 raise ValueError (
1667- "Pareto front can only be accessed if an ensemble is available."
1667+ "Pareto set can only be accessed if an ensemble is available."
16681668 )
16691669
16701670 if isinstance (self .ensemble_ , AbstractMultiObjectiveEnsemble ):
1671- pareto_front = self .ensemble_ .get_pareto_front ()
1671+ pareto_set = self .ensemble_ .get_pareto_set ()
16721672 else :
16731673 self ._logger .warning (
1674- "Pareto front not available for single objective ensemble "
1675- "method. The Pareto front will only include the single ensemble "
1674+ "Pareto set not available for single objective ensemble "
1675+ "method. The Pareto set will only include the single ensemble "
16761676 "constructed by %s" ,
16771677 type (self .ensemble_ ),
16781678 )
1679- pareto_front = [self .ensemble_ ]
1679+ pareto_set = [self .ensemble_ ]
16801680
16811681 ensembles = []
1682- for ensemble in pareto_front :
1682+ for ensemble in pareto_set :
16831683 identifiers = ensemble .get_selected_model_identifiers ()
16841684 weights = {
16851685 identifier : weight
0 commit comments