Skip to main content

From The Adaptive UI

You can launch a training in the adaptive UI. In the “Trainings” tab, you can hit the “New Training” button and select “Custom Recipe” as the training method. This will lead you to a wizard to launch your recipe based on its content and config. You have 3 steps:
  1. Select the recipe that you want to run
  2. Select the values for the config. The Adaptive UI automatically create widgets to input values based on the types of your config fields. (See the image below)
  3. Review your custom recipe and launch the job
Above is an example of parameter selection in the UI for a config defined in the custom recipe as:
custom_recipe.py

From the SDK

The Adaptive SDK provides a comprehensive interface for managing custom recipes. You can upload your recipe files, list existing recipes, and launch training jobs programmatically. First, initialize the Adaptive SDK client:

Uploading Custom Recipes

Use adaptive.custom_recipes.upload() to upload your recipe files to the platform.

Listing Recipes

Use adaptive.custom_recipes.list() to view all available recipes. To list all recipes:
To list all recipes of a specific use-case:

Launching Training Jobs

Use adaptive.custom_recipes.run_training_recipe() to launch training jobs with your uploaded recipes. Arguments to pass to the recipe config should be given in the recipe_args argument and should perfectly match the config defined in the recipe.