Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with automl._best_model() #712

Closed
williamty opened this issue Mar 3, 2024 · 1 comment
Closed

problem with automl._best_model() #712

williamty opened this issue Mar 3, 2024 · 1 comment

Comments

@williamty
Copy link

williamty commented Mar 3, 2024

I used this code to get best model's name before. but recently, I found I cannot use it to do the same thing on new models which are built these days. Why? Is there anything change? I'm sure new models are built in the same ways as before.

automl._best_model.get_name()
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'NoneType' object has no attribute 'get_name'

@williamty
Copy link
Author

I found that the problem is that one must run predict first to activate the model (I think).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant