Bug - AutoML - Wrong final hyper parameters
Closed this issue · 0 comments
mail4umar commented
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