Create a general-purpose model
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
Log on to the Ant Privacy-Preserving Computation Platform.
In the navigation pane on the left, choose My Resources > General-purpose Models.
On the General-purpose Models page, click Create General-purpose Model in the upper-right corner.
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.
NoteClick 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.
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.