Machine Learning (PAI) nodes are used to call nodes that are created in Machine Learning Platform for AI (PAI) and schedule production activities based on the node configuration.
Prerequisites
Before you create a Machine Learning (PAI) node in DataWorks, you must create a PAI experiment in PAI.
In this topic, a heart disease prediction experiment is used to describe how to load a PAI experiment to a Machine Learning node in DataWorks.
Before you perform the operations described in this topic, you must go to the PAI console from the DataStudio page, create a PAI experiment based on the heart disease prediction case described in Predict heart disease, and then upload the required data to DataStudio.
Procedure
Go to the DataStudio page.
Log on to the DataWorks console.
In the left-side navigation pane, click Workspaces.
In the top navigation bar, select the region where the workspace resides. On the Workspaces page, find the workspace in which you want to create tables, and click in the Actions column.
On the DataStudio page, move the pointer over the
icon and choose to create a Machine Learning (PAI) node.
Alternatively, you can open the desired workflow, right-click Algorithm, and then choose
to create a Machine Learning (PAI) node.- In the Create Node dialog box, configure the Name and Path parameters. Note The node name must be 1 to 128 characters in length and can contain letters, digits, underscores (_), and periods (.).
- Click Confirm.
On the configuration tab of the node, select a PAI experiment that you have created from the Experiment drop-down list.
If you want to edit the loaded PAI experiment, click Edit in PAI Console to go to the experiment editing page in the PAI console.
NoteYou can select a PAI experiment from the Experiment drop-down list and edit the experiment on the experiment editing page in the PAI console only after you have created a PAI experiment in the PAI console.
On the configuration tab of the node, click Properties in the right-side navigation pane. On the Properties tab, configure properties for the node. For more information, see Configure basic properties.
- Save and commit the node. Important You must configure the Rerun and Parent Nodes parameters on the Properties tab before you commit the node.
- Click the
icon in the top toolbar to save the node.
- Click the
icon in the toolbar.
- In the Commit Node dialog box, configure the Change description parameter.
- Click OK.
If the workspace that you use is in standard mode, you must click Deploy in the upper-right corner to deploy the node after you commit it. For more information, see Deploy nodes. - Click the
- Perform O&M operations on the node. For more information, see Perform basic O&M operations on auto triggered nodes.