Machine learning models for predicting the use of different animal breeding services in smallholder dairy farms in Sub-Saharan Africa
This study is concerned with developing predictive models using machine learning techniques to be used in identifying factors that influence farmers’ decisions, predict farmers’ decisions, and forecast farmers’ demands relating to breeding service. The data used to develop the models comes from a survey of small-scale dairy farmers from Tanzania (n = 3500 farmers), Kenya (n = 6190 farmers), Ethiopia (n = 4920 farmers), and Uganda (n = 5390 farmers) and more than 120 variables were identified to influence breeding decisions. Feature engineering process was used to reduce the number of variables to a practical level and to identify the most influential ones. Three algorithms were used for feature selection, namely: logistic regression, random forest, and Boruta. Subsequently, six predictive models, using features selected by feature selection method, were tested for each country—neural network, logistic regression, K-nearest neighbor, decision tree, random forest, and Gaussian mixture model. A combination of decision tree and random forest algorithms was used to develop the final models. Each country model showed high predictive power (up to 93%) and are ready for practical use. The use of ML techniques assisted in identifying the key factors that influence the adoption of breeding method that can be taken and prioritized to improve the dairy sector among countries. Moreover, it provided various alternatives for policymakers to compare the consequences of different courses of action which can assist in determining which alternative at any particular choice point had a high probability to succeed, given the information and alternatives pertinent to the breeding decision. Also, through the use of ML, results to the identification of different clusters of farmers, who were classified based on their farm, and farmers’ characteristics, i.e., farm location, feeding system, animal husbandry practices, etc. This information had significant value to decision-makers in finding the appropriate intervention for a particular cluster of farmers. In the future, such predictive models will assist decision-makers in planning and managing resources by allocating breeding services and capabilities where they would be most in demand.
KeywordsBreeding service Dairy Livestock Machine learning Predictive models
The authors received the support of funding and data access provided by the Programme for Enhancing the Health and Productivity of Livestock (PEHPL, ID: OPP1083453) and Programme for Emerging Agricultural Research Leaders (PEARL).
Compliance with ethical standards
All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards.
Conflict of interest
The authors declare that they have no conflict of interest.
- Anthony, M., Vincent, K., David, O., John, M., 2014. Breeding Services and the Factors Influencing Their Use on Smallholder Dairy Farms in Central Uganda. Vet. Med. Int. 2014.Google Scholar
- Dehinenet, G., Mekonnen, H., Kidoido, M., Ashenafi, M., Bleich, E.G., 2014. Factors influencing adoption of dairy technology on small holder dairy farmers in selected zones of Amhara and Oromia National Regional States, Ethiopia. Discourse J. Agric. Food Sci.Google Scholar
- Lamb, G.C., Mercadante, V.R.G., Henry, D.D., Fontes, P.L.P., Dahlen, C.R., Larson, J.E., DiLorenzo, N., 2016. Invited Review: Advantages of current and future reproductive technologies for beef cattle production. Prof. Anim. Sci. 32, 162–171. https://doi.org/10.15232/PAS.2015-01455 CrossRefGoogle Scholar
- León-Velarde, C., (CIP), R.Q.-P.C., 8pp, L.P., 2001, U., 2001. Modeling cattle production systems: integrating components and their interactions in the development of simulation models. Proceedings-Third Int. Symp. Syst. Approaches Agric. Dev. SAAD III Int. Potato Cent. (CIP), Lima Peru 8.Google Scholar
- Lior, R., 2014. Data mining with decision trees: theory and applications.Google Scholar
- Mwanga, G., Mujibi, D., Yonah, Z., Chagunda, M., 2018b. Predictive models for machine learning in smallholder dairy production systems.Google Scholar
- Singh, A., Halgamuge, M.N., Lakshmiganthan, R., 2017. Impact of Different Data Types on Classifier Performance of Random Forest, Naïve Bayes, and K-Nearest Neighbors Algorithms. IJACSA) Int. J. Adv. Comput. Sci. Appl. 8.Google Scholar
- Tefera, S., Lagat, J., Bett, H., 2014. Determinants of Artificial Insemination Use by Smallholder Dairy Farmers in Lemu-Bilbilo District, EthiopiaInt. J. African Asian Stud. 4.Google Scholar