automl / auto-sklearn

Automated Machine Learning with scikit-learn
https://automl.github.io/auto-sklearn
BSD 3-Clause "New" or "Revised" License
7.48k stars 1.27k forks source link

[Question] How to Implement and Utilize MultiObjectiveDummyEnsemble in auto-sklearn? #1699

Closed zoneria closed 9 months ago

zoneria commented 9 months ago

I am trying to implement a multi-objective ensemble model using auto-sklearn, specifically utilizing the MultiObjectiveDummyEnsemble class for optimizing both accuracy and F1 score. However, I am not sure of how to properly initialize and use this class in my code.

Context:

  1. I encountered this issue while working on a classification task.
  2. A small snippet demonstrating the correct usage of MultiObjectiveDummyEnsemble with multi-metric optimization would be very helpful.
  3. I have looked at the [official documentation](https://automl.github.io/auto-sklearn/master/api.html & https://automl.github.io/auto-sklearn/master/_modules/autosklearn/ensembles/multiobjective_dummy_ensemble.html#MultiObjectiveDummyEnsemble.fit) but couldn't find a clear example or guidelines on how to use MultiObjectiveDummyEnsemble.
  4. Thank you very much for answering this question