Skip to content

Click in-app to access the full platform documentation for your version of DataRobot.

Download Scoring Code

If you have deployed a model that uses Scoring Code, you can download the Scoring Code directly from the deployment. Alternatively, you can download Scoring Code for the model via the Leaderboard.

Deployment download

Availability information

The behavior of deployments from which you download Scoring Code depends on the pricing plan for your organization. Reference the pricing differences documentation for more information.

To download Scoring Code directly from a deployment, navigate to the Predictions > Portable Predictions tab and select the Scoring Code tile.

Alternatively, select Get Scoring Code from the Actions menu.

From the Portable Predictions tab, configure the download:

  • Toggle Include monitoring agent to download the MLOps Agent with your Scoring Code.
  • Toggle Include prediction explanations to download Prediction Explanations with your Scoring Code. Prediction Explanations help quantify the effect that individual variables have on a prediction.
  • Choose to download the Scoring Code in binary or source format:
Selection Description
Binary These are compiled Java executables, which include all dependencies and can be used to make predictions.
Source (Java source code files) These are a non-obfuscated version of the model; they cannot be used to score the model since they are not compiled and dependency packages are not included. Use the source files to explore the model’s decision making process.

After selecting your configuration, click Download.

Warning

For users not on the 5.0 pricing plan who choose to download Scoring Code, the deployment becomes permanent and cannot be deleted. A warning message prompts you to accept this condition. Use the toggle to indicate your understanding, choose to download in Binary or Source format, then click Generate and Download.

When the Scoring Code download completes, use the monitoring snippet to instrument the Scoring Code. For examples, reference the MLOps agent tarball documentation, which can be downloaded from the Developer Tools page.

Leaderboard download

Availability information

The ability to download Scoring Code for a model from the Leaderboard depends on the pricing plan for your organization. Reference the pricing differences documentation for more information.

If you have built a model with AutoML and want to download Scoring Code, navigate to the model in the Leaderboard and select the Predict > Portable Predictions tab.

Under the Portable prediction method header, select the Scoring Code tile.

Click Download Scoring Code. The download appears in the downloads bar when complete.

When the Scoring Code download completes, use the snippet provided on the tab to call the Scoring Code from the command line.


Updated October 27, 2021
Back to top