Teradata Package for Python Function Reference on VantageCloud Lake - generate_custom_config - 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 on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
20.00.00.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4500-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.automl.automl.AutoML.generate_custom_config = generate_custom_config(file_name='custom', cluster=False)
DESCRIPTION:
    Function generates custom JSON file containing user customized input under current 
    working directory which can be used for AutoML execution.
 
PARAMETERS:
    file_name:
        Optional Argument.
        Specifies the name of the file to be generated. Do not pass the file name
        with extension. Extension '.json' is automatically added to specified file name.
        Default Value: "custom"
        Types: str
    
    cluster:
        Optional Argument.
        Specifies whether to generate configuration for clustering tasks.
        When set to True, generates clustering-specific configuration options.
        Default Value: False
        Types: bool
 
RETURNS:
    None 
 
EXAMPLES:
    # Import either of "AutoML" or "AutoClassifier" or "AutoRegressor" or 
    # or "AutoFraud" or "AutoChurn" or "AutoCluster" from teradataml.
    # As per requirement, generate json file using generate_custom_config() method.
    
    # Generate a default file named "custom.json" file using either of below options.
    >>> AutoML.generate_custom_config()
    or
    >>> AutoClassifier.generate_custom_config()
    or 
    >>> AutoRegressor.generate_custom_config()
    or
    >>> AutoFraud.generate_custom_config()
    or
    >>> AutoChurn.generate_custom_config()
    or
    >>> AutoCluster.generate_custom_config()
    # The above code will generate "custom.json" file under the current working directory.
    
    # Generate different file name using "file_name" argument.
    >>> AutoML.generate_custom_config("titanic_custom")
    or
    >>> AutoClassifier.generate_custom_config("titanic_custom")
    or
    >>> AutoRegressor.generate_custom_config("housing_custom")
    # The above code will generate "titanic_custom.json" file under the current working directory.