ITM Web of Conferences

Red Wine Quality Classification Using Decision Tree and Random Forest: Examining How Parameter Variation

Haolang Huang

Key points

From the paper's conclusion
  • A Decision Tree and a Random Forest were each tested under four parameter settings using 1,356 samples from the UCI Red Wine Quality dataset, producing eight configurations.

Abstract

Physicochemical measurements of wine can complement expert sensory evaluation and offer a more scalable route to quality estimation. Although machine learning has been widely used for this task, most previous studies report only the final performance after parameter tuning, giving limited insight into how parameter changes influence model behaviour. To investigate this question, red wine quality was formulated as a binary classification problem, labelling wines scoring 7 or above as Good and the rest as Normal. A Decision Tree and a Random Forest were each tested under four parameter settings using 1,356 samples from the UCI Red Wine Quality dataset, producing eight configurations. Both classification accuracy and confusion matrices were recorded for each configuration to capture overall and class-level performance. The best Decision Tree (depth 5) achieved 0.8787 accuracy and the best Random Forest (100 or 200 trees) reached 0.8713. At a depth of 4, however, overall accuracy fell to 0.8640 while Good-class recall climbed to 45.9%, the highest across all configurations. Alcohol, sulphates and volatile acidity were the top predictors in both models. Examining results across multiple parameter settings provides a more complete view of model behaviour and supports lightweight decision trees for wine quality screening.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers