All Products
Search
Document Center

Platform For AI:Create a pipeline using a preset template

Last Updated:Jan 28, 2026

Machine Learning Designer provides preset templates for common machine learning scenarios. This topic describes how to use the Heart Disease Prediction template to build a binary classification model, run the pipeline, and optionally deploy the model as an online service.

Prerequisites

Step 1: Create a pipeline from a template

Machine Learning Designer allows you to build models by using pipelines. A pipeline consists of components that you can arrange based on your model logic. In this step, you create a pipeline from the Heart Disease Prediction preset template.

  1. Log on to the PAI console.

  2. In the left-side navigation pane, choose Visualized Modeling (Designer).

  3. Select a workspace and click Enter Visualized Modeling (Designer).

  4. Click the Preset Templates tab. Find the Heart Disease Prediction template and click Create.

    Preset Templates tab showing Heart Disease Prediction template

  5. In the Create Pipeline dialog box, configure the parameters and click OK.

    Parameter

    Description

    Pipeline Name

    Specify a name for the pipeline that you want to create.

    Data Storage

    The path of the Object Storage Service (OSS) bucket that stores the temporary data and models generated during pipeline runtime. We recommend that you configure this parameter. If you leave this parameter empty, the default storage of the workspace is used.

    The system automatically creates a temporary directory in the <Pipeline data path>/<Task ID>/<Node ID> format for each run. This saves you from creating an OSS directory for storing data of each component and allows you to manage data in a centralized manner.

    Visibility

    • Visible to Me: A workflow is created in the My Pipelines folder and is visible only to you and the administrator in the workspace.

    • Visible to Current Workspace: A pipeline is created in the Pipelines Visible to Workspaces folder and is visible to all members of the current workspace.

    For more information about the parameters, see Create a pipeline.

  6. Click Open to view the pipeline on the canvas.

Step 2: Explore the model

The preset template creates a complete pipeline with pre-configured components. The following figure shows the Heart Disease Prediction pipeline.

Heart Disease Prediction pipeline with pre-configured components

Click any component to view its parameters. For more information about the components in this template, see Predict heart disease.

Note

If you plan to deploy the model in Step 4, you must enable PMML generation: Click the Logistic Regression component, go to the Fields Setting tab, and select Whether to Generate PMML.

Step 3: Run and debug the pipeline

At the top left of the canvas, click the Run icon icon to run the pipeline.

After the pipeline runs, you can perform the following operations:

  • View data and perform visual analysis: Right-click a component and select View Data to view the output data of the component.

    For evaluation components such as Confusion Matrix and Binary Classification Evaluation, you can visualize the results. Right-click the component and select Visual Analysis, or click the visualization icon at the top of the canvas. For more information, see Visualized analysis.

  • View logs: If a component fails, right-click the component and select View Log to troubleshoot the issue.

Step 4: Deploy the model (optional)

Machine Learning Designer integrates with Elastic Algorithm Service (EAS). After you train and evaluate a model, you can deploy it to EAS as an online inference service.

  1. After the pipeline runs successfully, click Models in the left panel. Select the model and click Deploy in EAS.

    Models panel with Deploy in EAS option

  2. On the Deploy Service page, confirm the parameters. The Model File and Processor Type parameters are automatically configured. You can modify other parameters as needed. For more information, see Deploy a model as an online service.

  3. Click Deploy.

    When the service status changes from Creating to Running, the model is deployed.

    Important

    To avoid unnecessary costs, click Stop in the Actions column when the service is not in use.

What's next