deploy | AutoDataPrep in AutoML | teradataml - deploy - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

Use the deploy() function to deploy the AutoDataPrep-generated data to the database, i.e., save the data in the database.

Required Parameter

table_name
Specifies the name of the table to store the information of deployed datasets in the database.

Example setup

  • Create an instance of the AutoDataPrep.
  • Perform fit() operation on the AutoDataPrep object.
  • Deploy the data to the table.
  • From teradataml, import AutoDataPrep.
  • Load the example data.
>>> load_example_data("teradataml", "titanic")
>>> titanic = DataFrame.from_table("titanic")

Example 1: Deploy data

Create an instance of AutoDataPrep.

>>> aprep_obj = AutoDataPrep(task_type="Classification", verbose=2)

Fit the data.

>>> aprep_obj.fit(titanic, titanic.survived)

Deploy the data to the table.

>>> aprep_obj.deploy("table_name")