Using Teradata Scoring SDK - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.10
1.1
Published
October 2019
Language
English (United States)
Last Update
2019-12-31
dita:mapPath
ima1540829771750.ditamap
dita:ditavalPath
jsj1481748799576.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.