Use the model_hyperparameters() function to get hyperparameters of the model based on rank in leaderboard.
If both the fit() and load() methods are invoked before calling model_hyperparameters(), by default hyperparameters are retrieved from the fit leaderboard.
To retrieve hyperparameters from the loaded models, set "use_loaded_models" to True in the model_hyperparameters call. Returns Dictionary containing hyperparameters.
Raises TeradataMlException.
Required argument:
- rank specifies the rank of the model in the leaderboard.
Default value: 1
Types: int
Optional argument:
- use_loaded_models specifies the rank of the model in the leaderboard.
Default value: False
Types: bool