Teradata Package for Python Function Reference on VantageCloud Lake - load: Load saved models - 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.opensource.td_lightgbm.load = load(model_name)
DESCRIPTION:
    Loads the model from Vantage based on the interface object on which this function
    is called.
    For example, if the model in "model_name" argument is statsmodel model, then this
    function raises exception if the interface object is `td_lightgbm`.
 
PARAMETERS:
    model_name:
        Required Argument.
        Specifies the name of the model to be loaded.
        Types: str
 
RETURNS:
    The opensource object wrapper.
 
RAISES:
    TeradataMlException if model with name "model_name" does not exist.
 
EXAMPLE:
    >>> from teradataml import td_lightgbm
    >>> # Load the model saved in Vantage. Note that the model is saved using
    >>> # `deploy()` of exposed interface object (like `td_lightgbm`) or
    >>> # `_OpenSourceObjectWrapper` Object.
    >>> model = td_lightgbm.load("lgb_model_ver_1")
    >>> model
    LGBMClassifier()