verticapy.machine_learning.vertica.preprocessing.MinMaxScaler.get_params#
- MinMaxScaler.get_params() dict #
Returns the parameters of the model.
Returns#
- dict
model parameters.
Examples#
Let’s import the model:
from verticapy.machine_learning.vertica import LinearRegression
Then we can create the model:
model = LinearRegression( tol = 1e-6, max_iter = 100, solver = 'newton', fit_intercept = True, )
We can easily get the model parameters:
model.get_params() Out[24]: {'tol': 1e-06, 'max_iter': 100, 'solver': 'newton', 'fit_intercept': True}
Let’s change some of the parameter.
model.set_params( solver = 'bfgs', max_iter = 200, )
The parameters have changed:
model.get_params() Out[26]: {'tol': 1e-06, 'max_iter': 200, 'solver': 'bfgs', 'fit_intercept': True}
Important
For this example, a specific model is utilized, and it may not correspond exactly to the model you are working with. To see a comprehensive example specific to your class of interest, please refer to that particular class.