get_param

Return the value of the given parameter if it is explicitly by the user before starting the training. If this parameter is used with the default value, this function returns None.

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

Method call format

get_param(key)

Parameters

Parameter Possible types Description Default value
key string The key to get the value from. Required parameter
Parameter Possible types Description Default value
key string The key to get the value from. Required parameter

Type of return value

The value of the specified key. Returns None if the parameter does not exist.