Creating a Project

A Robust Intelligence project collects stress test runs that relate to a shared machine learning task. Each model for the task is tested by an individual test run.

You can use either the Robust Intelligence SDK or the Robust Intelligence web UI to create a new project.

  1. Initialize the Robust Intelligence SDK client (rime_sdk).

    from rime_sdk import Client
    rime_client = Client("rime.<YOUR_ORG_NAME>.rbst.io", "<YOUR_API_TOKEN>")
    
  2. Create a project by calling the create_project() method, which returns a Project object. Model Task must be one of “MODEL_TASK_REGRESSION”, “MODEL_TASK_BINARY_CLASSIFICATION”, “MODEL_TASK_MULTICLASS_CLASSIFICATION”,”MODEL_TASK_NAMED_ENTITY_RECOGNITION”, “MODEL_TASK_RANKING”, “MODEL_TASK_OBJECT_DETECTION”, “MODEL_TASK_NATURAL_LANGUAGE_INFERENCE”, “MODEL_TASK_FILL_MASK”.

    project = rime_client.create_project("<NAME>", "<DESCRIPTION>", "<MODEL TASK>")
    
  3. Retrieve the project ID by querying the project_id attribute of the Project object.

    project_id = project.project_id
    

For further documentation on using the SDK, see the SDK documentation.