Exporting Models with DataRobot Prime

Showing results for 
Search instead for 
Did you mean: 

Exporting Models with DataRobot Prime

This article showcases how you can use DataRobot Prime to generate rules that approximate models built with DataRobot.


DataRobot Prime can be initiated on most DataRobot models (see caveats below). It works by creating a series of rules that approximate the original model. Once created, the Prime model can be exported as a Python module or Java class and then be deployed outside of DataRobot.

Creating a DataRobot Prime model

To create a DataRobot Prime model, click on the model of interest and select Predict > DataRobot Prime.

Figure 1. DataRobot Prime tabFigure 1. DataRobot Prime tab

In the displayed tab, click Run DataRobot Prime. This will initiate a new model building job; the completed model will appear on the Leaderboard (Figure 2).

Figure 2. DataRobot Prime modelFigure 2. DataRobot Prime model

The newly created model includes some functionality that is not included in other, non-Prime DataRobot models. To access that functionality, navigate to the DataRobot Prime tab for the related DataRobot Prime model (Figure 3).

In that tab, you see a graph for rules accuracy. The x-axis indicates the number of rules and the y-axis indicates the accuracy metric currently selected. DataRobot will have optimized the number of rules for the current model based on the accuracy metric but you can manually choose how many rules the final model should have and then kick off another modeling job (Figure 4).

Figure 3. DataRobot Prime GraphFigure 3. DataRobot Prime Graph

Figure 4. Creation of New DataRobot Prime ModelFigure 4. Creation of New DataRobot Prime Model

Exporting the model

Once satisfied with the results, you can download the scoring code by clicking Generate and Download Code. The code can then be used in the environment of your preference.


Some important limitations to consider when trying to create a DataRobot Prime model:

  • A DataRobot Prime model cannot be created when the original model has been trained into the validation data.
  • The feature list of the original model must not contain any user transformations other than var type transformations.
  • Multiclass projects are not currently supported.
  • Single text feature datasets are not supported.

More information

If you're a licensed DataRobot customer, search in-app Platform Documentation for DataRobot Prime tab or DataRobot Prime.

Labels (3)
Version history
Revision #:
5 of 5
Last update:
‎12-15-2020 03:22 PM
Updated by: