CLASSIFICATION OF IMAGE QUALITY OF TUBAN LEGEN BEVERAGES USING CONVOLUTIONAL NEURAL NETWORK (CNN) METHOD BASED ON RANDOM FOREST

This study focuses on developing a classification method for the quality of Tuban legen beverage using a combination of Convolutional Neural Network (CNN) and Random Forest. The siwalan plant (Borassus flabellifer L.), commonly found in Tuban Regency, East Java, produces sap that is susceptible to fermentation and microbial damage. Therefore, it is essential to process legen properly to maintain its taste and quality. The dataset used consists of 1280 images of legen beverage categorized into two classes: Steril and Campuran. The research process involves data collection, preprocessing, and splitting the dataset into training, validation, and testing sets with various ratios. CNN, specifically the VGG16 architecture, is used for feature extraction from images, while Random Forest serves as the classification algorithm. The model is optimized using GridSearchCV and evaluated with metricssuch as accuracy, precision, recall, F1-score, and confusion matrix. The results indicate that the combination of CNN and Random Forest can achieve optimal accuracy of up to 100% for certain data configurations, both for images with and without background, with a data ratio of 80% training, 10% validation, and 10% testing. Data augmentation is applied to enhance model variation and generalization, contributing to improved classification accuracy. Although these results demonstrate the model's ability to recognize patterns, the study suggests potential for further improvement. It is recommended to explore other classification methods, conduct deeper hyperparameter optimization, and apply transfer learning to enhance model performance. Additionally, further research is needed to understand the impact of background on classification and how to address it. This study makes a significant contribution to the development of a quality classification system for legen beverages by utilizing more robust and accurate deep learning technology. These findings can serve as an important reference for future research in image classification and food product quality, providing insights for developing more efficient and effective methods.

Authors

Institutions

Publication Details

Journal
JOURNAL OF SCIENCE AND APPLIED ENGINEERING
Published
2025-09-20
DOI
https://doi.org/10.31328/jsae.v8i2.7298
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CLASSIFICATION OF IMAGE QUALITY OF TUBAN LEGEN BEVERAGES USING CONVOLUTIONAL NEURAL NETWORK (CNN) METHOD BASED ON RANDOM FOREST

Aviv Yuniar Rahman, Rangga Pahlevi Putra, Aufar Mepian Apriliano
JOURNAL OF SCIENCE AND APPLIED ENGINEERING
Spectroscopy and Chemometric Analyses
article

CLASSIFICATION OF IMAGE QUALITY OF TUBAN LEGEN BEVERAGES USING CONVOLUTIONAL NEURAL NETWORK (CNN) METHOD BASED ON RANDOM FOREST

Aviv Yuniar Rahman, Rangga Pahlevi Putra, Aufar Mepian Apriliano
article en

Abstract

This study focuses on developing a classification method for the quality of Tuban legen beverage using a combination of Convolutional Neural Network (CNN) and Random Forest. The siwalan plant (Borassus flabellifer L.), commonly found in Tuban Regency, East Java, produces sap that is susceptible to fermentation and microbial damage. Therefore, it is essential to process legen properly to maintain its taste and quality. The dataset used consists of 1280 images of legen beverage categorized into two classes: Steril and Campuran. The research process involves data collection, preprocessing, and splitting the dataset into training, validation, and testing sets with various ratios. CNN, specifically the VGG16 architecture, is used for feature extraction from images, while Random Forest serves as the classification algorithm. The model is optimized using GridSearchCV and evaluated with metricssuch as accuracy, precision, recall, F1-score, and confusion matrix. The results indicate that the combination of CNN and Random Forest can achieve optimal accuracy of up to 100% for certain data configurations, both for images with and without background, with a data ratio of 80% training, 10% validation, and 10% testing. Data augmentation is applied to enhance model variation and generalization, contributing to improved classification accuracy. Although these results demonstrate the model's ability to recognize patterns, the study suggests potential for further improvement. It is recommended to explore other classification methods, conduct deeper hyperparameter optimization, and apply transfer learning to enhance model performance. Additionally, further research is needed to understand the impact of background on classification and how to address it. This study makes a significant contribution to the development of a quality classification system for legen beverages by utilizing more robust and accurate deep learning technology. These findings can serve as an important reference for future research in image classification and food product quality, providing insights for developing more efficient and effective methods.

JOURNAL OF SCIENCE AND APPLIED ENGINEERINGVol. 8(2)
Universitas Widya Gama Malang (ID)
Openalex Percentile: Top 71%
Spectroscopy and Chemometric Analyses
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.