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

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Publication Date
March 2025
Content Type
User Guide
Publication ID
B700-4006-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
ft:sourceId
dita
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