Scorer Installation - 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ā„¢

The only library that Teradata Scoring SDK needs is scoring.jar. You must load this jar file into your environment, and then you can invoke the Scorer like any jar library.

Here are some ways to load the library:
  • Use classpath

    While compiling a package that contains Scoring classes, add scoring.jar to the classpath.

    For example, assume that the application MyApp.java uses Scoring classes. This is the command to compile it from the command line:
    javac -cp .:path_to_scoring.jar MyApp.java

    (You can also add scoring.jar to the classpath when you compile such a package from a builder such as ant or maven.)

    This is the command to run the compiled application from the command line:
    java -cp .:path_to_scoring.jar MyApp
  • Use Eclipse

    Add scoring.jar to the Java build path of the project.

For instructions for installing and running Teradata Scoring SDK in a cloud environment, see your cloud environment documentation for running a third party jar library.