Skip to content

Same params, automl selected estimator vs lgbm classifier have different prediction result #174

Answered by sonichi
hanhanwu asked this question in Q&A
Discussion options

You must be logged in to vote

Mostly likely, it's because the time budget is 60s and within that budget, either cv or holdout is used to compared different models. When you retrain the model on the full training data, the model's accuracy is higher because more data are used to fit the model. To confirm it, could you check the logger's info and see whether 'retrain' appears in the log? If not, then flaml did not get a chance to retrain the model with full training data with that time budget. BTW, we'll modify the default behavior of retraining in the next version.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hanhanwu
Comment options

@sonichi
Comment options

@hanhanwu
Comment options

Answer selected by hanhanwu
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