Using Teradata Scoring SDK | Teradata Vantage - Using Teradata Scoring SDK - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
9.02
9.01
2.0
1.3
Published
February 2022
Language
English (United States)
Last Update
2022-02-10
dita:mapPath
rnn1580259159235.ditamap
dita:ditavalPath
ybt1582220416951.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢
To use Teradata Scoring SDK, follow these steps.
  1. Train the model and load the data on Teradata framework.
    Load any additional tables (such as dictionary or rules for text analytics) on ML Engine or install them as files on ML Engine.
  2. Use the AMLGenerator to create the .aml file.
    In the AMLGenerator function call, specify the model (from the previous step) and relevant information for the Teradata Scoring SDK function.
  3. Transfer the .aml file to the real-time system:
    1. Download the .aml file from the Teradata framework, using this command:
      call pm.download_afile ('aml_model_file.aml')
      The file is saved in the default storage directory on Teradata MPP nodes (Default: /etc/opt/teradata/tdconfig/Teradata/tdbs_udf/usr/).
    2. Upload the file to the external system, working in real time, using any standard ssh/scp client tool.
  4. Use the Scorer API to score input requests.