Skip to content
Open access

PS12-7. Nested Cross-validated Hyperparameter Optimization and Decision-boundary Analysis for Image-based Anemia Classification in Dairy Goats.

Sep 2026 · Journal of Animal Science · Vol 104 · 0 citations

TL;DR

Results indicate that nested cross-validated kernel optimization produces a computationally efficient, bias-controlled framework suitable for real-time, field-deployable anemia screening in dairy goat production.

Abstract

This study introduces an optimized AI-based machine learning framework for classifying anemia in dairy goats using image-based blood biosensor data collected at the USDA facility in Byron, Georgia. Whole-blood dispersion images were obtained under standardized micro-chamber conditions, emphasizing hematocrit-dependent pigment gradients and clotting microstructures. To ensure robust performance despite limited sample size, nested cross-validation was employed to separate hyperparameter tuning from performance estimation, thereby preventing information leakage and bias. Images were rescaled from 32 × 32 to 512 × 512 pixels to assess the impact of spatial resolution on model complexity. The classifiers evaluated included Support Vector Machine (SVM) with RBF kernel, Backpropagation Neural Network (BPNN), Convolutional Neural Network (CNN), and K-Nearest Neighbors (KNN). Hyperparameters optimized encompassed regularization (C), kernel bandwidth (γ), network depth, and learning rate. Performance metrics comprised cross-validated accuracy, precision, recall, F1-score, and execution time. Bias–variance analysis indicated that resolutions of 128 × 128 pixels or higher increased variance due to high-frequency texture noise in caprine blood dispersion. Optimal generalization was achieved at 64 × 64 resolution using SVM (C = 20; tuned γ), attaining 89.3% accuracy with balanced precision and recall. Decision-boundary analysis in principal component space demonstrated that optimized SVM provided smooth, nonlinear separation between anemia classes while limiting overfitting compared to deeper neural networks. Although CNN and BPNN achieved competitive accuracy, they exhibited higher variance under small-sample conditions. Explainability analyses using SHAP-PCA and Grad-CAM revealed that classification decisions relied on distributed boundary gradients and density transitions rather than isolated features, reflecting heterogeneous caprine hematology. These results indicate that nested cross-validated kernel optimization produces a computationally efficient, bias-controlled framework suitable for real-time, field-deployable anemia screening in dairy goat production.

Read PDF

Similar papers

Open access Sep 2026

80. Non-destructive Prediction of Egg Yolk Content Using Hyperspectral Imaging and Machine Learning.

Nondestructive assessment of internal egg traits could improve quality evaluation for both table eggs and hatching eggs in precision poultry systems. This study evaluated the use of hyperspectral imaging and machine learning to predict yolk content in chicken eggs and to identify spectral regions that contributed mos...

Alin Khaliduzzaman, I. Condotta · 0 citations
Open access 2026

Accuracy, Stability, and Computational Efficiency of Deep CNN Architectures for Apple Leaf Disease Classification

Reliable apple leaf disease classification requires high predictive performance and transparent computational reporting under heterogeneous field conditions. This study presents an orchard-image benchmark of four ImageNet-initialized convolutional architectures—Xception, EfficientNetB0, DenseNet121, and ResNet50V2—usin...

Brahim Ouben Hssain, Khalil Ladrham, N. El Barbri et al. · 0 citations
Open access Sep 2026

PS11-3. A Digital Twin Framework For High-risk FAMACHA Prediction in Goats Using Bioelectrical Impedance Analysis and Grouped Machine Learning.

Early identification of anemia risk in goats is important for improving health monitoring, parasite control, and decision-making at the animal level. This study developed a digital twin-oriented machine learning framework to predict FAMACHA-derived anemia risk using bioelectrical impedance analysis (BIA) and contextu...

P. Batchu, R. Kota, G. Isai et al. · 0 citations
Sep 2026

Leveraging Visual Data for Accurate Body Weight Prediction in Surti Goats

The findings show that combining visual and morphometric information under a strict group-based evaluation provides reliable, non-contact body weight estimation on unseen livestock.

F. Khalid, Rana Ranjeet Singh, Fathehah Farid Rozaidi et al. · 0 citations
Open access 2026

Assessing Machine Learning and Deep Learning Approaches for Wood Volume Prediction in Forest Plantations Using Hyperspectral Imagery: Limitations and Challenges

This study evaluates four machine learning algorithms, Random Forest Regressor, Support Vector Regressor (SVR), Multilayer Perceptron, and a 1-D Convolutional Neural Network, for estimating Pinus taeda L. wood volume using EnMAP hyperspectral data. Spectral preprocessing included PCA dimensionality reduction, with perm...

Fábio R. Spiazzi, V. Liesenberg, M. B. Schimalski et al. · 0 citations
Oct 2026

Out-of-fold-guided risk-controlled output calibration for soil organic matter determination using FT-NIR spectroscopy.

Fourier-transform near-infrared (FT-NIR) spectroscopy enables rapid and non-destructive determination of soil organic matter (SOM), but small calibration datasets may produce prediction-range compression and concentration-dependent residual bias relative to reference SOM values. This study presents a safe adaptive outp...

Fan-Di Kong, Xiao-Yu Zhao, Zhe Zhai et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.