Bulletin of Information Technology (BIT)
Vol 7 No 3: September 2026

Explainable Gradient Boosting for Egg Production Anomaly Detection in Laying Hen Farms

Intra Swadaya Hidayat (Institut Teknologi dan Bisnis Palcomtech)
Febria Sri Handayani (Institut Teknologi dan Bisnis Palcomtech)
Yarza Aprizal (Institut Teknologi dan Bisnis Palcomtech)
Rendy Almaheri Adhi Pratama (Institut Teknologi dan Bisnis Palcomtech)
Muhammad Jhonsen Syaftriandi (Institut Teknologi dan Bisnis Palcomtech)



Article Info

Publish Date
23 Sep 2026

Abstract

Abstract- Small-scale laying-hen farms require analytical tools that can detect abnormal egg-production patterns while remaining interpretable for operational decision support. This study develops and evaluates an explainable gradient boosting framework for low-production anomaly detection using farm-level environmental, management, and production records. The dataset contained 481 observations with eight variables, including flock size, feed amount, ammonia, temperature, humidity, light intensity, noise, and total egg production. Exact-duplicate inspection found 407 duplicated rows; therefore, the 74 unique observations were used as the primary evaluation dataset. Egg production rate was derived by normalizing total egg output by flock size, and low-production anomalies were defined using the 10th percentile threshold, resulting in eight anomaly cases. Supervised tree-based models were evaluated using repeated stratified four-fold cross-validation with 20 repeats, and unsupervised methods were used as anomaly baselines. XGBoost achieved the best full-feature performance, with F1-score of 0.928, recall of 1.000, ROC-AUC of 0.997, and PR-AUC of 0.984. Sensitivity analysis without flock size showed that environmental and management variables retained useful signal. SHAP analysis indicated that flock size, light intensity, and temperature were the dominant predictors. The findings support interpretable operational monitoring of low egg-production patterns, although the results require validation on larger expert-labeled datasets.

Copyrights © 2026






Journal Info

Abbrev

BIT

Publisher

Subject

Computer Science & IT

Description

Jurnal Bulletin of Information Technology (BIT) memuat tentang artikel hasil penelitian dan kajian konseptual bidang teknik informatika, ilmu komputer dan sistem informasi. Topik utama yang diterbitkan mencakup:berisi kajian ilmiah informatika tentang : Sistem Pendukung Keputusan Sistem Pakar Sistem ...