An IWMA-Optimized LightGBM Model for Early Ketosis Risk Screening in Dairy Cows Using DHI Data
Featured Application
Abstract
1. Introduction
- (1)
- Development of a novel IWMA for efficient LightGBM hyperparameter optimization, improving the balance between global exploration and local exploitation.
- (2)
- Proposal of an integrated IWMA–LightGBM framework for non-invasive ketosis risk screening using routinely collected DHI data, providing an effective and scalable solution for herd-level metabolic monitoring.
- (3)
- Establishment of an interpretable metabolic risk assessment framework through feature importance and confusion matrix analysis, identifying key metabolic indicators associated with ketosis risk and highlighting classification challenges in transitional metabolic states.
2. Materials and Methods
2.1. Overall Framework
2.2. Dataset Description
2.2.1. Data Source
2.2.2. Label Definition
2.3. Data Preprocessing
2.3.1. Data Partitioning
2.3.2. Feature Selection
2.3.3. Class Balancing
2.3.4. Data Standardization
2.4. Model Foundations
2.4.1. Light Gradient Boosting Machine (LightGBM)
2.4.2. Whale Migration Algorithm (WMA)
2.5. Proposed Improved Whale Migration Algorithm (IWMA)
2.5.1. Cubic Chaotic Map (CCM)
2.5.2. Elite Opposition-Based Learning (EOBL)
2.5.3. Cauchy-Gaussian Hybrid Mutation (CGHM)
2.5.4. Improved Algorithm Flow Chart
2.5.5. Methodological Advantages of IWMA
2.6. IWMA–LightGBM Framework Construction
2.6.1. Training and Validation Strategy
2.6.2. Classification Evaluation Metrics
2.6.3. Regression Evaluation Metrics
2.7. Experimental Design
2.7.1. Design of Ablation Study
2.7.2. Design of Comparison with Conventional Optimization Methods
2.7.3. Design of Sensitivity Analysis
2.7.4. Design of CEC2022 Benchmark Experiments
2.7.5. Design of Baseline Model Comparison
- (1)
- default parameter settings without optimization;
- (2)
- IWMA-optimized parameter settings obtained using the same optimization budget.
3. Results and Discussion
3.1. Validation of IWMA Optimization Performance
3.1.1. Ablation Study
3.1.2. Comparison with Conventional Optimization Methods
3.1.3. Sensitivity Analysis
3.1.4. CEC2022 Benchmark Evaluation
- (1)
- Global Optimality: IWMA consistently achieved lower medians, smaller minimum values, and narrower lower quartiles for functions F1, F2, F5, F6, and F9–F11, indicating close proximity to the global optima. In contrast, SOA and ROA exhibited wider dispersion, while DBO produced multiple outliers, reflecting unstable convergence behavior.
- (2)
- Stability and Robustness: For functions F3, F4, F7, F8, and F12, IWMA demonstrated compact box plots with tight interquartile ranges and few outliers, confirming high stability and low sensitivity to population initialization. By comparison, the other algorithms showed broader interquartile ranges or premature stagnation, highlighting the superior robustness of IWMA across diverse search landscapes.
- (3)
- Exploration–Exploitation Balance: On multimodal functions (F1, F5, and F10), IWMA maintained controlled dispersion, suggesting effective global exploration. Conversely, for unimodal functions (F4, F8, and F11), the algorithm exhibited compact distributions, reflecting efficient local exploitation and rapid convergence.
- (4)
- Prevention of Premature Convergence: WOA and GWO showed tendencies toward early convergence, whereas IWMA preserved population diversity during the early iterations and gradually stabilized over time. This behavior resulted in lower median values and fewer extreme solutions, demonstrating the effectiveness of IWMA’s adaptive perturbation mechanisms.
3.2. Baseline Model Comparison
3.3. Performance Evaluation of IWMA–LightGBM
3.3.1. Classification Performance
3.3.2. Confusion Matrix Analysis
3.3.3. Regression Performance
3.3.4. Feature Importance and Biological Interpretation
3.3.5. Clinical and Practical Implications
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
Appendix A
| Variable | Min | Median | Max |
|---|---|---|---|
| Parity | 1 | 1 | 5 |
| Days in Milk (DIM) | 53 | 165 | 339 |
| Milk Production (kg) | 9 | 29.2 | 49.3 |
| Milk Fat (%) | 2.32 | 4.64 | 6.91 |
| Milk Protein (%) | 2.74 | 3.78 | 4.82 |
| Somatic Cell Count (SCC) (×104 cells/mL) | 0 | 4 | 24 |
| Somatic Cell Score (SCS) | 0 | 2 | 6 |
| Milk Urea Nitrogen (mg/dL) | 4.8 | 13.3 | 22.2 |
| Milk Yield Loss (kg) | 0 | 0 | 0 |
| Milk Payment Differential | 0 | 0 | 0 |
| Economic Loss | 0 | 0 | 0 |
| Energy Corrected Milk (ECM) (kg) | 15.2 | 37.7 | 60 |
| Lactation Persistence | 75.7 | 97.5 | 119.2 |
| WHI | 44.2 | 103.9 | 162.5 |
| Foremilk (kg) | 10.1 | 29.6 | 49.3 |
| Precursor Cells (Cells × 104 cells/mL) | 0 | 4 | 22 |
| Precursor Cell Division | 0 | 2 | 6 |
| Foremilk Loss (kg) | 0 | 0 | 0 |
| Peak Milk Yield (kg) | 17.9 | 33.4 | 49.4 |
| Peak Day (day) | 6 | 85 | 213 |
| 305-Day Milk Yield (kg) | 3745 | 7832 | 12,144 |
| Total Milk Yield (kg) | 322 | 4758 | 10,105 |
| Total Milk Fat (%) | 0.12 | 2.19 | 4.63 |
| Total Milk Protein (%) | 0.11 | 1.77 | 3.78 |
| Adult Equivalent (kg) | 4089 | 8990 | 13,865 |
| Lactose | 4.9 | 5.3 | 5.7 |
| Total Solids | 12 | 15.7 | 19.5 |
| No. | Function | ||
|---|---|---|---|
| Unimodal Functions | 1 | Shifted and full Rotated Zakharov Function | 300 |
| Basic Functions | 2 | Shifted and full Rotated Rosenbrock’s Function | 400 |
| 3 | Shifted and full Rotated Expanded Schaffer’s f 6 Function | 600 | |
| 4 | Shifted and full Rotated Non-Continuous Rastrigin’s Function | 800 | |
| 5 | Shifted and full Rotated Levy Function | 900 | |
| Hybrid Functions | 6 | Hybrid Function 1 (N = 3) | 1800 |
| 7 | Hybrid Function 2 (N = 6) | 2000 | |
| 8 | Hybrid Function 3 (N = 5) | 2200 | |
| Composition Functions | 9 | Composition Function 1 (N = 5) | 2300 |
| 10 | Composition Function 2 (N = 4) | 2400 | |
| 11 | Composition Function 3 (N = 5) | 2600 | |
| 12 | Composition Function 4 (N = 6) | 2700 |
References
- OECD/FAO. OECD-FAO Agricultural Outlook 2022–2031; OECD Publishing: Paris, France, 2022. [Google Scholar] [CrossRef]
- He, K.B. Establishment and application effect of monitoring, warning and early prevention and control technology system of cow ketosis based on DHI. Anim. Breed. Feed. 2021, 20, 83–86. [Google Scholar] [CrossRef]
- Wang, K.; Zhao, X.X.; Zhang, Y.P.; Xue, G.H.; Liu, Y.; Bao, P.; Xu, Q.W.; Li, J.B.; Jiang, L. Research Progress on Based on Mid-infrared Spectroscopy for Monitoring Ketosis in Dairy Cows. Chin. J. Anim. Sci. 2023, 59, 87–92. [Google Scholar] [CrossRef]
- Giurgiu, O.V.; Berean, D.I.; Ionescu, A.; Ciupe, M.S.; Cimpean, C.R.; Radu, C.I.; Bitica, D.G.; Bogdan, S.; Bogdan, M.L. The effect of oral administration of zeolite on the energy metabolism and reproductive health of Romanian spotted breed in advanced gestation and post partum period. Vet. Anim. Sci. 2024, 23, 100333. [Google Scholar] [CrossRef]
- Iwersen, M.; Falkenberg, U.; Voigtsberger, R.; Forderung, D.; Heuwieser, W. Evaluation of an electronic cowside test to detect subclinical ketosis in dairy cows. J. Dairy Sci. 2009, 92, 2618–2624. [Google Scholar] [CrossRef]
- Mondal, M.; Suan, T.K.; Gore, P.L.; Khandelwal, L.; Sharma, R.; Karunakaran, M.; Youssef, H.S.M.; Chakraborty, S.; Akourki, A. Endocrine–metabolic regulation during the transition period in dairy cows: Mechanisms, biomarkers, and emerging diagnostics for subclinical ketosis. Front. Endocrinol. 2026, 17, 1799702. [Google Scholar] [CrossRef]
- Gulinski, P. Ketone bodies—Causes and effects of their increased presence in cows’ body fluids: A review. Vet. World 2021, 14, 1492–1503. [Google Scholar] [CrossRef]
- Duffield, T.F.; Kelton, D.F.; Leslie, K.E.; Lissemore, K.D.; Lumsden, J.H. Use of test day milk fat and milk protein to detect subclinical ketosis in dairy cattle in Ontario. Can. Vet. J. 1997, 38, 713–718. [Google Scholar]
- Chandler, T.L.; Pralle, R.S.; Dórea, J.R.R.; Poock, S.E.; Oetzel, G.R.; Fourdraine, R.H.; White, H.M. Predicting hyperketonemia by logistic and linear regression using test-day milk and performance variables in early-lactation Holstein and Jersey cows. J. Dairy Sci. 2018, 101, 2476–2491. [Google Scholar] [CrossRef]
- Guliński, P.; Socha, S. The relationship between milk fat to protein ratio and selected production traits of Polish Holstein-Friesian cows. Anim. Sci. Pap. Rep. 2021, 39, 213–223. [Google Scholar]
- Du, Z.L.; Luo, Z.Z.; Zhou, T.; Cao, S.Z.; Yan, Z.T. Research Progress on Early Warning Technology of Cow with Ketosis. Chin. J. Anim. Sci. 2024, 60, 31–35. [Google Scholar] [CrossRef]
- Krogh, M.A.; Toft, N.; Enevoldsen, C. Latent class evaluation of a milk test, a urine test, and the fat-to-protein percentage ratio in milk to diagnose ketosis in dairy cows. J. Dairy Sci. 2011, 94, 2360–2367. [Google Scholar] [CrossRef]
- Heuer, C.; Schukken, Y.H.; Dobbelaar, P. Postpartum body condition score and results from the first test day milk as predictors of disease, fertility, yield, and culling in commercial dairy herds. J. Dairy Sci. 1999, 82, 295–304. [Google Scholar] [CrossRef]
- Stancheva, E.; Penev, T. Critical Analysis of Protocols for Good Veterinary Practices in Monitoring, Prevention and Treatment of Ketosis in Dairy Cows. Vet. Sci. 2025, 12, 1019. [Google Scholar] [CrossRef]
- Kong, F.; Wang, S.; Zhang, Y.; Li, C.; Dai, D.; Guo, C.; Wang, Y.; Cao, Z.; Yang, H.; Bi, Y.; et al. Rumen microbiome associates with postpartum ketosis development in dairy cows: A prospective nested case-control study. Microbiome 2025, 13, 69. [Google Scholar] [CrossRef]
- Bauer, E.A.; Jagusiak, W. Prediction of ketosis using radial basis function neural network in dairy cattle farming. Prev. Vet. Med. 2025, 235, 106410. [Google Scholar] [CrossRef]
- Ushikubo, S.; Kubota, C.; Ohwada, H. The Early Detection of Subclinical Ketosis in Dairy Cows Using Machine Learning Methods. In Proceedings of the 9th International Conference on Machine Learning and Computing; ACM: New York, NY, USA, 2017; pp. 38–42. [Google Scholar]
- Satola, A.; Bauer, E.A. Predicting Subclinical Ketosis in Dairy Cows Using Machine Learning Techniques. Animals 2021, 11, 2131. [Google Scholar] [CrossRef]
- Arlauskaitė, S.; Girdauskaitė, A.; Malašauskienė, D.; Televičius, M.; Džermeikaitė, K.; Krištolaitytė, J.; Lembovičiūtė, G.; Šertvytytė, G.; Antanaitis, R. Machine Learning Approaches for Early Identification of Subclinical Ketosis and Low-Grade Ruminal Acidosis During the Transition Period in Dairy Cattle. Life 2025, 15, 1491. [Google Scholar] [CrossRef]
- Thornton, C.; Hutter, F.; Hoos, H.H.; Leyton-Brown, K. Auto-WEKA: Combined selection and hyperparameter optimization of classification algorithms. In Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Chicago, IL, USA, 11–14 August 2013; pp. 847–855. [Google Scholar]
- Mostafa, R.R.; Khedr, A.M.; Al Aghbari, Z.; Afyouni, I.; Kamel, I.; Ahmed, N. An adaptive hybrid mutated differential evolution feature selection method for low and high-dimensional medical datasets. Knowl.-Based Syst. 2024, 283, 111218. [Google Scholar] [CrossRef]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
- Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.-Y. LightGBM: A Highly Efficient Gradient Boosting Decision Tree. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
- Zhou, S.; Li, H.; Fu, X.; Han, D.; He, X. Novel Multi-Classification Dynamic Detection Model for Android Malware Based on Improved Zebra Optimization Algorithm and LightGBM. Sensors 2024, 24, 5975. [Google Scholar] [CrossRef]
- Wolpert, D.H.; Macready, W.G. No Free Lunch Theorems for Optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef]
- Ghasemi, M.; Deriche, M.; Trojovský, P.; Mansor, Z.; Zare, M.; Trojovská, E.; Abualigah, L.; Ezugwu, A.E.; Mohammadi, S.K. An efficient bio-inspired algorithm based on humpback whale migration for constrained engineering optimization. Results Eng. 2025, 25, 104215. [Google Scholar] [CrossRef]
- Zhang, J.; Diao, Y. Hierarchical Learning-Enhanced Chaotic Crayfish Optimization Algorithm: Improving Extreme Learning Machine Diagnostics in Breast Cancer. Mathematics 2024, 12, 2641. [Google Scholar] [CrossRef]
- Feng, J.H.; Zhang, J.; Zhu, X.S.; Lian, W.W. A novel chaos optimization algorithm. Multimed. Tools Appl. 2017, 76, 17405–17436. [Google Scholar] [CrossRef]
- Li, S.; Jin, N.; Dogani, A.; Yang, Y.; Zhang, M.; Gu, X. Enhancing LightGBM for Industrial Fault Warning: An Innovative Hybrid Algorithm. Processes 2024, 12, 221. [Google Scholar] [CrossRef]
- Wen, J.; Wang, F.; Su, Y. A Bi-Layer Collaborative Planning Framework for Multi-UAV Delivery Tasks in Multi-Depot Urban Logistics. Drones 2025, 9, 512. [Google Scholar] [CrossRef]
- Tizhoosh, H.R. Opposition-Based Learning: A New Scheme for Machine Intelligence. IEEE 2005, 1, 695–701. [Google Scholar]
- Rahnamayan, S.; Tizhoosh, H.R.; Salama, M.M.A. Opposition-Based Differential Evolution. IEEE Trans. Evol. Comput. 2008, 12, 64–79. [Google Scholar] [CrossRef]
- Liang, H.; Hu, W.; Gong, K.; Dai, J.; Wang, L. Solving UAV 3D Path Planning Based on the Improved Lemur Optimizer Algorithm. Biomimetics 2024, 9, 654. [Google Scholar] [CrossRef] [PubMed]
- Li, K.W.; Li, S.H.; Huang, Z.C.; Zhang, M.; Xu, Z.F. Grey Wolf Optimization algorithm based on Cauchy-Gaussian mutation and improved search strategy. Sci. Rep. 2022, 12, 18961. [Google Scholar] [CrossRef] [PubMed]
- Ye, J.H.; Shi, R.; Guo, C.Q. Research on hierarchical emergency resource scheduling for island petrochemical enterprises based on improved multi-objective grey wolf optimization algorithm. Energy 2025, 322, 135791. [Google Scholar] [CrossRef]
- Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
- Xue, J.; Shen, B. A novel swarm intelligence optimization approach: Sparrow search algorithm. Syst. Sci. Control Eng. 2020, 8, 22–34. [Google Scholar] [CrossRef]
- Jiankai, X.; Bo, S. Dung beetle optimizer: A new meta-heuristic algorithm for global optimization. J. Supercomput. 2022, 79, 7305–7336. [Google Scholar] [CrossRef]
- Dhiman, G.; Kumar, V. Seagull optimization algorithm: Theory and its applications for large-scale industrial engineering problems. Knowl.-Based Syst. 2018, 165, 169–196. [Google Scholar] [CrossRef]
- Jia, H.M.; Peng, X.X.; Lang, C.B. Remora optimization algorithm. Expert Syst. Appl. 2021, 185, 115665. [Google Scholar] [CrossRef]
- Liu, Y.; As’arry, A.; Hassan, M.K.; Hairuddin, A.A.; Mohamad, H. Review of the grey wolf optimization algorithm: Variants and applications. Neural Comput. Appl. 2024, 36, 2713–2735. [Google Scholar] [CrossRef]
- Bergstra, J.; Bengio, Y. Random Search for Hyper-Parameter Optimization. J. Mach. Learn. Res. 2012, 13, 281–305. [Google Scholar]
- Yang, L.; Shami, A. On hyperparameter optimization of machine learning algorithms: Theory and practice. Neurocomputing 2020, 415, 295–316. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. arXiv 2016, arXiv:1603.02754. [Google Scholar] [CrossRef]
- Thamsatitdej, P.; Kumar, D.R.; Wipulanusat, W. Compressive strength prediction of metakaolin mortar using CATBoost enhanced with genetic algorithm and particle swarm optimization. Asian J. Civ. Eng. 2026, 1–22. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Kaliyaperumal, G.; Renald, C.J.T.; Karthick, P.A. Detection of fatigue conditions in facial muscles using maximal overlap discrete wavelet packet decomposition and multilayer perceptron networks. Int. J. Adv. Eng. Sci. Appl. Math. 2026, 1–12. [Google Scholar] [CrossRef]
- Laura, O.; Karina, B.R.; Claudio, F.; Mario, G. A Literature Review of Modeling Approaches Applied to Data Collected in Automatic Milking Systems. Animals 2023, 13, 1916. [Google Scholar] [CrossRef] [PubMed]
- Huang, Y.; Zhang, B.; Mauck, J.; Loor, J.J.; Wei, B.; Shen, B.; Wang, Y.; Zhao, C.; Zhu, X.; Wang, J. Plasma and milk metabolomics profiles in dairy cows with subclinical and clinical ketosis. J. Dairy Sci. 2024, 107, 6340–6357. [Google Scholar] [CrossRef]
- Zhang, Y.; Wang, C.; Khan, M.Z.; Ju, Z.; Huang, J. Current Understanding of Bovine Ketosis: From Molecular Basis to Farm-Level Management. Animals 2025, 15, 3644. [Google Scholar] [CrossRef]
- Martens, H. Invited Review: Increasing Milk Yield and Negative Energy Balance: A Gordian Knot for Dairy Cows? Animals 2023, 13, 3097. [Google Scholar] [CrossRef] [PubMed]















| Hyperparameters | Meaning | [lb, ub] |
|---|---|---|
| num_leaves | Maximum number of leaves in one tree. | [10, 200] |
| learning_rate | Step size shrinkage used to prevent overfitting. | [0.01, 0.3] |
| feature_fraction | Fraction of features randomly selected for each tree. | [0.1, 1.0] |
| bagging_fraction | Fraction of data used for training each iteration (row sampling). | [0.1, 1.0] |
| Bagging_freq | Frequency (in iterations) at which bagging is applied. | [1, 10] |
| min_child_samples | Minimum number of samples required to form a leaf. | [5, 100] |
| lambda_l1 | L1 regularization term on weights. | [0, 10] |
| lambda_l2 | L2 regularization term on weights. | [0, 10] |
| Variant | Strategy | MSE | Convergence Iteration | MSE Reduction Ratio |
|---|---|---|---|---|
| 1 | WMA + CCM | 0.342 ± 0.01 | 870 | 2.29% |
| 2 | WMA + EOBL | 0.346 ± 0.01 | 890 | 1.14% |
| 3 | WMA + CGHM | 0.337 ± 0.01 | 850 | 3.71% |
| 4 | WMA (Baseline) | 0.350 ± 0.02 | 920 | 0 |
| 5 | WMA + CCM + EOBL | 0.308 ± 0.01 | 810 | 12.00% |
| 6 | IWMA | 0.299 ± 0.01 | 750 | 14.57% |
| Method | MSE (Mean ± Std) | Best Fitness | Mean Fitness | Convergence Iteration | Average Running Time (s) |
|---|---|---|---|---|---|
| GS | 0.479 ± 0.042 | 1.450 | 1.63 | 980 | 198.2 ± 9.1 |
| BO | 0.367 ± 0.018 | 1.080 | 1.26 | 780 ± 42 | 105.3 ± 6.1 |
| RS | 0.423 ± 0.031 | 1.310 | 1.48 | 920 ± 51 | 131.7 ± 7.4 |
| IWMA | 0.321 ± 0.009 | 0.920 | 1.12 | 690 ± 29 | 109.8 ± 6.5 |
| Model | Accuracy | Accuracy (Default) | F1-Score | F1 (Default) | MSE | MSE (Default) | R2 | R2 (Default) | Avg. Training Time (s) |
|---|---|---|---|---|---|---|---|---|---|
| LightGBM | 0.8625 | 0.7852 | 0.8358 | 0.7621 | 0.3182 | 0.3891 | 0.4795 | 0.4403 | 102.5 ± 5.8 |
| XGBoost | 0.8571 | 0.7643 | 0.8206 | 0.7450 | 0.3345 | 0.4015 | 0.4658 | 0.4285 | 178.3 ± 7.6 |
| CatBoost | 0.8305 | 0.7520 | 0.8052 | 0.7324 | 0.3398 | 0.4120 | 0.4592 | 0.4225 | 159.6 ± 7.2 |
| RF | 0.7789 | 0.7215 | 0.7603 | 0.7018 | 0.3621 | 0.4287 | 0.4276 | 0.3934 | 90.3 ± 5.2 |
| MLP | 0.7568 | 0.7024 | 0.7421 | 0.6895 | 0.3795 | 0.4452 | 0.4053 | 0.3729 | 206.7 ± 8.9 |
| Model | Accuracy | Precision | Recall | F1-Score | 1-Log Loss | MSE | R2 | MAE | RMSE |
|---|---|---|---|---|---|---|---|---|---|
| SSA-LightGBM | 0.6404 | 0.7166 | 0.6101 | 0.6280 | 0.1592 | 0.3073 | 0.4940 | 0.4033 | 0.5544 |
| DBO-LightGBM | 0.6659 | 0.7213 | 0.6251 | 0.6460 | 0.1988 | 0.3118 | 0.4866 | 0.4124 | 0.5584 |
| SOA-LightGBM | 0.8338 | 0.8281 | 0.7901 | 0.8071 | 0.6179 | 0.3382 | 0.4432 | 0.4445 | 0.5815 |
| ROA-LightGBM | 0.7583 | 0.7696 | 0.7045 | 0.7292 | 0.4303 | 0.3117 | 0.4867 | 0.4072 | 0.5583 |
| WOA-LightGBM | 0.8353 | 0.8366 | 0.7908 | 0.8109 | 0.6127 | 0.3026 | 0.5017 | 0.3972 | 0.5501 |
| GWO-LightGBM | 0.8041 | 0.8186 | 0.7536 | 0.7795 | 0.5586 | 0.3074 | 0.4939 | 0.4040 | 0.5544 |
| WMA-LightGBM | 0.8499 | 0.8342 | 0.8130 | 0.8230 | 0.6522 | 0.2966 | 0.5117 | 0.4051 | 0.5446 |
| IWMA-LightGBM | 0.8997 | 0.8569 | 0.8959 | 0.8749 | 0.7148 | 0.2890 | 0.5242 | 0.3949 | 0.5376 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Yang, Y.; Dai, Y.; Liu, H.; Guo, R. An IWMA-Optimized LightGBM Model for Early Ketosis Risk Screening in Dairy Cows Using DHI Data. Appl. Sci. 2026, 16, 5050. https://doi.org/10.3390/app16105050
Yang Y, Dai Y, Liu H, Guo R. An IWMA-Optimized LightGBM Model for Early Ketosis Risk Screening in Dairy Cows Using DHI Data. Applied Sciences. 2026; 16(10):5050. https://doi.org/10.3390/app16105050
Chicago/Turabian StyleYang, Yang, Yongqiang Dai, Huan Liu, and Rui Guo. 2026. "An IWMA-Optimized LightGBM Model for Early Ketosis Risk Screening in Dairy Cows Using DHI Data" Applied Sciences 16, no. 10: 5050. https://doi.org/10.3390/app16105050
APA StyleYang, Y., Dai, Y., Liu, H., & Guo, R. (2026). An IWMA-Optimized LightGBM Model for Early Ketosis Risk Screening in Dairy Cows Using DHI Data. Applied Sciences, 16(10), 5050. https://doi.org/10.3390/app16105050

