Modifying Datasets With Recipes

Driverless AI lets you create a new dataset by modifying an existing dataset with a data recipe. This example shows you how to create a new dataset with the Live Code option.

  1. Navigate to the Datasets page, then click on the dataset you want to modify.

  2. Click Details from the submenu that appears to open the Dataset Details page.

  3. Click the Modify by Recipe button in the top right portion of the UI, then click Live Code from the submenu that appears.

  4. Enter the code for the data recipe you want to use to modify the dataset. Click the Get Preview button to see a preview of how the data recipe will modify the dataset. In this example, the data recipe modifies the number of rows and columns in the dataset.

  5. To download the entered code script as a .py file, click the Download button.

  6. Click the Apply button to confirm the changes and create a new dataset. (The original dataset is still available on the Datasets page.)

Live Code example

Notes:

  • Data recipes can also be used within an experiment by adding the data recipe to the included_datas expert setting in the Recipe tab. Unlike data recipes added through the Datasets page, data recipes added with the expert setting option are included within the Python scoring package. The MOJO scoring package does not support data recipes, so data recipes must be applied before making MOJO predictions.