An Expert System for Diagnosing Respiratory Diseases in Cattle Using the Naïve Bayes
DOI:
https://doi.org/10.51903/pmxpdm56Keywords:
Expert System, Cattle Diseases, Naïve Bayes, Diagnosis, WebsiteAbstract
Cattle are among the most economically valuable livestock, but they are vulnerable to various diseases, especially respiratory illnesses. To support rapid and accurate disease diagnosis, an expert system is required. This study aimed to develop an expert system capable of diagnosing respiratory diseases in cattle using the Naïve Bayes method. This method was selected for its ability to process data efficiently using a probabilistic approach and to produce accurate predictions even with limited data. The system was designed as a web-based application using the PHP programming language and MySQL database. Symptoms and disease data were collected through interviews with veterinarians, covering 16 symptoms and nine common respiratory diseases, and used as training data for the classification process. The system implements probability calculations across prior, likelihood, and posterior stages to generate the most likely diagnosis. Testing was conducted by comparing the system’s diagnostic results with expert diagnoses, and the evaluation showed an accuracy rate of 90%, indicating its reliability in practical applications. The system not only provides diagnostic outcomes based on user-selected symptoms but also presents disease descriptions and suggested treatments. With these features, this expert system is expected to help farmers detect respiratory diseases in cattle earlier, enabling quicker treatment, reducing economic losses, and serving as an accessible technological tool to support veterinary practices in rural areas.
References
[1] N. Luthfi et al., Pengantar Peternakan. Jambi: PT. Sonpedia Publishing Indonesia, 2024. [Online]. Available: https://buku.sonpedia.com/2024/02/pengantar-peternakan.html
[2] S. N. Aisyah, U. Ali, and U. Kalsum, “Potensi Pengembangan Usaha Ternak Sapi Perah Desa Kemiri Kecamatan Jabung Jawa Timur,” J. Peternak. Indones., vol. 24, no. 2, pp. 171–179, 2022, doi: 10.25077/jpi.24.2.171-179.2022.
[3] N. S. An-nisa, R. Syarief, and G. Suprayitno, “Strategi Pengembangan Asuransi Ternak Sapi,” J. Manaj. Agribisnis, vol. 12, no. 1, pp. 27–35, 2015, doi: 10.17358/jma.12.1.27Implementas.
[4] T. Firdaus and F. Yanti, “Implementasi Metode Naïve Bayes pada Sistem Pakar,” J. Din. Inform., vol. 14, no. 2, pp. 87–98, 2022, doi: 10.35315/informatika.v14i2.9201.
[5] S. Matondang, “Sistem Pakar Diagnosis Penyakit Umum Menggunakan Metode Forward Chaining,” Remik Ris. dan E-Jurnal Manaj. Inform. Komput., vol. 7, no. 3, pp. 1712–1723, 2023, doi: 10.33395/remik.v7i3.12903.
[6] A. Fauzi, “Aplikasi Sistem Pakar dengan Metode Naive Bayes untuk Mendeteksi Penyakit Diabetes,” J. Manaj. Inform., vol. 15, no. 1, pp. 17–31, 2025, doi: 10.34010/jamika.v15i1.12391.
[7] Y. Gunawan, I., & Fernando, “Sistem Pakar Diagnosa Penyakit Kulit Pada Kucing Menggunakan Metode Naive Bayes Berbasis Web,” J. Inform. Dan Rekayasa Perangkat Lunak, vol. 2, no. 2, pp. 239–247, 2021, doi: 10.33005/jifosi.v2i2.347.
[8] L. Suryadila, F. Okmayura, F. Hasanah, and E. Santia, “Pemodelan UML untuk Perancangan Sistem Pakar Mendeteksi Kerusakan pada Mobil Mitsubishi COLT L300 Menggunakan Pendekatan Certainty Factor,” JATI(Jurnal Mhs. Tek. Inform., vol. 8, no. 3, pp. 2502–2510, 2024, doi: 10.36040/jati.v8i3.8995.
[9] R. Nabiah and W. Al Hasani, “Sistem Pakar Diagnosis Penyakit pada Kucing dengan Menggunakan Metode Naïve Bayes,” J. Inf. Syst. Artif. Intell., vol. 5, no. 1, pp. 173–180, 2024, doi: 10.26486/jisai.v5i1.141.
[10] D. Aldo, Y. S. R. Nur, and M. Y. Fathoni, “Sistem Pakar Diagnosis Penyakit pada Ikan Bawal Bintang dengan Pendekatan Naive bayes,” J. Inform. J. Pengemb. IT, vol. 8, no. 2, pp. 97–104, 2023, doi: 10.30591/jpit.v8i2.4750.
[11] I. Andika, D. Maharani, and Mardalius, “Penerapan Teorema Bayes pada Sistem Pakar Pendeteksi Penyakit Domba,” Edumatic J. Pendidik. Inform., vol. 6, no. 2, pp. 252–259, 2022, doi: 10.29408/edumatic.v6i2.6332.
[12] U. Karolina, N. Wijaya, and D. Alamsyah, “Klasifikasi Potensi Anak SD Berdasarkan Hobi Menggunakan Metode Naive Bayes dengan Teknik Undersampling,” J. Ilm. Sist. Inf., vol. 4, no. 3, pp. 340–350, Jul. 2025, doi: 10.51903/wxnxrm24.
[13] R. D. Hartana and E. I. Sela, “Nutritional Status Classification of Stunting in Toddlers Using Naive Bayes Classifier Method,” J. Technol. Informatics Eng., vol. 3, no. 1, pp. 1–10, Mar. 2024, doi: 10.51903/jtie.v3i1.154.
[14] D. A. S. Rahardjo, M. Andriana, and S. H. Prasastono, “Consumer Behavior and Purchase Intentions: A Machine Learning-Based Sentiment Analysis of Social Media Data,” J. Manag. Informatics, vol. 3, no. 1, pp. 157–173, Apr. 2024, doi: 10.51903/jmi.v3i1.45.
[15] P. H. Susilo, M. G. Rohman, A. B. Laksono, and A. Bachri, “Sistem Pakar Penentuan Kualitas Jagung Menggunakan Metode Naive Bayes,” Insearch, vol. 4, no. 2, pp. 47–54, 2024, doi: 10.15548/isrj.v4i02.9280.
[16] F. Fadhilah, “Penerapan Metode Naive Bayes pada Aplikasi Sistem Pakar untuk Diagnosa Penyakit Kulit Pada Kucing,” J. Infomedia, vol. 5, no. 1, p. 23, 2020, doi: 10.30811/jim.v5i1.1602.
[17] P. E. Wardani, Y. Siagian, and M. Ihsan, “Sistem Pakar untuk Diagnosa Penyakit Sapi Menggunakan Metode Bayes,” Build. Informatics, Technol. Sci., vol. 4, no. 2, pp. 413–421, 2022, doi: 10.47065/bits.v4i2.2197.
[18] E. M. Prawestina, M. G. Rohman, and M. R. Zamroni, “Sistem Pakar Diagnosa Gangguan Pencernaan Balita dengan Metode Naive Bayes,” Semin. Nas. Teknol. Sains, vol. 3, no. 1, pp. 23–28, 2024, doi: 10.29407/stains.v3i1.4079.
[19] W. Hidayatullah, Salman, and L. B. Darmawan, “Sistem Pakar Diagnosis Penyakit ISPA Menggunakan Metode Naïve Expert System Diagnosis of Ari Disease Using Naive Bayes Method Based on Web Based Puskesmas Teratak,” J. Kecerdasan Buatan dan Teknol. Inf., vol. 2, no. 1, pp. 32–42, 2023, doi: 10.69916/jkbti.v2i1.13.
[20] J. O. A. Putri and M. G. Rohman, “Sistem Pakar Diagnosa Penyakit Influenza dengan Menggunakan Metode Naive Bayes Berbasis Web,” Gener. J., vol. 7, no. 3, pp. 84–92, 2023, doi: 10.29407/gj.v7i3.21056.
[21] E. Nurlailah and K. R. N. Wardani, “Perancangan Website Sebagai Media Informasi dan Promosi Oleh-Oleh Khas Kota Pagaralam,” JIPI (Jurnal Ilm. Penelit. dan Pembelajaran Inform., vol. 8, no. 4, pp. 1175–1185, 2023, doi: 10.29100/jipi.v8i4.
[22] M. Orisa, A. Faisol, and M. I. Ashari, “Perancangan Website Company Profile Menggunakan Design Science Research Methodology (DSRM),” JINTEKS (Jurnal Inform. Teknol. dan Sains), vol. 5, no. 1, pp. 160–164, 2023, doi: 10.51401/jinteks.v5i1.2576.
[23] V. Miftahuljannah and A. Suharso, “Pengimplementasian Berbagai Web Berdasarkan Kebutuhan Pengguna Dengan Menggunakan Metode Systematic Literature Review,” INFOTECH J., vol. 9, no. 2, pp. 401–405, 2023, doi: 10.31949/infotech.v9i2.6341.
[24] R. Kurniah, “Penerapan Sistem Informasi Berbasis Web untuk Pengelolaan dan Pengarsipan Dokumen,” Infotek J. Inform. dan Teknol., vol. 6, no. 2, pp. 258–267, 2023, doi: 10.29408/jit.v6i2.11946.
[25] K. I. Listyoningrum, D. Y. Fenida, and N. Hamidi, “Inovasi Berkelanjutan dalam Bisnis: Manfaatkan Flowchart untuk Mengoptimalkan Nilai Limbah Perusahaan Sustainable Innovation in Business: Leverage Flowcharts to Optimize the Value of Corporate Waste,” JIPMJurnal Inf. Pengabdi. Masy., vol. 1, no. 4, pp. 100–112, 2023, doi: https://doi.org/10.47861/jipm-nalanda.v1i4.550.
[26] T. A. Rospricilia and M. N. P. Ma’ady, “Pemodelan Integration Use Case ( IUC ): Perancangan Use Case Diagram ( UML ) untuk Sistem-sistem yang Terintegrasi,” INTEGER J. Inf. Technol., vol. 9, no. 2, pp. 165–172, 2024, doi: https://doi.org/10.31284/j.integer.2024.v9i2.6345.
[27] R. Rohmanto and T. Setiawan, “Perbandingan Efektivitas Sistem Pembelajaran Luring dan Daring Menggunakan Metode Use case dan Sequence Diagram,” Intern. (Information Syst. Journal), vol. 5, no. 1, pp. 53–62, 2022, doi: https://doi.org/10.32627/internal.v5i1.506.
[28] S. W. Ramdany, S. A. Kaidar, B. Aguchino, C. Amelia, and A. Putri, “Penerapan UML Class Diagram dalam Perancangan Sistem Informasi Perpustakaan Berbasis Web,” J. Ind. Eng. Syst., vol. 5, no. 1, pp. 30–41, 2024, doi: https://doi.org/10.31599/2e9afp31.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Yoevita Raudha, Muhammad Ghofar Rohman, Munif

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All articles published in this journal are open access and licensed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0).
Under this license:
-
Authors retain copyright of their work.
-
Others are free to:
-
Share — copy and redistribute the material in any medium or format;
-
Adapt — remix, transform, and build upon the material for any purpose, even commercially;
-
-
As long as they:
-
Give appropriate credit to the original author(s) and the source;
-
Provide a link to the license;
-
Indicate if changes were made;
-
Distribute their contributions under the same license as the original.
-
This ensures that derivative works will also remain free and open under the same terms.













.png)