1.1 - 8.10 - Scorer Installation - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Teradata Vantage
Release Number
October 2019
Content Type
Programming Reference
Publication ID
English (United States)

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.