International Journal of Applied Sciences and Smart Technologies
Vol. 8 No. 1 (2026): Volume 08, Issue 1, June 2026

Principal Component Analysis-Driven Feature Reduction for Predicting Coffee Quality Using a Machine Learning Approach

Siti Yuliyanti (Siliwangi University)
Heni Sulastri (Siliwangi University)
Sakifah (Siliwangi University)



Article Info

Publish Date
11 Jun 2026

Abstract

Coffee quality assessment using a machine learning approach faces major challenges, including high data dimensionality and redundancy between features. Therefore, PCA is proposed as a feature reduction technique to improve the efficiency and accuracy of coffee quality prediction models. The research phase began with data acquisition, data cleaning, feature engineering, explanatory data analysis, testing the normalization of coffee parameter profiles, implementing PCA on Random Forest and XGBoost models, and then evaluating model performance. Model evaluation using MAE and MAPE showed that Random Forest provided more precise predictions than XGBoost, particularly when applying PCA. This resulted in a 39% performance increase for Random Forest from 0.11903 to 0.08542 and an 8% increase for XGBoost, shifting the score from 0.12511 to 0.11570. Prediction visualization reinforced the consistency and precision of the Random Forest model, regardless of whether PCA was used. The findings of this study highlight the importance of feature cleaning and engineering, and the role of PCA in improving the precision of coffee quality predictions. The use of the Random Forest model with PCA is recommended as an efficient method for modeling the quality of Arabica coffee, taking into account sensory and environmental factors.

Copyrights © 2026






Journal Info

Abbrev

ijasst

Publisher

Subject

Description

nternational Journal of Applied Sciences and Smart Technologies (IJASST) is published by Faculty of Science and Technology, Sanata Dharma University Yogyakarta-Central Java-Indonesia. IJASST is an open-access peer reviewed journal that mediates the dissemination of academicians, researchers, and ...