vastorbit.machine_learning.vast.cluster.NearestCentroid.get_params¶
- NearestCentroid.get_params() dict¶
Returns the parameters of the model.
- Returns:
model parameters.
- Return type:
dict
Examples
Let’s import the model:
from vastorbit.machine_learning.vast import LinearRegression
Then we can create the model:
model = LinearRegression( tol = 1e-6, fit_intercept = True, )
We can easily get the model parameters:
model.get_params()
Let’s change some of the parameter.
model.set_params( solver = 'lbfgs', max_iter = 200, )
The parameters have changed:
model.get_params()
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.