Skip to content
Discussion options

You must be logged in to vote

Hi maycuiyan,

Thank you for the question. You can do it in FLMAL by adding a customized learner:

  1. Create a customized LGBM estimator class (in which you can specify the customized_objective)
  2. Add this customized learner to the FLAML's AutoML instance through the add_learner() function.
  3. Then, you can choose to use this newly added learner by specifying the estimator_list argument in FLAML AutoML's fit() function.
    You can find an example of how to add a customized learner in section 3 of this notebook https://github.com/microsoft/FLAML/blob/main/notebook/flaml_automl.ipynb

Please let me know if you need more help with adding your customized learner.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@qingyun-wu
Comment options

@qingyun-wu
Comment options

@maycuiyan
Comment options

@qingyun-wu
Comment options

@maycuiyan
Comment options

Answer selected by maycuiyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants