Early stopping methods in hyperparameter tunning | GridSearch | teradataml - Example 5: Early Stopping Methods in Hyperparameter Tunning - 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
teradataml GridSearch provides the capability of early stopping hyperparameter tuning based on the following:
  • Time based: Hyperparameter tuning is stopped once the maximum time is reached, thereby ceasing the optimization of hyperparameters.
  • Metrics based: Hyperparameter tuning is terminated once a trained model satisfies the specified minimum or maximum thresholds for the respective performance metrics, as dictated by the evaluation criteria.
    Metrics based method cannot be used for Non-Model Trainer function.
Both time and metrics methods can be used simultaneously, and hyperparameter tuning stops when either of these two methods satisfies the stopping condition.