Evaluation of the Efficiency of Machine Learning Algorithms for Identification of Cattle Behavior Using Accelerometer and Gyroscope Data

Tsvetelina Mladenova, Irena Valova, B. Evstatiev, N. Valov, Ivan Varlyakov, Tsvetan Markov, S. Stoycheva, Lora Mondeshka, Nikolay Markov
{"title":"Evaluation of the Efficiency of Machine Learning Algorithms for Identification of Cattle Behavior Using Accelerometer and Gyroscope Data","authors":"Tsvetelina Mladenova, Irena Valova, B. Evstatiev, N. Valov, Ivan Varlyakov, Tsvetan Markov, S. Stoycheva, Lora Mondeshka, Nikolay Markov","doi":"10.3390/agriengineering6030128","DOIUrl":null,"url":null,"abstract":"Animal welfare is a daily concern for livestock farmers. It is known that the activity of cows characterizes their general physiological state and deviations from the normal parameters could be an indicator of different kinds of diseases and conditions. This pilot study investigated the application of machine learning for identifying the behavioral activity of cows using a collar-mounted gyroscope sensor and compared the results with the classical accelerometer approach. The sensor data were classified into three categories, describing the behavior of the animals: “standing and eating”, “standing and ruminating”, and “laying and ruminating”. Four classification algorithms were considered—random forest ensemble (RFE), decision trees (DT), support vector machines (SVM), and naïve Bayes (NB). The training relied on manually classified data with a total duration of 6 h, which were grouped into 1s, 3s, and 5s piles. The obtained results showed that the RFE and DT algorithms performed the best. When using the accelerometer data, the obtained overall accuracy reached 88%; and when using the gyroscope data, the obtained overall accuracy reached 99%. To the best of our knowledge, no other authors have previously reported such results with a gyroscope sensor, which is the main novelty of this study.","PeriodicalId":505370,"journal":{"name":"AgriEngineering","volume":" 12","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AgriEngineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/agriengineering6030128","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Animal welfare is a daily concern for livestock farmers. It is known that the activity of cows characterizes their general physiological state and deviations from the normal parameters could be an indicator of different kinds of diseases and conditions. This pilot study investigated the application of machine learning for identifying the behavioral activity of cows using a collar-mounted gyroscope sensor and compared the results with the classical accelerometer approach. The sensor data were classified into three categories, describing the behavior of the animals: “standing and eating”, “standing and ruminating”, and “laying and ruminating”. Four classification algorithms were considered—random forest ensemble (RFE), decision trees (DT), support vector machines (SVM), and naïve Bayes (NB). The training relied on manually classified data with a total duration of 6 h, which were grouped into 1s, 3s, and 5s piles. The obtained results showed that the RFE and DT algorithms performed the best. When using the accelerometer data, the obtained overall accuracy reached 88%; and when using the gyroscope data, the obtained overall accuracy reached 99%. To the best of our knowledge, no other authors have previously reported such results with a gyroscope sensor, which is the main novelty of this study.
利用加速计和陀螺仪数据评估机器学习算法识别牛行为的效率
动物福利是畜牧业者每天都要关注的问题。众所周知,奶牛的活动是其一般生理状态的特征,偏离正常参数可能是各种疾病和状况的指标。这项试验性研究调查了机器学习在识别奶牛行为活动方面的应用,使用的是安装在项圈上的陀螺仪传感器,并将结果与传统的加速度计方法进行了比较。传感器数据被分为三类,分别描述动物的行为:"站立和进食"、"站立和反刍 "以及 "躺卧和反刍"。考虑了四种分类算法--随机森林组合 (RFE)、决策树 (DT)、支持向量机 (SVM) 和天真贝叶斯 (NB)。训练依赖于总时长 6 小时的人工分类数据,这些数据被分为 1 秒、3 秒和 5 秒堆。结果表明,RFE 算法和 DT 算法表现最佳。使用加速度计数据时,总体准确率达到 88%;使用陀螺仪数据时,总体准确率达到 99%。据我们所知,此前还没有其他作者报道过使用陀螺仪传感器得出的此类结果,这也是本研究的主要创新之处。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信