remove_saved_models | autoML | teradataml - remove_saved_models - 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

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

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

Required Argument

table_name
Specifies the table name containing saved models.

Example 1: Create an instance of the AutoML called "obj" by referring "AutoML() or AutoRegressor() or AutoClassifier() or AutoFraud() or AutoChurn() or AutoCluster()" 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")