Klasifikasi Jejak Bau Rokok pada Napas Berdasarkan Interval Waktu Pasca-Merokok Menggunakan Electronic Nose dan Pembelajaran Mesin

Authors

  • Ifnu Wisma Dwi Prastya Universitas Nahdlatul Ulama Sunan Giri
  • Mula Agung Barata Universitas Nahdlatul Ulama Sunan Giri
  • Dwi Issadari Hastuti Universitas Nahdlatul Ulama Sunan Giri
  • Rahmat Tegar Patriot Hari Lambang Universitas Nahdlatul Ulama Sunan Giri
  • Muhammad Ahsanul Fikri Universitas Nahdlatul Ulama Sunan Giri

DOI:

https://doi.org/10.30865/jurikom.v15i5.10146

Keywords:

Electronic Nose, Bau Rokok, Bronkopneumonia, Validasi Antar-Sesi, Klasifikasi Napas

Abstract

Paparan asap rokok di rumah tangga merupakan faktor risiko bronkopneumonia pada balita, sementara anggapan bahwa napas perokok aman setelah jeda singkat belum diuji pada menit-menit awal pasca-merokok dengan perangkat berbiaya rendah. Penelitian ini menguji electronic nose (E-Nose) berbasis empat sensor gas semikonduktor seri MQ untuk mengklasifikasikan jejak bau rokok pada napas ke dalam empat kelas: perokok 0, 1, dan 10 menit setelah menghabiskan satu batang rokok filter, serta non-perokok. Data berasal dari 12 responden (6 perokok, 6 non-perokok) dengan satu sesi perekaman per responden. Pra-pemrosesan terbaik (Z-Score dan Wavelet Transform) dan ekstraksi ciri statistik per jendela menghasilkan 112 sampel dengan 24 fitur. Random Forest, K-Nearest Neighbor, XGBoost, dan stack deep neural network dievaluasi dengan validasi antar-sesi leave-one-session-out sebagai ukuran utama dan Stratified K-Fold (k=5) tingkat jendela sebagai pembanding. Pada validasi antar-sesi, akurasi tertinggi 74,11% dicapai K-Nearest Neighbor, sedangkan Random Forest mencapai 59,82%, jauh di bawah akurasinya pada Stratified K-Fold (94,64%) yang terbukti terlalu optimistis karena jendela dari sesi yang sama masuk ke data latih dan data uji. Random Forest tetap memisahkan napas perokok dan non-perokok tanpa kesalahan pada kedua skema, tetapi pembedaan lama jeda waktu belum dapat digeneralisasi ke responden baru. Kontribusi utama penelitian ini adalah bukti awal kelayakan E-Nose berbiaya rendah untuk penapisan keberadaan jejak rokok pada napas serta penegasan pentingnya validasi berbasis responden. Dengan dua responden per interval, temuan ini masih bersifat pembuktian konsep.

References

[1] S. M. Asfaw et al., “Protecting Young Lives: A Systematic Review of the Impact of Secondhand Smoke Exposure and Legislative Measures on Children’s Health,” Cureus, vol. 16, no. 10, 2024, doi: 10.7759/cureus.72548.

[2] M. Yamada and M. Nakazawa, “Status of home-based secondhand smoke exposure among children and its association with health risks in Japan,” Prev. Med. Reports, vol. 38, no. January, p. 102585, 2024, doi: 10.1016/j.pmedr.2023.102585.

[3] S. M. Gordon, L. A. Wallace, M. C. Brinkman, P. J. Callahan, and D. V. Kenny, “Volatile organic compounds as breath biomarkers for active and passive smoking,” Environ. Health Perspect., vol. 110, no. 7, pp. 689–698, 2002, doi: 10.1289/ehp.02110689.

[4] S. Capone et al., “Chromatographic analysis of VOC patterns in exhaled breath from smokers and nonsmokers,” Biomed. Chromatogr., vol. 32, no. 4, p. e4132, Apr. 2018, doi: https://doi.org/10.1002/bmc.4132.

[5] S. Dragonieri et al., “Short-Term Effect of Cigarette Smoke on Exhaled Volatile Organic Compounds Profile Analyzed by an Electronic Nose,” Biosensors, vol. 12, no. 7, pp. 1–8, 2022, doi: 10.3390/bios12070520.

[6] V. Vanzi, F. Marti, and M. S. Cattaruzza, “Thirdhand Smoke Knowledge, Beliefs and Behaviors among Parents and Families: A Systematic Review,” Healthc., vol. 11, no. 17, pp. 1–10, 2023, doi: 10.3390/healthcare11172403.

[7] H. Arfaeinia, M. Ghaemi, A. Jahantigh, F. Soleimani, and H. Hashemi, “Secondhand and thirdhand smoke: a review on chemical contents, exposure routes, and protective strategies,” Environ. Sci. Pollut. Res., vol. 30, no. 32, pp. 78017–78029, 2023, doi: 10.1007/s11356-023-28128-1.

[8] G. Favara, M. Barchitta, A. Maugeri, R. M. S. Lio, and A. Agodi, “Sensors for Smoking Detection in Epidemiological Research: Scoping Review,” JMIR mHealth uHealth, vol. 12, 2024, doi: 10.2196/52383.

[9] P. N. Sholikah, T. A. Mulyati, and F. E. Pujiono, “Analisa Cotinine Pada Urin Perokok Aktif dengan Metode Immunochromatography Assay,” J. Sint., vol. 2022, no. 1, pp. 43–48, 2022.

[10] D. Zakiawati and I. Sufiawati, “Role of salivary biomarkers in the detection of oral diseases using nanotechnology as a promising method,” Padjadjaran J. Dent. Res. Students, vol. 5, no. April, pp. 7–17, 2021, doi: 10.24198/pjdrs.v4i1.25998.

[11] L. R. P. Joshua L. Karelitza, Erin A. McClurec, Caitlin Wolford-Clevengere and K. L. Cropsey, “Higher Expired-Air Carbon Monoxide Cutoffs : a Meta-,” Drug Alcohol Depend., vol. 221, no. 1, pp. 1–23, 2021, doi: 10.1016/j.drugalcdep.2021.108570.CESSATION.

[12] A. S. Sandberg, C. M. Sköld, J. Grunewald, A. Eklund, and Å. M. Wheelock, “Assessing recent smoking status by measuring exhaled carbon monoxide levels,” PLoS One, vol. 6, no. 12, 2011, doi: 10.1371/journal.pone.0028864.

[13] Y. Li, X. Wei, Y. Zhou, J. Wang, and R. You, “Research progress of electronic nose technology in exhaled breath disease analysis,” Microsystems Nanoeng., vol. 9, no. 1, 2023, doi: 10.1038/s41378-023-00594-0.

[14] Y. Huang, I. J. Doh, and E. Bae, “Design and validation of a portable machine learning-based electronic nose,” Sensors, vol. 21, no. 11, 2021, doi: 10.3390/s21113923.

[15] G. Domènech-Gil and D. Puglisi, “A Virtual Electronic Nose for the Efficient Classification and Quantification of Volatile Organic Compounds,” Sensors, vol. 22, no. 19, 2022, doi: 10.3390/s22197340.

[16] Y. Gao, B. Chen, X. Cheng, S. LiuD, Q. Li, and M. Xi, “Volatile organic compounds in exhaled breath: Applications in cancer diagnosis and predicting treatment efficacy,” Cancer Pathog. Ther., vol. 3, no. 5, pp. 411–419, 2025, doi: 10.1016/j.cpt.2024.12.004.

[17] Z. J. Cheng, G. Warwick, D. H. Yates, and P. S. Thomas, “An electronic nose in the discrimination of breath from smokers and non-smokers: a model for toxin exposure,” J. Breath Res., vol. 3, no. 3, p. 36003, 2009, doi: 10.1088/1752-7155/3/3/036003.

[18] S. Rizik et al., “Short-term effects of electronic cigarette smoking on cardiorespiratory parameters, volatile organic compounds and inflammatory markers,” ERJ Open Res., vol. 11, no. 3, 2025, doi: 10.1183/23120541.01096-2024.

[19] S. Principe et al., “Asthma and COPD Patients,” pp. 1–13, 2021.

[20] M. Jauhar Vikri, I. Wisma Dwi Prastya, U. Pradema Sanjaya, and M. Agung Barata, “Rice Quality Identification Built on Indonesian Food Standards Based on Electronic Nose using Naïve Bayes Algorithm,” INOVTEK Polbeng - Seri Inform., vol. 10, no. 1, pp. 49–60, 2025, doi: 10.35314/0y0xct32.

[21] M. A. Barata, D. Irnawati, I. Wisma Dwi Prastya, and D. I. Hastuti, “HYDROGEN SULFIDE LEAK DETECTION USING THE C4.5 ALGORITHM: OPTIMIZING FEATURE EXTRACTION FOR ENHANCED ACCURACY,” PROCEEDING Al Ghazali Int. Conf., vol. 1, pp. 511–522, 2024.

[22] I. Wisma Dwi Prastya and R. Sarno, “Coffee Aroma Classification Based On World Coffee Research Sensory Lexicon Using Electronic Nose,” Semin. Int. Islam. Univ. Kalimantan, no. March, pp. 19–23, 2024, doi: 10.31602/.v0i0.15389.

[23] S. Kapoor and A. Narayanan, “Leakage and the reproducibility crisis in machine-learning-based science,” Patterns, vol. 4, no. 9, p. 100804, 2023, doi: 10.1016/j.patter.2023.100804.

[24] I. Tougui, A. Jilbab, and J. El Mhamdi, “Impact of the choice of cross-validation techniques on the results of machine learning-based diagnostic applications,” Healthc. Inform. Res., vol. 27, no. 3, pp. 189–199, 2021, doi: 10.4258/HIR.2021.27.3.189.

[25] I. A. Rombang, L. B. Setyawan, and G. Dewantoro, “Perancangan Prototipe Alat Deteksi Asap Rokok dengan Sistem Purifier Menggunakan Sensor MQ-135 dan MQ-2,” Techné J. Ilm. Elektrotek., vol. 21, no. 1, pp. 131–144, 2022, doi: 10.31358/techne.v21i1.312.

[26] F. A. T. Utami, W. Kasoep, and N. P. Novani, “Prototype Sistem Pendeteksi dan Penetralisir Asap Rokok pada Ruangan dengan Fitur Monitoring Suhu dan Kelembaban,” Chipset, vol. 3, no. 01, pp. 32–44, 2022, doi: 10.25077/chipset.3.01.32-44.2022.

[27] S. Alhadawiah, R. Wirawan, and A. Budianto, “Development of a VOC (Volatile Organic Compound) Measurement System to Identify Placebo Phenomenon in Emission Areas,” Konstan - J. Fis. Dan Pendidik. Fis., vol. 9, no. 02, pp. 154–160, 2025, doi: 10.20414/konstan.v9i02.582.

[28] K. UMAM and R. HARIANTO, “Klasifikasi Kelembapan Tanah Berbasis Data Sensor IoT Menggunakan Support Vector Machine (SVM),” MIND J., vol. 10, no. 2, pp. 250–260, 2025, doi: 10.26760/mindjournal.v10i2.250-260.

[29] R. Abdubrani, M. Mustafa, and Z. L. Zahari, “a Robust Framework for Driver Fatigue Detection From Eeg Signals Using Enhancement of Modified Z-Score and Multiple Machine Learning Architectures,” IIUM Eng. J., vol. 24, no. 2, pp. 354–372, 2023, doi: 10.31436/iiumej.v24i2.2799.

[30] Ira Puspasari, “Implementasi transformasi wavelet untuk reduksi noise dan dekomposisi energi sinyal phonocardiogram,” INFOTECH J. Inform. Teknol., vol. 6, no. 1, pp. 81–95, 2025, doi: 10.37373/infotech.v6i1.1650.

[31] S. Raharjo, L. Lestari, N. Hidayahtullah, M. Y. Rijal, and Jirman, “Penerapan Metode Simple Moving Average dalam Memperhalus Difraktogram XRD Sampel Nikel,” J. Apl. Fis., vol. 21, no. 1, pp. 5–13, 2025, doi: 10.62749/jaf.v21i1.p5-13.

[32] U. Khultsum and A. Subekti, “Penerapan Algoritma Random Forest dengan Kombinasi Ekstraksi Fitur Untuk Klasifikasi Penyakit Daun Tomat,” J. Media Inform. Budidarma, vol. 5, no. 1, p. 186, 2021, doi: 10.30865/mib.v5i1.2624.

[33] T. M. Cover and P. E. Hart, “Nearest Neighbor Pattern Classification,” IEEE Trans. Inf. Theory, vol. 13, no. 1, pp. 21–27, 1967, doi: 10.1109/TIT.1967.1053964.

[34] T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., vol. 13-17-August-2016, pp. 785–794, 2016, doi: 10.1145/2939672.2939785.

[35] D. H. Wolpert, “Stacked generalization,” Neural Networks, vol. 5, no. 2, pp. 241–259, 1992, doi: https://doi.org/10.1016/S0893-6080(05)80023-1.

[36] U. P. Sanjaya, T. Pribadi, and I. W. D. Prastya, “Klasifikasi Dana Hibah Usaha Mikro Kecil dan Menengah dengan Metode Naïve Bayes,” Indones. J. Comput. Sci., vol. 11, no. 3, pp. 975–984, 2022, doi: 10.33022/ijcs.v11i3.3099.

[37] A. Nur Azizah, M. Falach Asy’ari, I. Wisma Dwi Prastya, and D. Purwitasari, “Easy Data Augmentation untuk Data yang Imbalance pada Konsultasi Kesehatan Daring,” J. Teknol. Inf. dan Ilmu Komput., vol. 10, no. 5, pp. 1095–1104, 2023, doi: 10.25126/jtiik.2023107082.

[38] M. K. Risqi, “Comparison of Decision Tree Algorithms and Support Vector Machine (SVM) In Depression Classification In Students,” Eduvest - J. Univers. Stud., vol. 5, no. 4, pp. 4557–4567, 2025, doi: 10.59188/eduvest.v5i4.51108.

[39] M. Sokolova and G. Lapalme, “A systematic analysis of performance measures for classification tasks,” Inf. Process. Manag., vol. 45, no. 4, pp. 427–437, 2009, doi: https://doi.org/10.1016/j.ipm.2009.03.002.

[40] S. Robbiani, B. J. Lotesoriere, R. L. Dellacà, and L. Capelli, “Physical Confounding Factors Affecting Gas Sensors Response: A Review on Effects and Compensation Strategies for Electronic Nose Applications,” Chemosensors, vol. 11, no. 10, 2023, doi: 10.3390/chemosensors11100514.

[41] G. Brookshire et al., “Data leakage in deep learning studies of translational EEG,” Front. Neurosci., vol. 18, 2024, doi: 10.3389/fnins.2024.1373515.

[42] N. Dennler, S. Rastogi, J. Fonollosa, A. van Schaik, and M. Schmuker, “Drift in a popular metal oxide sensor dataset reveals limitations for gas classification benchmarks,” Sensors Actuators B Chem., vol. 361, no. August 2021, 2022, doi: 10.1016/j.snb.2022.131668.

Additional Files

Published

2026-10-31

How to Cite

Ifnu Wisma Dwi Prastya, Mula Agung Barata, Dwi Issadari Hastuti, Rahmat Tegar Patriot Hari Lambang, & Muhammad Ahsanul Fikri. (2026). Klasifikasi Jejak Bau Rokok pada Napas Berdasarkan Interval Waktu Pasca-Merokok Menggunakan Electronic Nose dan Pembelajaran Mesin. JURIKOM (Jurnal Riset Komputer), 13(5), 1439–1451. https://doi.org/10.30865/jurikom.v15i5.10146