1.1 - 8.10 - Using Teradata Scoring SDK - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)
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.