This topic describes how to generate a model in Machine Learning Designer by using the logistic regression algorithm for binary classification.
Prerequisites
Data visualization is complete. For more information, see Data visualization.
Procedure
- Log on to the Machine Learning Platform for AI and navigate to the pipeline page. For more information, see Prepare and preprocess data.
Create a node that runs the logistic regression algorithm for binary classification and run the node.
In the list of components, search for the Logistic Regression for Binary Classification component, drag and drop the component to the canvas, and then specify the generated node as the child node of the Split-1 node in Prepare and preprocess data.
Click the Logistic Regression for Binary Classification-1 node on the canvas. On the Fields Setting tab on the right side, select the ifhealth field for Target Columns and select all fields for Training Feature Columns except the field of Target Columns.
Right-click the Logistic Regression for Binary Classification-1 node. In the shortcut menu that appears, click Run Current Node.
What to do next
After you use the algorithm to generate a model, you can evaluate the model. For more information, see Evaluate a model.