Industrial analytics and modeling

Updated at:

This topic describes how to use the industrial analytics and modeling module of the AICS platform.

Industrial analytics and modeling workflow

  1. Create an industrial analytics and modeling project.

  2. Build an algorithm flow.

  3. Run the algorithm.

  4. View and publish the model results.

  5. Use the model.

Create an industrial analytics and modeling project

  1. Log in to the AICS platform.

  2. In the navigation pane on the left, choose Model Development & Training > Industrial Analytics & Modeling.

  3. In the upper-right corner of the page, click New Canvas.

    新建画布

  4. In the New Industrial Analytics & Modeling panel, enter a name and description, and then click Create in the lower-left corner.

    新建工业分析建模

Build an algorithm flow

  1. On the Industrial Analytics & Modeling page, find the project you want to edit and click Industrial Analytics & Modeling on its card.

  2. On the algorithm design page, drag components from the list on the left to the canvas. This topic uses a CSV component as an example. The CSV component is a data source component that reads offline data.

  3. Configure the CSV component.

    1. On the canvas, select the CSV component. In the configuration pane on the right, click Upload File. The CSV file must be in the specified format, where the first row contains parameter names and subsequent rows contain parameter values. The following figure shows an example:image

    2. In the configuration pane on the right, click Data Definition. The CSV component reads the parameter names from the file. In the left box, select the parameters you want to use, move them to the right box, and then click Save.

  4. This topic uses a linear regression component as an example.

    1. From the list on the left, drag the linear regression component to the canvas. Connect the output port (OUT) of the CSV component to the input port (IN1) of the linear regression component.

    2. Select the linear regression component. In the configuration pane on the right, click Feature Variables.

      特征变量

    3. In the Feature Variables panel, click Add to add a parameter input box. From the Parameter Mapping list, select the required parameter. The system automatically fills in the input parameter, but you can modify it. Then, click OK.

      参数映射

    4. In the configuration pane on the right, click Target Variable.

    5. In the Target Variable panel, select the required parameter from the Parameter Mapping list and click OK.

      Note

      In a linear regression algorithm, the number of target variables is fixed. You do not need to manually add variables.

      目标变量

Run the algorithm

In the upper-right corner of the canvas, click Deploy to deploy the configured flow.

Note

The deployment process may take 1 to 2 minutes to complete. Please wait. You cannot edit the canvas during deployment.

View and publish the model results

  1. On the canvas, select the linear regression component. In the configuration pane on the right, click Model Results to view all models generated by the algorithm.

  2. Find the model you want to publish and click Publish. In the dialog box that appears, enter a model name and click Publish.发布

    On the Model Management page, you can view all models that you have trained and published.

    模型管理

Use the model

You can use published models in the real-time algorithm orchestration feature of AICS. The following example shows how to use a model with the general machine learning prediction component.

  1. In the navigation pane on the left of the AICS console, choose Real-time Control & Optimization > Real-time Algorithm Orchestration. Find the project where you want to use the model and click Real-time Algorithm Orchestration on its card.

    使用模型

  2. From the component list on the left, drag the general machine learning prediction component to the canvas.

    机器学习通用预测

  3. On the canvas, connect the input and output ports of the general machine learning prediction component.

  4. In the configuration pane on the right, select the desired model from the Model Application list.

    连接组件

  5. Click Input Configuration, select the field mapping, and then click OK.

    Note

    Input Configuration corresponds to the feature variables of the model. You do not need to configure Output Preview.

    输入配置

  6. For the OUT port, click the Configuration button. Enter the output parameter and its description, and then click OK.

    Important

    The output parameter must be identical to the target variable name used during model training. You can find this name in Output Preview.

    out