Teradata Package for Python Function Reference | 20.00 - get_error_log - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00.00.03
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-19
dita:id
TeradataPython_FxRef_Enterprise_2000
Product Category
Teradata Vantage
teradataml.hyperparameter_tuner.optimizer.RandomSearch.get_error_log = get_error_log(self, model_id)
DESCRIPTION:
    Function to get the error logs of a failed model training in the fit method.
 
PARAMETERS:
    model_id:
        Required Argument.
        Specifies the unique identifier for model.
        Note:
             * Only failed model training error log is returned.
        Types: str
 
RETURNS:
    string
 
RAISES:
    TypeError, ValueError
 
EXAMPLES:
    >>> # Create an instance of the search algorithm called "optimizer_obj" 
    >>> # by referring "__init__()" method.
    >>> # Perform "fit()" method on the optimizer_obj to populate model records.
    >>> # Retrieve the error log.
    >>> optimizer_obj.get_error_log("SVM_2")
        "[Teradata][teradataml](TDML_2082) Value of 'iter_max' must be greater 
        than or equal to 1 and less than or equal to 10000000."