Workflow: Chapter 4/Exercise 1
This workflow is an exercise for model training and model evaluation. Based on the wine.csv dataset, this workflow trains a Decision Tree model to predict the wine class. It performs the following steps:
Data access: Reading wine.csv from the KBLdata folder (CSV Reader node)
Data preprocessing: Converting the "Class" column from integer to string (Number to String node) and then partitions the data into training set (80%) and test set (20%) (Table Partitioner node).
Model training: Training a Decision Tree (Decision Tree Learner node) to predict the wine class based on the other attributes in the dataset. Then, applying the trained model to the test set (Decision Tree Predictor node).
Model evaluation: Comparing predicted class values to original values to understand how good/bad the model is performing.