Skip to content

Why I got different results using automl.predict() and automl.model.predict()? #1282

Answered by thinkall
azurechen97 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @azurechen97, There may be some feature transformation in AutoML, in that case, automl.predict() will be different from automl.model.predict(). The code is here. You can pickle the trained automl instance and reuse it later. If you just want to use the model.predict (such as using mlflow autologging), you'll need to pickle the feature_transformer and label_transformer and use it together with the saved model.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@azurechen97
Comment options

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