Pascal O. Aloo;Evan W. Murimi;James M. Mutua;John M. Kagira;Mathew N. Kyalo
{"title":"Prediction of oestrus cycle in cattle using machine learning in Kenya","authors":"Pascal O. Aloo;Evan W. Murimi;James M. Mutua;John M. Kagira;Mathew N. Kyalo","doi":"10.23919/SAIEE.2024.10705975","DOIUrl":null,"url":null,"abstract":"Livestock farms in Kenya face pressure to increase productivity amid rising global population. Cattle farming dominates, but small to medium-sized farms struggle with cattle insemination. Currently, visual observation is used for heat detection, with farmers maintaining farm journals. Modern methods utilizing sensors to improve estrus prediction are time-consuming, costly and need constant internet connection. This research proposes a novel approach—the use of an on-controller machine learning algorithm—for estrus prediction in cattle. Motion and temperature data was collected from two zero-grazed multiparous Holstein Friesian cows in Kiambu County, Kenya for 11 months. The data was cleaned and stored. Movement intensity profiles were derived by root-mean-squaring directional accelerometer values and averaging this over time. Validation was performed by observing cow behavior for indicators such as restlessness, mounting, and vulva swelling, with farmer predictions documented in their records. The collected data was then used to train a machine learning algorithm, with several models tested, and a neural network emerged as the best fit. The TensorFlow library facilitated the implementation of the algorithm on a microcontroller, allowing for the development of an animal tag featuring the ML algorithm. Results demonstrated 83.9% sensitivity, 89.0% specificity and 89.5% accuracy in detecting estrus, compared to farmer's visual observation, which had only 37% sensitivity. These findings underscore the potential to integrate machine learning into Precision Livestock Farming for estrus prediction, with prediction occurring directly on the animal tag offline. This integration holds promise for farmers, notably heightened insemination success rates, without necessitating significant financial investment.","PeriodicalId":42493,"journal":{"name":"SAIEE Africa Research Journal","volume":null,"pages":null},"PeriodicalIF":1.0000,"publicationDate":"2024-10-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10705975","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SAIEE Africa Research Journal","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10705975/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
Livestock farms in Kenya face pressure to increase productivity amid rising global population. Cattle farming dominates, but small to medium-sized farms struggle with cattle insemination. Currently, visual observation is used for heat detection, with farmers maintaining farm journals. Modern methods utilizing sensors to improve estrus prediction are time-consuming, costly and need constant internet connection. This research proposes a novel approach—the use of an on-controller machine learning algorithm—for estrus prediction in cattle. Motion and temperature data was collected from two zero-grazed multiparous Holstein Friesian cows in Kiambu County, Kenya for 11 months. The data was cleaned and stored. Movement intensity profiles were derived by root-mean-squaring directional accelerometer values and averaging this over time. Validation was performed by observing cow behavior for indicators such as restlessness, mounting, and vulva swelling, with farmer predictions documented in their records. The collected data was then used to train a machine learning algorithm, with several models tested, and a neural network emerged as the best fit. The TensorFlow library facilitated the implementation of the algorithm on a microcontroller, allowing for the development of an animal tag featuring the ML algorithm. Results demonstrated 83.9% sensitivity, 89.0% specificity and 89.5% accuracy in detecting estrus, compared to farmer's visual observation, which had only 37% sensitivity. These findings underscore the potential to integrate machine learning into Precision Livestock Farming for estrus prediction, with prediction occurring directly on the animal tag offline. This integration holds promise for farmers, notably heightened insemination success rates, without necessitating significant financial investment.