Duplicating a Machine Learning Model

Members with the required privileges who intend to create two Coveo Machine Learning (Coveo ML) models with a similar configuration, should consider creating one model and then duplicating it. Duplicating a model can save time, especially if the configuration involves advanced parameters (see Custom Model Parameters). Once the first model is duplicated, you can then edit the desired parameters in the copy­.

In the Coveo Cloud administration console, there are currently two methods to duplicate models:

Duplicate a Coveo Machine Learning Model Using the “Duplicate” Button

  1. Access the Models page of the administration console, and then:

    1. Click the model that you want to duplicate.

    2. In the Action bar, click More, and then select Duplicate.

    On the Models page, you should now see a new model named [duplicated model name]_copy.

    DuplicateModel

  2. Make the desired changes to the configuration of the model copy by either:

Duplicate a Coveo Machine Learning Model JSON Configuration

  1. Access the Models page of the administration console, and then:

    1. Click the model that you want to duplicate and modify.

    2. In the Action bar, click More, and select Edit JSON.

  2. In the Edit a Model JSON Configuration panel that appears, copy the entire JSON configuration inside the curved brackets ({}), and then click Cancel.

  3. Back on the Models page:

    1. On the right-hand side of the page, click the Add Model drop-down menu, and then select Add model with JSON.

    2. In the Add a Model With JSON panel that appears:

      DuplicateModel

      1. Under "engineId": "[value]",, replace the rest of the JSON configuration with the one you copied in step 3.

      2. Change the modelDisplayName parameter value, as each model name must be unique.

      3. Make the desired changes to the model JSON configuration, and then click Add Model (see Add a Model With JSON).

        Back on the Models page, a row for the new model appears at the bottom of the model list.

What’s Next?

Required Privileges

By default, members of the Administrators and Relevance Managers built-in groups can view and edit elements of the Models page.

The following table indicates the privileges required to use elements of the Models page and associated panels (see Privilege Management and Privilege Reference).

Action Service - Domain Required access level
View models

Machine Learning - Models

View
Edit models

Machine Learning - Models

Edit
Recommended Articles