Automated Tuna Freshness Assessment via Gas Sensors and Machine Learning Algorithms

Authors

  • Nyoman Raflly Pratama Telkom University
  • Ledya Novamizanti Telkom University
  • Dedy Rahman Wijaya Telkom University

Abstract

Ensuring the safety and health of fish products is crucial for public health, with tuna being Indonesia's second most popular fishery product. Tuna freshness is a key indicator of seafood safety, directly impacting both nutritional quality and contamination risk. This study compares the K-Nearest Neighbors (KNN), Naive Bayes, and Support Vector Machine (SVM) algorithms to assess and classify tuna freshness, offering an accurate and efficient approach. A machine learning model categorized Tuna freshness based on the gases emitted, utilizing a dataset of 58,389 records. Gas changes were detected using the MQ-135, MQ-9, and MQ-2 sensors, which are highly sensitive to gases like ammonia, methane, and alcohol, commonly associated with spoilage. The KNN, Naive Bayes, and SVM algorithms were then applied to classify the sensor data. KNN and SVM achieved an accuracy of 99%, while Naive Bayes reached 90%. The high accuracy of these methods highlights their potential as practical tools for the fishing industry, enabling suppliers and retailers to assess tuna freshness more effectively. This method could significantly improve consumer safety by ensuring only high-quality, fresh products reach the market. Additionally, automation offers substantial time savings, facilitates faster decision-making, and reduces reliance on manual inspections prone to human error.

Keywords—tuna, classification, gas sensor, machine learning

References

M. C. H. Soccol and M. Oetterer, “Seafood as functional food,” Brazilian Arch. Biol. Technol., vol. 46, no. 3, pp. 443–454, 2003.

Dwitri waluyo, “Ketersediaan Ikan Aman di Ramadan dan Lebaran,” INDONESIA.GO. ID Portal Informasi Indonesia. [Online]. Available: https://indonesia.go.id/kategori/editorial/8077/ketersediaan-ikan-aman-di-ramadan-dan-lebaran?lang=1#:~:text=KKP mencatat angka konsumsi ikan,55%2C16 kilogram per kapita

M. Iqbal, & A. N. Rochmah, “Keamanan Pangan: Higiene dan Sanitasi Usaha Jasa Boga,” Penerbit Salemba, 2023.

FAO, “Quality and safety of fish and fish products.” p. 1, 2015. [Online]. Available: http://www.fao.org/fishery/topic/1514/en

J. D. MacDonald and R. L. Mazany, “Quality Improvement: Panacea for the Atlantic Fishing Industry?,” Can. Public Policy / Anal. Polit., vol. 10, no. 3, p. 278, 1984, doi: 10.2307/3550321.

World Trade Organization. (2023). Trade Facilitation and Food Safety: A Case Study of the United States. [Online].

E. Yavuzer, “Determination of fish quality parameters with low cost electronic nose,” Food Biosci., vol. 41, no. January, p. 100948, 2021.

D. R. Wijaya, N. F. Syarwan, M. A. Nugraha, D. Ananda, T. Fahrudin, and R. Handayani, “Seafood Quality Detection Using Electronic Nose and Machine Learning Algorithms With Hyperparameter Optimization,” IEEE Access, vol. 11, no. May, pp. 62484–62495, 2023.

P. Srinivasan, J. Robinson, J. Geevaretnam, and J. B. B. Rayappan, “Development of electronic nose (Shrimp-Nose) for the determination of perishable quality and shelf-life of cultured Pacific white shrimp (Litopenaeus Vannamei),” Sensors Actuators, B Chem., vol. 317, no. April, p. 128192, 2020.

D. Y. Kim, S. W. Park, and H. S. Shin, “Fish Freshness Indicator for Sensing Fish Quality during Storage,” Foods, vol. 12, no. 9, p. 1801, 2023.

Hanwei Electronics, “Technical MQ-9 Gas Sensor,” vol. 1, pp. 3–6, 2018, [Online]. Available: https://www.electronicoscaldas.com/datasheet/MQ-9_Hanwei.pdf

Hanwei Electronics, “Technical Data Mq135 Gas Sensor,” Hanwei Electron. Co.,Ltd,

H Hanwei Electronics, “Technical Mq-2 Gas Sensor,” Smoke Sens., vol. 1, no. 1, pp. 3–5, 2006.

J. Tavares et al., “Physical Emerging Technologies,” Foods, pp. 1–20, 2021, [Online]. Available: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC806 6737/

van den Berg, R.A., Hoefsloot, H.C., Westerhuis, J.A. et al. Centering, scaling, and transformations: improving the biological information content of metabolomics data. BMC Genomics 7, 142 (2006). https://doi.org/10.1186/1471-2164-7-142

Downloads

Published

2025-04-30

Issue

Section

Prodi S1 Teknik Telekomunikasi