Create a general-purpose model

更新时间:
复制 MD 格式

The general-purpose model feature lets you upload local models for multi-party secure modeling and federated modeling projects. You can upload local model files and pre-processing components to the platform. The platform can also parse the offline feature schema of the model.

Procedure

  1. Log on to the Ant Privacy-Preserving Computation Platform.

  2. In the navigation pane on the left, choose My Resources > General-purpose Models.

  3. On the General-purpose Models page, click Create General-purpose Model in the upper-right corner.

  4. In the Create General-purpose Model panel, configure the following parameters.

    Parameter

    Description

    Model Name

    Required. The name of the general-purpose model. The name must meet the following requirements:

    • It can contain Chinese characters, letters, digits, underscores (_), and hyphens (-).

    • The name can be up to 32 characters long.

    Description

    Required. A description of the model for easy management. The description can be up to 128 characters long.

    Version Description

    Required. A description of the model version. The description can be up to 128 characters long.

    Configure Model File

    Required. Upload a local model file. Supported model types include logistic regression and XGB binary classification.

    Configure Pre-processing Component (Optional)

    Optional. Upload a local GDP pre-processing component.

    Note

    Click Download Sample on the right to get a sample pre-processing component file.

    Offline Feature Schema

    After you configure the model file, click Start Parsing to parse the offline feature schema. After the parsing is complete, the platform displays a list of Feature Names and their corresponding Data Types.

    Authorize Projects

    To authorize the new general-purpose model for specific projects, click Add Authorized Project and select the target projects.

  5. After you configure the parameters, click Confirm.

    On the General-purpose Models page, find the new model in the Model Name list to confirm that it was created successfully.