Early goat disease detection using temperature models: k-nearest neighbor, decision tree, naive Bayes, and random forest

Fareza Ananda Putra, Wella Wella

Abstract


This study aims to aid livestock activities by enabling early detection of diseases in goats through body temperature measurement. Early detection is crucial to prevent disease spread and improve livestock welfare. Using the knowledge discovery in databases (KDD) methodology, the study involves collecting, processing, and analyzing goat body temperature data. Four algorithms—k-nearest neighbor (KNN), decision tree, naive Bayes, and random forest—were used to develop disease detection models. The decision tree algorithm was found to be the most accurate, achieving 100% accuracy. This demonstrates its effectiveness in detecting diseases based on body temperature. Implementing this model is expected to significantly benefit farmers by helping maintain the health and productivity of their livestock.

Keywords


Body temperature; Decision tree; Disease detection; K-nearest neighbour; Naïve Bayes; Random forest

Full Text:

PDF


DOI: http://doi.org/10.11591/ijai.v14.i5.pp%25p

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Fareza Ananda Putra, Wella

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938 
This journal is published by the Institute of Advanced Engineering and Science (IAES).

View IJAI Stats