@@ -1651,9 +1651,9 @@ def _load_best_individual_model(self):
1651
1651
)
1652
1652
return ensemble
1653
1653
1654
- def _load_pareto_front (self ) -> Sequence [VotingClassifier | VotingRegressor ]:
1654
+ def _load_pareto_set (self ) -> Sequence [VotingClassifier | VotingRegressor ]:
1655
1655
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." )
1657
1657
1658
1658
if self ._ensemble_class is not None :
1659
1659
self .ensemble_ = self ._backend .load_ensemble (self ._seed )
@@ -1664,22 +1664,22 @@ def _load_pareto_front(self) -> Sequence[VotingClassifier | VotingRegressor]:
1664
1664
if not self .ensemble_ :
1665
1665
1666
1666
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."
1668
1668
)
1669
1669
1670
1670
if isinstance (self .ensemble_ , AbstractMultiObjectiveEnsemble ):
1671
- pareto_front = self .ensemble_ .get_pareto_front ()
1671
+ pareto_set = self .ensemble_ .get_pareto_set ()
1672
1672
else :
1673
1673
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 "
1676
1676
"constructed by %s" ,
1677
1677
type (self .ensemble_ ),
1678
1678
)
1679
- pareto_front = [self .ensemble_ ]
1679
+ pareto_set = [self .ensemble_ ]
1680
1680
1681
1681
ensembles = []
1682
- for ensemble in pareto_front :
1682
+ for ensemble in pareto_set :
1683
1683
identifiers = ensemble .get_selected_model_identifiers ()
1684
1684
weights = {
1685
1685
identifier : weight
0 commit comments