Question3
Kubilay Sarıbardak
Homework1 Question3
Train a Logistic Regression Model to predict whether a wine is red or white.
- Use the Normalizer(PMML) node to z normalize all numerical columns.
- Partition the dataset into a training set (80%) and a test set (20%) using the Partitioning node with the stratified sampling option on the column “Income”.
- Use the Logistic Regression Learner Node to train the model on the training set and the Logistic Regression Predictor Node to apply the model to the test set.
- Use the Scorer node to evaluate the accuracy of the model.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!