get_params

Return the values of training parameters that are explicitly specified by the user. If all parameters are used with their default values, this function returns an empty dict.

Use theĀ get_all_params method to obtain the values of all training parameters (default, user-defined and dynamically calculated).

Method call format

get_params()

Type of return value

dict

A dictionary with the list of all model parameters and the corresponding values.

Format:

{param_key: value}

SeeĀ Python package training parameters for the full list of parameters.