model_hyperparameters | AutoML | teradataml - model_hyperparameters - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

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