Create a script

更新时间:
复制 MD 格式

In the federated modeling console, you can create, edit, and execute scripts to perform federated modeling.

Procedure

  1. In the upper-right corner of the federated modeling console, select a project from the drop-down list.

  2. In the Script file area, right-click a blank area and select New script from the context menu. The new file dialog box appears. To create a script file in a specific folder, right-click the target folder and select New script from the context menu. The new file dialog box appears.

    1. In the File name box, enter a name for the script file. The name must be unique within the project.

    2. Select a script file type. The following types are supported: Create federated table, Pre-processing rule, Pre-processing application, Model development, and Model evaluation.

      • Create federated table: Combines sample data with matching fields from each node into a logical table called a federated table. The script then outputs this federated table.

      • Pre-processing rule: Pre-processes the input federated table and generates pre-processing rules.

      • Pre-processing application: Pre-processes the input federated table based on the pre-processing rules and generates a pre-processed federated table.

      • Model development: Creates a federated model based on the pre-processed federated table and outputs the federated model.

      • Model evaluation: Evaluates the performance of a trained federated model based on the pre-processed federated table.

  3. After you configure the script information, click Confirm. The script file is created.

Manage scripts

  • Rename: Right-click the script file and select Rename from the context menu.

  • Copy: Right-click the script file and select Copy from the context menu.

  • Paste: Right-click the target folder or a blank area and select Paste. The script file is pasted into the root directory or the selected folder.

  • Cut: Right-click the script file and select Cut from the context menu.

  • Delete: Right-click the script file, select Delete from the context menu, and then confirm the deletion.

Manage script folders

You can use script folders to classify and manage your script files.

  • New folder: Right-click a blank area and select New script folder from the context menu.

  • Rename: Right-click the script folder and select Rename from the context menu.

  • Copy: Right-click the script folder and select Copy from the context menu.

  • Paste: Right-click the target folder or a blank area and select Paste. The script folder is pasted into the root directory or the current folder.

  • Cut: Right-click the script folder and select Cut from the context menu.

  • Delete: Right-click the script folder, select Delete from the context menu, and then confirm the deletion.