Optimalisasi Convolutional Neural Network Menggunakan Augmentasi dan Hyperparameter untuk Klasifikasi Daging Sapi dan Daging Babi
DOI:
https://doi.org/10.26418/justin.v12i4.80337Keywords:
Augmentasi, daging babi, daging sapi, EfficientNet-B0, hyperparameterAbstract
Tujuan penelitian ini adalah untuk menentukan model optimal pada klasifikasi sapi dan babi dengan menerapkan augmentasi data serta hyperparameter pada Convolutional Neural Network (CNN) arsitektur EfficientNet-B0. Data citra daging sapi dan daging babi yang diambil langsung dari beberapa pasar yang ada di kota Pekanbaru. Data diambil menggunakan kamera DSLR dan kamera smartphone dengan jarak antara 10cm sampai 15cm dan pencahayaan menyesuaikan dengan kondisi cahaya pada lingkungan pasar. Proses pelatihan dan pengujian model klasifikasi menggunakan beberapa skenario yaitu kombinasi pembagian data, jenis dataset, optimizer, fungsi aktivasi, dan learning rate. Berdasarkan hasil pengujian, model klasifikasi yang memiliki nilai akurasi tertinggi adalah 0,93 yaitu model dengan skenario jenis dataset gabungan (dataset original ditambah dengan dataset hasil augmentasi) dengan pembagian data 90% data latih dan 10% data uji. Hasil pengujian akurasi tertinggi menunjukkan model tidak overfitting, tetapi masih ada beberapa data citra daging sapi yang diklasifikasikan menjadi daging babi ataupun oplosan, sehingga perlu dilakukan penelitian lebih lanjut untuk meminimalkan masalah tersebut karena sebagai seorang muslim harus memastikan daging sapi yang dimakan adalah benar daging sapi.References
Antaranews, “Dharma Jaya perkirakan kebutuhan daging naik pada 2022,†2022. Accessed: Sep. 10, 2022. [Online]. Available: https://www.antaranews.com/berita/2777569/dharma-jaya-perkirakan-kebutuhan-daging-naik-pada-2022
dataindonesia.id, “Impor Daging Sapi Indonesia Catat Rekor pada 2021,†2022. Accessed: Sep. 10, 2022. [Online]. Available: https://dataindonesia.id/sektor-riil/detail/impor-daging-sapi-indonesia-catat-rekor-pada-2021
PIHPS Nasional, “Tabel Harga Berdasarkan Komoditas,†PUSAT INFORMASI HARGA PANGAN STRATEGIS NASIONAL, 2022. Accessed: Sep. 10, 2022. [Online]. Available: https://hargapangan.id/tabel-harga/pasar-tradisional/komoditas
tribunnews.com, “Daging Babi Beredar di Bandung, Begini Cara Bedakan Daging Sapi, Daging Babi dan Celeng,†Tribun Cirebon, 2022. Accessed: Sep. 10, 2022. [Online]. Available: https://cirebon.tribunnews.com/2020/05/12/daging-babi-beredar-di-bandung-begini-cara-bedakan-daging-sapi-daging-babi-dan-celeng
iNews.id, “Polres Cimahi Ungkap Oplosan Daging Celeng Jadi Bakso dan Rendang,†iNews Jabar, 2022. Accessed: Sep. 10, 2022. [Online]. Available: https://jabar.inews.id/berita/polres-cimahi-ungkap-oplosan-daging-celeng-jadi-bakso-dan-rendang
GoRiau.com, “Tertipu, 30 Warga Muslim Satu Perumahan Makan Daging Babi Saat Rayakan Idul Fitri, Begini Ceritanya,†2022. Accessed: Sep. 10, 2022. [Online]. Available: https://www.goriau.com/berita/baca/tertipu-30-warga-muslim-satu-perumahan-makan-daging-babi-saat-rayakan-idul-fitri-begini-ceritanya.html
liputan6.com, “Terbongkarnya Modus Penjualan Daging Babi Berkedok Daging Sapi di Lampung,†Sep. 10, 2022. Accessed: Sep. 10, 2022. [Online]. Available: https://www.liputan6.com/regional/read/4537734/terbongkarnya-modus-penjualan-daging-babi-berkedok-daging-sapi-di-lampung
nu.or.id, “4 Bahaya Makanan yang Tak Halal,†NU Online, 2022. Accessed: Sep. 10, 2022. [Online]. Available: https://islam.nu.or.id/ubudiyah/4-bahaya-makanan-yang-tak-halal-ax42k
L. Handayani et al., “Comparison of target Probabilistic Neural Network (PNN) classification for beef and pork,†J Theor Appl Inf Technol, vol. 95, no. 12, 2017.
J. Chairunnisa et al., “Pork and Beef Features Extractions,†in 2018 International Seminar on Application for Technology of Information and Communication (iSemantic), IEEE, 2018, pp. 295–298. doi: 10.1109/ISEMANTIC.2018.8549765.
Jasril and S. Sanjaya, “Learning Vector Quantization 3 (LVQ3) and Spatial Fuzzy C-Means (SFCM) for Beef and Pork Image Classification,†Indonesian Journal of Artificial Intelligence and Data Mining, vol. 1, no. 2, pp. 60–65, 2018, doi: 10.24014/ijaidm.v1i2.5024.
A. M. Priyatno, F. M. Putra, P. Cholidhazia, and L. Ningsih, “Combination of extraction features based on texture and colour feature for beef and pork classification,†in Journal of Physics: Conference Series, IOP Publishing, 2020, p. 012007.
I. Chairul, E. W. Hidayat, and N. I. Kurniati, “Klasifikasi Citra Daging Menggunakan Metode Jaringan Saraf Tiruan dan Ekstraksi Ciri Tekstur Dengan Metode Gray Level Co-occurrence Matrix,†Jurnal Teknik Informatika (JUTIF), vol. 2, no. 1, pp. 1–8, 2021.
Y. Lai, “A Comparison of Traditional Machine Learning and Deep Learning in Image Recognition,†J Phys Conf Ser, vol. 1314, no. 1, pp. 1–8, 2019, doi: 10.1088/1742-6596/1314/1/012148.
M. F. Naufal, “Analisis Perbandingan Algoritma SVM, KNN, dan CNN Untuk Klasifikasi Citra Cuaca,†Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 8, no. 2, pp. 311–318, 2021, doi: 10.25126/jtiik.202184553.
S. Khan, H. Rahmani, S. A. A. Shah, and M. Bennamoun, “A guide to convolutional neural networks for computer vision,†Synthesis lectures on computer vision, vol. 8, no. 1, pp. 1–207, 2018.
K. B. V. Putra, I. P. A. Bayupati, and D. M. S. Arsa, “Klasifikasi Citra Daging Menggunakan Deep Learning dengan Optimisasi Hard Voting,†Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), vol. 5, no. 4, pp. 656–662, 2021.
Salsabila, A. Fitrianto, and B. Sartono, “Image Classification of Beef and Pork Using Convolutional Neural Network in Keras Framework,†Journal homepage: https://journal. trunojoyo. ac. id/ijseit, vol. 5, no. 02, 2021.
A. Fitrianto and B. Sartono, “International journal of science, engineering, and information technology Image Classification of Beef and Pork Using Convolutional Neural Network in Keras Framework,†vol. 05, no. 02, pp. 5–8, 2021.
G. Y. Alhafis, J. Jasril, S. Sanjaya, F. Syafria, and E. Budianita, “Klasifikasi Citra Daging Sapi dan Daging Babi Menggunakan Ekstraksi Ciri dan Convolutional Neural Network,†JURIKOM (Jurnal Riset Komputer), vol. 9, no. 3, pp. 653–660, 2022.
M. M. A. Monshi, J. Poon, V. Chung, and F. M. Monshi, “CovidXrayNet: Optimizing data augmentation and CNN hyperparameters for improved COVID-19 detection from CXR,†Comput Biol Med, vol. 133, p. 104375, 2021.
Y. Lai, “A comparison of traditional machine learning and deep learning in image recognition,†in Journal of Physics: Conference Series, IOP Publishing, 2019, p. 012148.
J. Wu, X.-Y. Chen, H. Zhang, L.-D. Xiong, H. Lei, and S.-H. Deng, “Hyperparameter optimization for machine learning models based on Bayesian optimization,†Journal of Electronic Science and Technology, vol. 17, no. 1, pp. 26–40, 2019.
H. H. Aghdam and E. J. Heravi, Guide to convolutional neural networks, vol. 10, no. 978–973. Springer, 2017.
X. Ying, “An Overview of Overfitting and its Solutions,†J Phys Conf Ser, vol. 1168, no. 2, p. 022022, 2019, doi: 10.1088/1742-6596/1168/2/022022.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 JUSTIN (Jurnal Sistem dan Teknologi Informasi)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The author owns the copyright in his paper and agrees to publish his paper to JUSTIN by giving the rights to the first publication of his paper which is simultaneously licensed under the Creative Commons Attribution License, namely the Similar International 4.0 license (CC BY-NC-SA 4.0).

This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
You are free to:Share "” copy and redistribute the material in any medium or format
Adapt "” remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution "” You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial "” You may not use the material for commercial purposes.
ShareAlike "” If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions "” You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.