All Products
Search
Document Center

Platform For AI:Create an experiment domain

Last Updated:Mar 07, 2025

You can use an experiment domain to allocate traffic. This topic describes how to create and manage an experiment domain.

Prerequisites

An experiment project is created. For more information, see Create an experiment project.

Create an experiment domain

  1. Go to the ABTest page.

    1. Log on to the PAI console.

    2. In the left-side navigation pane, click Workspaces. On the Workspaces page, click the name of the workspace that you want to manage.

    3. In the left-side navigation pane, choose Model Deployment > PAI-ABTest.

  2. In the left-side navigation pane of the ABTest page, choose Project Management > Experiment Domain.

  3. On the Experiment Domain page, click Create Experiment Domain.

  4. On the Create Experiment Domain page, configure the parameters. The following table describes the parameters.

    Parameter

    Description

    Name

    The name of the experiment domain.

    Description

    The description of the experiment domain.

    Experiment Project

    Select an experiment project from the drop-down list. If no experiment project is available, click Create Project to create one.

    Experiment Layer

    You can select an experiment layer only after you select an experiment project. Select an experiment layer from the drop-down list. If no experiment layer is available, click Create Experiment Layer to create one.

    Traffic Allocation Method

    The following methods are supported:

    • Randomly Allocate by Proportion

      You must configure the Percentage parameter. For example, if you set the Percentage parameter to 30, the experiment domain is randomly allocated 30% of the traffic for the experiment project.

    • Allocate by Condition

      You must configure the Condition parameter. Only users who meet the conditions you specify can access the experiment domain. For example, if you set the Condition parameter to sex=='male', only male users can access the experiment domain.

    User Group

    Note

    The users in the user group can directly access the experiment domain without the need to allocate traffic to them. A user group is equivalent to a whitelist.

    • Specify one or more users and press Enter. Separate multiple users with commas (,). Example: uid1,uid2.

    • You can also select an existing user group from the drop-down list. If no user group is available, click Create User Group to create one.

  5. After you configure the parameters, click OK.

Manage an experiment domain

After an experiment domain is created, you can view the experiment domain in the experiment domain list and perform the following operations on the experiment domain.image

Note

You cannot modify or delete the default experiment domain.

  • Modify the experiment domain.

    Click Edit in the Actions column to modify the traffic allocation method and user group of the experiment domain.

  • Clone the experiment domain.

    Click Clone in the Actions column to clone the experiment domain. The new experiment domain reuses the configurations of the original experiment domain to prevent reconfigurations.

  • Delete the experiment domain.

    Click Delete in the Actions column to delete the experiment domain if you no longer use it. This can release the traffic that the experiment domain occupies.