Bring Your Own Model | BYOM | Teradata Vantage - 3.0 - Bring Your Own Model - Teradata Vantage

Teradata Vantage™ - Bring Your Own Model User Guide

Product
Teradata Vantage
Release Number
3.0
Published
May 2022
Last Update
2022-06-02
Content Type
User Guide
Publication ID
B700-1111-051K
Language
English (United States)

Teradata Vantage™ is our flagship data platform for enterprise analytics, which evolved from our industry-leading Teradata® Database. Advanced SQL Engine is the best-in-class processing engine at the Vantage core. Advanced SQL refers to the ability to run advanced analytic functions beyond that of standard SQL.

The Vantage Bring Your Own Model (BYOM) package gives data scientists and analysts the ability to operationalize predictive models in Vantage. Predictive models trained in external tools with sample data can be used to score data stored in Vantage using the BYOM Predict. Create or convert your predictive model using a supported model interchange format (PMML, MOJO, and ONNX currently available), store it in a Vantage table, and use the BYOM PMMLPredict, H2OPredict, or ONNXPredict to score your data with the model. Other model interchange formats will be available in 2022.

The Vantage BYOM package supports the following model formats:
  • Predictive Model Markup Language (PMML)
  • Model Object Optimized (MOJO)
  • Open Neural Network Exchange (ONNX)

Without Vantage BYOM

  1. Prepare or transform sample data/features in Vantage.
  2. Export sample data from Vantage to the external platform.
  3. Construct and train models using external modeling tools running on an external platform.
  4. Prepare or transform scoring data/features in Vantage.
  5. Export the raw data/features from Vantage to the external platform.
  6. Run scoring/prediction jobs on the external platform.
  7. Import scores from the external platform to Vantage.
  8. Repeat steps 4-7 as new raw data/features become available.

Vantage BYOM is more efficient because you can eliminate steps 5-8, and scoring models in Vantage has high-performance and is scalable to multiple models running concurrently.

With Vantage BYOM PMMLPredict Function

  1. Generate the external model in PMML or convert the external model to PMML.
  2. Load the PPML model into a Vantage table.
  3. Use the PMMLPredict function to score/predict on the data in Vantage.

With Vantage BYOM H2OPredict Function

  1. Generate the external MOJO model in H2O Open Source or H2O Driverless AI.
  2. Load the MOJO model into a Vantage table.
  3. Use the H2OPredict function to create predictions on the data stored in Vantage.

With Vantage BYOM ONNXPredict Function

  1. Generate the external model in ONNX or convert the external model to ONNX.
  2. Load the ONNX model into a Vantage table.
  3. Use the ONNXPredict function to create predictions on the data stored in Vantage.
Shows Bring Your Own Model Workflow