remove_saved_models | autoML | teradataml - remove_saved_models - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Package for Python
Release Number
20.00
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-23
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
lifecycle
latest
Product Category
Teradata Vantage

Use the remove_saved_models() function to remove the specified table containing saved models.

If any data table result table is not present inside the database, then it will be skipped.

Raises TeradataMlException.

Required argument:
  • table_name specifies the table name containing saved models.

    Types: str

Example 1: Create an instance of the AutoML called "obj" by referring "AutoML() or AutoRegressor() or AutoClassifier()" method

>>> obj = AutoML()

Example 2: Remove saved models from the specified table

remove_saved_models() removes all information related to the saved models. This can include necessary information for running other deployed models if the "persist" parameter is set to True during AutoML fitting.
>>> obj.remove_saved_models("model_table")