Create an experiment domain

Updated at:

You can use experiment domains to allocate traffic for A/B testing. This topic describes how to create and manage experiment domains.

Prerequisites

You have created an experiment project. 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. On the PAI-ABTest page, in the left navigation pane, choose Project Management > Experiment Domain.

  3. On the Experiment Domain page, click Create Experiment Domain. On the Create Experiment Domain page, configure the following parameters.

    Parameter

    Description

    Name

    Enter a name for the experiment domain.

    Description

    Enter a description for the experiment domain.

    Experiment Project

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

    Experiment Layer

    Select an experiment layer from the drop-down list. You must first select an experiment project. If no experiment layers are available, click Create Experiment Layer to create one.

    Traffic Allocation Method

    Two methods are available:

    • Randomly Allocate by Proportion

      Configure the Percentage parameter. For example, setting the value to 30 allocates 30% of the project's total traffic to this domain.

    • Allocate by Condition

      Configure the Condition parameter. Only users who meet the specified condition can enter this experiment domain. For example, if you set the condition to sex=='male', only male users can enter the experiment domain.

    User Group

    Note

    Users in this group directly enter the experiment domain, bypassing traffic allocation. This feature functions as a whitelist.

    • Enter one or more user IDs. Press Enter after each ID, or separate multiple IDs with commas, for example, uid1,uid2.

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

  4. After you configure the parameters, click OK.

Manage experiment domains

After you create an experiment domain, you can manage it in the list.

Note

You cannot edit or delete the default experiment domain.

  • Edit an experiment domain

    In the experiment domain list, click Actions in the Edit column to update the traffic allocation method and user group for your experiment domain.

  • Clone an experiment domain

    In the Actions column for the source experiment domain, click Clone to create a new experiment domain. The new domain inherits the configuration of the source domain, eliminating the need to re-enter parameters.

  • Delete an experiment domain

    In the Actions column for the target experiment domain, click Delete to delete an unneeded experiment domain and release its traffic.