Skip to content

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

Create applications

You can create applications in DataRobot from the Applications tab or from the Deployments inventory.

Before creating an application, consider the purpose of the app and review the template options—Predictor, What-if, or Optimizer—and if the deployment you intend to use is time series or non-time series. While templates only determine the initial configuration of the application and selecting a template does not mean the app can only be used for that purpose, time series applications require additional setup. See the documentation for time series applications.

The table below describes each template option:

Template Description Default configuration Time series
Predictor Makes predictions for a target feature based on the information provided when the app is created and deployed. Hides the What-if and Optimizer widget.
What-if Creates and compares multiple prediction scenarios side-by-side to determine the option with the best outcome. Displays the What-if and Optimizer widget with only the what-if functionality enabled.
Optimizer Runs simulations to optimize an outcome for a given goal. This is most effective when you want to optimize for a single row. Displays the What-if and Optimizer widget with only the optimizer functionality enabled.
The All Rows widget displays an Optimized Prediction column.

Create an application

To create an application:

  1. Navigate to the Applications tab.
  2. The available application templates are listed at the top of the page. Click Use template next to the template best suited for your use case.

  3. A dialog box appears, prompting you to name the application and choose an access option—Anyone With the Sharing Link automatically generates a link that can be shared with non-DataRobot users and Invited Users Only limits sharing to other users, groups, and organizations. The access option determines the initial configuration of the sharing permissions, which can be changed in the application settings.

  4. Click Next: select data source.

  5. Select a deployment for the application and click Create. Note that you must be an owner of the deployment in order to launch an application from it.

After signing in with DataRobot and authorizing access, you are taken to the Applications tab while the application builds.

Create an application from a deployment

Applications can also be launched from an existing model deployment.

  1. Navigate to the Deployments inventory and select the deployment you want to launch the application from.

  2. Select Create Application from the action menu of your desired deployment.

    Note

    To generate a link to share an application with non-DataRobot users, select Anyone outside your network in the Allow access for dropdown menu.

  3. Select the application template you would like to use and click Next: add app info.

  4. Name the application and choose an access option. When you're done, click Create.

The application is available for use on the Applications tab.

Deployments with an association ID

When creating an application from a deployment with an association ID, note the following:

  • Accuracy and data drift are tracked for all single and batch predictions made using the application.
  • Accuracy and data drift are not tracked for synthetic predictions (simulations) made in the application using the What-If and Optimizer widget.
  • You cannot add an association ID to deployments that have already been used to create an application.

In the deployment Settings, add an association ID. If Require association ID in prediction requests is enabled, this setting cannot be disabled after the application is created.

If an application is created from a deployment with an association ID, the association ID is added as a required field to make single predictions in the application. This field cannot be removed in Build mode.

Customize apps with an association ID

With your application open, click Build and select Prediction Details (2) from the Editing page dropdown.

Select the Row Identifier widget at the top of the page. Select the association ID from the dropdown on the left to display this value on the prediction results page for each prediction.


Updated November 15, 2022
Back to top