eProceedings of Engineering
Vol. 12 No. 2 (2025): April 2025

Comparison of k-NN and Naive Bayes Algorithms for Classifying Mackerel Tuna Freshness For Real-Time Classification Using Gas Sensors

Setyagraha , Muhammad Rafi Mahfuz (Unknown)
Novamizanti, Ledya (Unknown)
Wijaya, Dedy Rahman (Unknown)



Article Info

Publish Date
30 Apr 2025

Abstract

The large production and consumption of mackerel tuna in Indonesia reflect its importance as a local staple and a valuable export product contributing to the nation's economy. Mackerel tuna is prized for its nutritional content and affordability, making it a crucial part of the diet for many Indonesians. Ensuring the freshness and quality of this high-demand product is essential. This study introduces a machine-learning approach to detect fish freshness by analyzing gases emitted during spoilage, utilizing MQ-2, MQ-9, and MQ-135 gas sensors. The data were processed using the k-Nearest Neighbors (k-NN) and Naive Bayes algorithms, both achieving accuracy rates near 100%. These findings highlight the system’s potential to enhance quality control in Indonesia’s fishery industry by offering an efficient and reliable method for assessing fish freshness. Keywords—classification, machine learning, tuna, gas sensor

Copyrights © 2025






Journal Info

Abbrev

engineering

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Industrial & Manufacturing Engineering

Description

Merupakan media publikasi karya ilmiah lulusan Universitas Telkom yang berisi tentang kajian teknik. Karya Tulis ilmiah yang diunggah akan melalui prosedur pemeriksaan (reviewer) dan approval pembimbing ...