Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

Machine Learning Prediction of Goat Reproductive Success in Smallholder Farming Systems

Domaine:

agriculture

Type de record:

paper
Créateur:
KenMicWilPat
Éditeur:
Spr
Hôte:
Abstract Predicting whether a goat doe will conceive following a mating event is a computationally tractable binary classification problem with direct implications for smallholder farm management in resource-constrained settings. This study developed, evaluated, and compared five machine learning classification algorithms. Logistic Regression (LR), Random Forest (RF), XGBoost, Support Vector Machine (SVM), and Artificial Neural Network (ANN) for predicting conception success using 900 indigenous doe-mating records from 240 smallholder farms across four agro-ecological zones of Uganda. The study employed a rigorous evaluation framework, including stratified 80/20 train-test splitting, 10-fold cross-validation, within-fold SMOTE resampling, and 11 performance metrics covering discrimination, calibration, and class-specific detection. Logistic Regression achieved the highest test set ROC-AUC (0.6908), Average Precision (0.8237), and best probability calibration (Brier Score = 0.2207), with a near-zero overfitting gap (0.010) attributable to L2 regularisation. Random Forest achieved the highest Sensitivity (0.9098) and pregnant-class F1-Score (0.8014) but showed severe overfitting (training-test AUC gap = 0.335), reflecting the complexity-sample-size mismatch. SVM and ANN both showed near-random performance (AUC = 0.540 and 0.519 respectively) due to parameter count to sample size ratios far exceeding what the training data could constrain. Learning curve analysis confirmed that all algorithms are still improving at n = 720 training records, indicating that the target performance threshold of AUC of 0.750 is achievable with larger samples. Based on its superior calibration, generalisation, and interpretability, Logistic Regression is selected as the primary model for a three-tier risk classification decision-support tool (Low, Moderate, and High Risk) deployable as a smartphone application or paper-based scoring card in resource-constrained field settings across Uganda.

Visit

doi.org

Licenses

https://creativecommons.org/licenses/by/4.0/

Similaires

Improvement of smallholder farming systems in AfricaClassification of Maize in Complex Smallholder Farming Systems Using UAV ImageryProspects for sustainable intensification of smallholder farming systems in Ethiopian highlandsBanana Mapping in Heterogenous Smallholder Farming Systems Using High-Resolution Remote Sensing Imagery and Machine Learning Models with Implications for Banana Bunchy Top Disease SurveillanceCrop–livestock integration in smallholder farming systems of Goromonzi and Murehwa, ZimbabweCognitive Biases about Climate Variability in Smallholder Farming Systems in Zambia

Improvement of smallholder farming systems in Africa

Abstract This forum paper provides a synthesis and discussion of 14 categories of lessons learned f

Classification of Maize in Complex Smallholder Farming Systems Using UAV Imagery

Yield estimates and yield gap analysis are important for identifying poor agricultural productivity.

Prospects for sustainable intensification of smallholder farming systems in Ethiopian highlands

This dissertation examines the prospects of sustainable agricultural intensification by rural farmin

Banana Mapping in Heterogenous Smallholder Farming Systems Using High-Resolution Remote Sensing Imagery and Machine Learning Models with Implications for Banana Bunchy Top Disease Surveillance

Banana (and plantain, Musa spp.), in sub-Saharan Africa (SSA), is predominantly grown as a mixed cro

Crop–livestock integration in smallholder farming systems of Goromonzi and Murehwa, Zimbabwe

Abstract Poor productivity in smallholder farming systems has necessitated research on the potentia

Cognitive Biases about Climate Variability in Smallholder Farming Systems in Zambia

Abstract Given the varying manifestations of climate change over time and the influence of climate