Abstract

Wine Type Classification indicates that its indexes can ascertain the wine category. Therefore, it can be applied in modern industrial wine production and identification to reduce the rates of inferior products or to terminate the sale of homemade hooch or watered-down cheap alcohol. This paper explores Random Forest to classify wine. Since there are null values in the data, we first input the wine quality dataset and drop out the null values. Standard scaling is ignored because it expands the differences of data and the original datas are special for its distribution to deviation. Then, principal components analysis (PCA) is applied to reduce the dimensions of variable attributes. Finally, we perform random forest to the dataset to see the precision and F1 scores. We compare our methods with logistic regression, SVM, and naive Bayes model. The accuracies of these methods are 0.884375, 0.88125, and 0.884375, respectively. Our result shows that the random forest strategy generates promising accuracy of wine classification. Therefore, Random Forest can predict the industrial product quality and even can recognize the wine type with a high precision rate.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call