# Question3

**URL:** <https://forum.knime.com/t/question3/22895>\
**Category:** KCH Workflows\
**Created:** [April 23, 2020, 12:16pm UTC](https://forum.knime.com/t/question3/22895 "2020-04-23T12:16:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hub/32/5438_2.png) [@Hub](https://forum.knime.com/u/Hub)\
**Post date:** [April 23, 2020, 12:16pm UTC](https://forum.knime.com/t/question3/22895/1 "2020-04-23T12:16:58Z")

</div>

Read the wine.csv dataset. 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.

* * *
This is a companion discussion topic for the original entry at [https://kni.me/w/JSIIZwi79GHb67dx](https://kni.me/w/JSIIZwi79GHb67dx)
