You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If constructing the automl instance with only a single metric but then using multiple metrics during ensemble, querying for the pareto front will fail with:
File"/home/skantify/code/automlbenchmark-fairness-private/frameworks/autosklearn_moo/lib/auto-sklearn/autosklearn/automl.py", line1656, in_load_pareto_setraiseValueError("Pareto set is only available for two or more metrics.")
The text was updated successfully, but these errors were encountered:
I guess this is an odd case and doesn't seem easy to fix. fit_ensemble() doesn't take different metrics and the only source of metrics is the init. I'll close but if this is an issue in the future, I guess we can re-open
That's an easy fix for sure, but the issue also lies in the fact that the point of entry for metrics is at __init__ time.
If you wish to have single objective SMAC runs, you pass in a single objective. Any Ensembler is then lmited to this one metric and it makes no sense to have a multiobjective one. I guess the easiest workaround is allow fit_ensemble to take metrics?
How does this sound?
# Optimize with respect to one metricautoml=AutoSklearnCalssifier(metric=acc, ensemble=None)
automl.fit(X, y)
# Fit ensemble with respect to many# Need to add this `metrics` arg to APIautoml.fit_ensemble(X, y, ensemble=MooEnsemble, metrics=[acc, auc])
If constructing the automl instance with only a single metric but then using multiple metrics during ensemble, querying for the pareto front will fail with:
The text was updated successfully, but these errors were encountered: