The Wayback Machine - https://web.archive.org/web/20210728200506/https://github.com/mljar/mljar-supervised/discussions/421
Skip to content
2

Predict with a selected modle #421

xinwei-sher started this conversation in Ideas
Predict with a selected modle #421
Jun 24, 2021 · 1 comments · 5 replies

The predict function uses the best model from AutoML. I'm interested to see the predictions from other models as well. Is there any way to select one of the other models and use it for prediction? Thanks.

"predict(self, X)
Computes predictions from AutoML best model."

Replies

1 comment
·
5 replies
1

To compute predictions from selected model you need to change the model name in the best_model.txt file, then reload the AutoML and compute predictions. It is very ugly approach. I've added issue to add such functionality to select model for predictions: #423

5 replies
@elcolie

I don't have best_model.txt. Where I can find it?

@elcolie

I think I found it. It is params.json. Then looking for best_model

@pplonski

@elcolie you are right, it is in params.json with key best_model. Sorry for confusion. Please let me know if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
3 participants
Beta