Pascal O. Aloo;Evan W. Murimi;James M. Mutua;John M. Kagira;Mathew N. Kyalo
{"title":"肯尼亚利用机器学习预测牛的发情周期","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":"{\"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}","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
摘要
在全球人口不断增长的情况下,肯尼亚的畜牧场面临着提高生产力的压力。养牛业占主导地位,但中小型农场在牛人工授精方面举步维艰。目前,发情检测采用目视观察法,由农民保存农场日志。利用传感器改进发情预测的现代方法耗时长、成本高,而且需要不断连接互联网。本研究提出了一种新方法--使用控制器上的机器学习算法来预测牛的发情。研究人员从肯尼亚基安布县的两头零放牧多胎荷斯坦弗里斯兰奶牛身上收集了11个月的运动和温度数据。数据经过清理和存储。通过对方向加速度计值进行均方根求和,并对其进行时间平均,得出运动强度曲线。验证是通过观察奶牛的行为,如不安、上座和外阴肿胀等指标,并将牧场主的预测记录在案。然后,收集到的数据被用于训练机器学习算法,并对多个模型进行了测试,最后发现神经网络最为合适。TensorFlow 库有助于在微控制器上实现该算法,从而开发出具有 ML 算法的动物标签。结果表明,在检测发情方面,灵敏度为 83.9%,特异度为 89.0%,准确率为 89.5%,而农夫目测的灵敏度仅为 37%。这些发现强调了将机器学习集成到精准畜牧业中进行发情预测的潜力,预测可直接在离线动物标签上进行。这种整合为农民带来了希望,尤其是在无需大量资金投入的情况下提高了授精成功率。
Prediction of oestrus cycle in cattle using machine learning in Kenya
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.