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

Bug - AutoML - Wrong final hyper parameters #1311

Closed
mail4umar opened this issue Oct 11, 2024 · 0 comments · Fixed by #1322
Closed

Bug - AutoML - Wrong final hyper parameters #1311

mail4umar opened this issue Oct 11, 2024 · 0 comments · Fixed by #1322
Assignees
Labels
Bug Something isn't working. Machine Learning - AutoML AutoDataPrep, AutoClustering, AutoClassification...

Comments

@mail4umar
Copy link
Collaborator

What is the requested change?

When using AutoML, the final best_model does not appear to have the right parameters. It has some extra.

For example:

from verticapy.machine_learning.vertica.automl import AutoML
auto_ml = AutoML(......)
auto_ml.fit()
best_model = auto_model.best_model_
bm_type = best_model._model_type
hyperparams = best_model.get_params()

print(bm_type)
print(hyperparams)

The output is:

LinearRegression
{'tol': 1e-06, 'C': 1.0, 'max_iter': 100, 'solver': 'newton', 'fit_intercept': True, 'l1_ratio': 1}

In the above, C and l1ratio are not parameters for LinearRegression

@mail4umar mail4umar added the Bug Something isn't working. label Oct 11, 2024
@oualib oualib added this to the VerticaPy 1.1.0 milestone Oct 13, 2024
@oualib oualib self-assigned this Oct 13, 2024
@oualib oualib added the Machine Learning - AutoML AutoDataPrep, AutoClustering, AutoClassification... label Oct 17, 2024
@oualib oualib linked a pull request Oct 24, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working. Machine Learning - AutoML AutoDataPrep, AutoClustering, AutoClassification...
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants