{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T13:41:29Z","timestamp":1790689289570,"version":"4.1.0"},"reference-count":20,"publisher":"MDPI AG","issue":"20","license":[{"start":{"date-parts":[[2019,10,16]],"date-time":"2019-10-16T00:00:00Z","timestamp":1571184000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Sensor technologies that measure grazing and ruminating behaviour as well as physical activities of individual cows are intended to be included in precision pasture management. One of the advantages of sensor data is they can be analysed to support farmers in many decision-making processes. This article thus considers the performance of a set of RumiWatchSystem recorded variables in the prediction of insufficient herbage allowance for spring calving dairy cows. Several commonly used models in machine learning (ML) were applied to the binary classification problem, i.e., sufficient or insufficient herbage allowance, and the predictive performance was compared based on the classification evaluation metrics. Most of the ML models and generalised linear model (GLM) performed similarly in leave-out-one-animal (LOOA) approach to validation studies. However, cross validation (CV) studies, where a portion of features in the test and training data resulted from the same cows, revealed that support vector machine (SVM), random forest (RF) and extreme gradient boosting (XGBoost) performed relatively better than other candidate models. In general, these ML models attained 88% AUC (area under receiver operating characteristic curve) and around 80% sensitivity, specificity, accuracy, precision and F-score. This study further identified that number of rumination chews per day and grazing bites per minute were the most important predictors and examined the marginal effects of the variables on model prediction towards a decision support system.<\/jats:p>","DOI":"10.3390\/s19204479","type":"journal-article","created":{"date-parts":[[2019,10,17]],"date-time":"2019-10-17T04:46:06Z","timestamp":1571287566000},"page":"4479","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":12,"title":["Machine Learning Based Prediction of Insufficient Herbage Allowance with Automated Feeding Behaviour and Activity Data"],"prefix":"10.3390","volume":"19","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1763-4232","authenticated-orcid":false,"given":"Abu Zar","family":"Shafiullah","sequence":"first","affiliation":[{"name":"Agroscope, Tanikon 1, 8356 Ettenhausen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jessica","family":"Werner","sequence":"additional","affiliation":[{"name":"Animal Nutrition and Rangeland Management in the Tropics and Subtropics, University of Hohenheim, 70599 Stuttgart, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Emer","family":"Kennedy","sequence":"additional","affiliation":[{"name":"Teagasc, Animal &amp; Grassland Research and Innovation Centre, Moorepark, Fermoy, Co. Cork P61 C996, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4274-3921","authenticated-orcid":false,"given":"Lorenzo","family":"Leso","sequence":"additional","affiliation":[{"name":"Department of Agricultural, Food and Forestry Systems, University of Florence, 50145 Firenze, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bernadette","family":"O\u2019Brien","sequence":"additional","affiliation":[{"name":"Teagasc, Animal &amp; Grassland Research and Innovation Centre, Moorepark, Fermoy, Co. Cork P61 C996, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Christina","family":"Umst\u00e4tter","sequence":"additional","affiliation":[{"name":"Agroscope, Tanikon 1, 8356 Ettenhausen, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2019,10,16]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"31","DOI":"10.1016\/j.compag.2017.02.021","article-title":"System specification and validation of a noseband pressure sensor for measurement of ruminating and eating behavior in stable-fed cows","volume":"136","author":"Zehner","year":"2017","journal-title":"Comput. Electron. Agric."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"6236","DOI":"10.3168\/jds.2015-9657","article-title":"Development and validation of a novel pedometer algorithm to quantify extended characteristics of the locomotor behaviour of dairy cows","volume":"98","author":"Alsaaod","year":"2015","journal-title":"J. Dairy Sci."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1091","DOI":"10.1071\/CP16383","article-title":"Use of sensor-determined behaviours to develop algorithms for pasture intake by individual grazing cattle","volume":"68","author":"Greenwood","year":"2018","journal-title":"Crop Pasture Sci."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2463","DOI":"10.3168\/jds.2016-12305","article-title":"Evaluation and validation of an automatic jaw movement recorder (RumiWatch) for ingestive and rumination behaviors of dairy cows during grazing and supplementation","volume":"101","author":"Rombach","year":"2018","journal-title":"J. Dairy Sci."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"2985","DOI":"10.3168\/jds.2018-14834","article-title":"Herbage dry matter intake estimation of grazing dairy cows based on animal, behavioral, environmental, and feed variables","volume":"102","author":"Rombach","year":"2019","journal-title":"J. Dairy Sci."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"74","DOI":"10.1016\/j.livsci.2018.12.004","article-title":"Identification of possible cow grazing behaviour indicators for restricted grass availability in a pasture-based spring calving dairy system","volume":"220","author":"Werner","year":"2019","journal-title":"Livestock Sci."},{"key":"ref_7","unstructured":"R Core Team (2019, October 16). R: A language and environment for statistical computing. Available online: http:\/\/www.R-project.org\/."},{"key":"ref_8","first-page":"124","article-title":"Cattle behaviour classification from collar, halter, and ear tag sensors","volume":"5","author":"Rahman","year":"2018","journal-title":"Inf. Process. Agric."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"138","DOI":"10.1016\/j.jneumeth.2017.08.022","article-title":"Evaluation of the RumiWatchSystem for measuring grazing behaviour of cows","volume":"300","author":"Werner","year":"2018","journal-title":"J. Neurosci. Methods"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v028.i05","article-title":"Building predictive models in R using the caret package","volume":"28","author":"Kuhn","year":"2008","journal-title":"J. Stat. Softw."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Venables, W.N., and Ripley, B.D. (2002). R package class. Modern Applied Statistics with S, Springer. [4th ed.].","DOI":"10.1007\/978-0-387-21706-2"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.18637\/jss.v015.i09","article-title":"Support Vector Machines in R","volume":"15","author":"Karatzoglou","year":"2006","journal-title":"J. Stat. Softw."},{"key":"ref_13","unstructured":"Therneau, T., Atkinson, B., Ripley, B., and Ripley, M.B. (2019, April 12). rpart: Recursive Partitioning and Regression Trees. Available online: https:\/\/cran.r-project.org\/web\/packages\/rpart\/rpart.pdf."},{"key":"ref_14","first-page":"18","article-title":"Classification and Regression by randomForest","volume":"2","author":"Liaw","year":"2002","journal-title":"R News"},{"key":"ref_15","unstructured":"Chen, T., He, T., Benesty, M., Khotilovich, V., Tang, Y., Cho, H., Chen, K., Mitchell, R., Cano, I., and Zhou, T. (2019, August 01). xgboost: Xgboost: Extreme gradient boosting. Available online: https:\/\/cran.r-project.org\/web\/packages\/xgboost\/xgboost.pdf."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"38","DOI":"10.1017\/S0376892997000088","article-title":"A review of methods for the assessment of prediction errors in conservation presence\/ absence models","volume":"24","author":"Fielding","year":"1997","journal-title":"Environ. Conserv."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"1493","DOI":"10.1017\/S1751731116000744","article-title":"A decision-tree model to detect post-calving diseases based on rumination, activity, milk yield, BW and voluntary visits to the milking robot","volume":"10","author":"Steensels","year":"2016","journal-title":"Animal"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"1189","DOI":"10.1214\/aos\/1013203451","article-title":"Greedy function approximation: A gradient boosting machine","volume":"29","author":"Friedman","year":"2001","journal-title":"Ann. Stat."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"153","DOI":"10.1080\/10888705.2017.1400439","article-title":"Citizens\u2019 understanding of welfare of animals on the farm: An empirical study","volume":"21","author":"Heise","year":"2018","journal-title":"J. Appl. Anim. Welfare Sci."},{"key":"ref_20","unstructured":"FAO (2019, October 16). Available online: http:\/\/www.fao.org\/3\/a-i6583e.pdf."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4479\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T13:26:45Z","timestamp":1760189205000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/20\/4479"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,10,16]]},"references-count":20,"journal-issue":{"issue":"20","published-online":{"date-parts":[[2019,10]]}},"alternative-id":["s19204479"],"URL":"https:\/\/doi.org\/10.3390\/s19204479","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,10,16]]}}}