{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,24]],"date-time":"2026-06-24T07:16:01Z","timestamp":1782285361700,"version":"3.54.5"},"reference-count":38,"publisher":"MDPI AG","issue":"14","license":[{"start":{"date-parts":[[2019,7,20]],"date-time":"2019-07-20T00:00:00Z","timestamp":1563580800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100000268","name":"Biotechnology and Biological Sciences Research Council","doi-asserted-by":"publisher","award":["BB\/N014235\/1"],"award-info":[{"award-number":["BB\/N014235\/1"]}],"id":[{"id":"10.13039\/501100000268","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100006041","name":"Innovate UK","doi-asserted-by":"publisher","award":["132164"],"award-info":[{"award-number":["132164"]}],"id":[{"id":"10.13039\/501100006041","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Real-time and long-term behavioural monitoring systems in precision livestock farming have huge potential to improve welfare and productivity for the better health of farm animals. However, some of the biggest challenges for long-term monitoring systems relate to \u201cconcept drift\u201d, which occurs when systems are presented with challenging new or changing conditions, and\/or in scenarios where training data is not accurately reflective of live sensed data. This study presents a combined offline algorithm and online learning algorithm which deals with concept drift and is deemed by the authors as a useful mechanism for long-term in-the-field monitoring systems. The proposed algorithm classifies three relevant sheep behaviours using information from an embedded edge device that includes tri-axial accelerometer and tri-axial gyroscope sensors. The proposed approach is for the first time reported in precision livestock behavior monitoring and demonstrates improvement in classifying relevant behaviour in sheep, in real-time, under dynamically changing conditions.<\/jats:p>","DOI":"10.3390\/s19143201","type":"journal-article","created":{"date-parts":[[2019,7,22]],"date-time":"2019-07-22T02:55:37Z","timestamp":1563764137000},"page":"3201","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":53,"title":["A Combined Offline and Online Algorithm for Real-Time and Long-Term Classification of Sheep Behaviour: Novel Approach for Precision Livestock Farming"],"prefix":"10.3390","volume":"19","author":[{"given":"Jorge A.","family":"V\u00e1zquez-Diosdado","sequence":"first","affiliation":[{"name":"School of Veterinary Medicine and Science, University of Nottingham, Sutton Bonington LE12 5RD, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Veronica","family":"Paul","sequence":"additional","affiliation":[{"name":"School of Veterinary Medicine and Science, University of Nottingham, Sutton Bonington LE12 5RD, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Keith A","family":"Ellis","sequence":"additional","affiliation":[{"name":"Internet of Things Systems Research, Intel Labs, W23 CX68 Leixlip, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"David","family":"Coates","sequence":"additional","affiliation":[{"name":"Internet of Things Systems Research, Intel Labs, W23 CX68 Leixlip, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Radhika","family":"Loomba","sequence":"additional","affiliation":[{"name":"Internet of Things Systems Research, Intel Labs, W23 CX68 Leixlip, Ireland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3332-7064","authenticated-orcid":false,"given":"Jasmeet","family":"Kaler","sequence":"additional","affiliation":[{"name":"School of Veterinary Medicine and Science, University of Nottingham, Sutton Bonington LE12 5RD, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2019,7,20]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"423","DOI":"10.1111\/1365-2664.12755","article-title":"Integrating research using animal-borne telemetry with the needs of conservation management","volume":"54","author":"McGowan","year":"2016","journal-title":"J. Appl. Ecol."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"203","DOI":"10.1016\/j.anbehav.2016.12.005","article-title":"Applications of machine learning in animal behaviour studies","volume":"124","author":"Valleta","year":"2017","journal-title":"Anim. Behav."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"15","DOI":"10.1016\/j.sbsr.2016.11.004","article-title":"Recent advances in wearable sensors for animal health management","volume":"12","author":"Neethirajan","year":"2017","journal-title":"Sens. Bio-Sens. Res."},{"key":"ref_4","first-page":"10","article-title":"Smart computing and sensing technologies for animal welfare: A systematic review","volume":"50","author":"Jukan","year":"2017","journal-title":"ACM Comput. Surv."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"17582","DOI":"10.1038\/s41598-017-17451-6","article-title":"Automated tracking to measure behavioural changes in pigs for health and welfare monitoring","volume":"7","author":"Matthews","year":"2017","journal-title":"Sci. Rep."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"545","DOI":"10.1016\/j.biosystemseng.2009.09.007","article-title":"A wireless accelerometer system with wavelet analysis for assessing lameness in cattle","volume":"104","author":"Pastell","year":"2009","journal-title":"Biosyst. Eng."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"2895","DOI":"10.3168\/jds.2010-3882","article-title":"Measurement of acceleration while walking as an automated method for gait assessment in dairy cattle","volume":"94","author":"Chapinal","year":"2011","journal-title":"J. Dairy Sci."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"171442","DOI":"10.1098\/rsos.171442","article-title":"Evaluation of sampling frequency, window size and sensor position for classification of sheep behaviour","volume":"5","author":"Walton","year":"2018","journal-title":"R. Soc. Open Sci."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"504","DOI":"10.3389\/fpsyg.2013.00504","article-title":"The stability-plasticity dilemma: Investigating the continuum from catastrophic forgetting to age-limited learning effects","volume":"4","author":"Mermillod","year":"2013","journal-title":"Front. Psychol."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"44","DOI":"10.1145\/2523813","article-title":"A survey on concept drift adaptation","volume":"46","author":"Gama","year":"2014","journal-title":"ACM Comput. Surv."},{"key":"ref_11","first-page":"220","article-title":"Comment on \u201cStatistical modeling: The two cultures,\u201d by L. Breiman","volume":"16","author":"Hoadley","year":"2001","journal-title":"Stat. Sci."},{"key":"ref_12","first-page":"91","article-title":"An Overview of Concept Drift Applications","volume":"Volume 16","author":"Japkowicz","year":"2016","journal-title":"Big Data Analysis: New Algorithms for a New Society"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"73","DOI":"10.1007\/s12530-016-9147-7","article-title":"Any Novel: Detection of novel concepts in evolving data streams","volume":"7","author":"Abdallah","year":"2016","journal-title":"Evol. Syst."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Zdravevski, E., Stojkoska, B.R., Standl, M., and Schulz, H. (2017). Automatic machine- learning based identification of jogging periods from accelerometer measurements of adolescents under field conditions. PLoS ONE, 12.","DOI":"10.1371\/journal.pone.0184216"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1016\/j.future.2017.03.026","article-title":"Scalable real-time classification of data streams with concept drift","volume":"75","author":"Tennant","year":"2017","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Awais, M., Palmenini, L., Bourke, A.K., Ihlen, E.F., Helbostad, J.L., and Chiari, L. (2016). Performance evaluation of state of the art system for physical activity classification of older subjects using inertial sensors in a real life scenario: A benchmark study. Sensors, 16.","DOI":"10.3390\/s16122105"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Riou, M.-\u00c8., Rioux, F., Lamothe, G., and Doucet, \u00c9. (2015). Validation and Reliability of a Classification Method to Measure the Time Spent Performing Different Activities. PLoS ONE, 10.","DOI":"10.1371\/journal.pone.0128299"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"127","DOI":"10.1016\/j.jneumeth.2017.06.001","article-title":"Evaluation of the IceTag leg sensor and its derivative models to predict behaviour using beef on rangeland","volume":"300","author":"Ungar","year":"2018","journal-title":"J. Neurosci. Methods"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"394","DOI":"10.1016\/j.compag.2018.05.004","article-title":"Comparison of grazing behavior of sheep on pasture with different sward heights using and inertial measurement unit sensors","volume":"150","author":"Guo","year":"2018","journal-title":"Comput. Electron. Agric."},{"key":"ref_20","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_21","doi-asserted-by":"crossref","unstructured":"Smith, D., Little, B., Greenwood, P.I., Valencia, P., Rahman, A., Ingham, A., Bishop-Hurley, G., Shahriar, S., and Hellicar, A. (2015, January 1\u20134). A study of sensor derived features in cattle behaviour classification models. Proceedings of the 2015 IEEE Sensors Conference, Busan, Korea.","DOI":"10.1109\/ICSENS.2015.7370529"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Fischer, L., Hammer, B., and Wersing, H. (2015, January 12\u201317). Combining offline and online classifiers for life-long learning. Proceedings of the 2015 International Joint Conference on Neural Networks (IJCNN), Killarney, Ireland.","DOI":"10.1109\/IJCNN.2015.7280678"},{"key":"ref_23","first-page":"2755","article-title":"Dynamic weighted majority: An ensemble method for drifting concepts","volume":"8","author":"Kolter","year":"2007","journal-title":"J. Mach. Learn. Res."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"619","DOI":"10.1109\/TKDE.2011.58","article-title":"A new ensemble approach for dealing with concept drift","volume":"24","author":"Minku","year":"2012","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_25","unstructured":"Gergiou, H.V., Mavroforakis, M.E., and Theodoridis, S. (2006, January 10\u201314). A game-theoretic framework for classifier ensemble using weighted majority voting with local accuracy estimates. Proceedings of the 16th International Conference on Artificial Neural Networks, Athens, Greece."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"2188","DOI":"10.1016\/j.patcog.2005.02.010","article-title":"A study on the performances of dynamic classifier selection based on local accuracy estimation","volume":"38","author":"Didaci","year":"2005","journal-title":"Pattern Recognit."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"223","DOI":"10.1023\/A:1021709817809","article-title":"Combining classifiers with meta decision trees","volume":"50","author":"Todoroski","year":"2003","journal-title":"Mach. Learn."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"1261","DOI":"10.1016\/j.neucom.2017.06.084","article-title":"Incremental on-line learning: A review and comparison state of the art algorithms","volume":"275","author":"Losing","year":"2018","journal-title":"Neurocomputing"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Badawi, A., and Bilal, M. (2019). High-level synthesis of online k-means clustering hardware for a real-time image processing pipeline. J. Imaging, 5.","DOI":"10.3390\/jimaging5030038"},{"key":"ref_30","unstructured":"(2017). Matlab Release 2017a, The MathWorks, Inc.. Available online: http:\/\/www.mathworks.com\/products\/matlab.html."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Qasem, L., Cardew, A., Wilson, A., Griffiths, I., Halsey, L.G., Shepard, E.L.C., Gleiss, A.C., and Wilson, R. (2012). Tri-axial dynamic acceleration as a proxy for animal energy expenditure; should we be summing values or calculating vector?. PLoS ONE, 7.","DOI":"10.1371\/journal.pone.0031187"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"15","DOI":"10.1186\/s40317-015-0045-8","article-title":"Classification of behaviour in housed dairy cows using an accelerometer-based activity monitoring system","volume":"3","author":"Barker","year":"2015","journal-title":"Anim. Biotelem."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"91","DOI":"10.1136\/inpract.6.3.91","article-title":"Body condition scoring of sheep","volume":"6","author":"Rusell","year":"1984","journal-title":"Practice"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1080\/00031305.1992.10475879","article-title":"An introduction to kernel and nearest-neighbour nonparametric regression","volume":"46","author":"Atlman","year":"1992","journal-title":"Am. Stat."},{"key":"ref_35","unstructured":"Dohoo, I., and Maring, W. (2009). Veterinary Epidemiologic Research, VER Inc.. [2nd ed.]."},{"key":"ref_36","unstructured":"Python Software Foundation (2019, February 12). Python Language Reference, Version 2.7. Available online: http\/\/www.pythom.org."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"133","DOI":"10.1007\/s40595-014-0038-1","article-title":"A combined static and dynamic feature extraction technique to recognize handwritten digits","volume":"2","author":"Sharma","year":"2015","journal-title":"Vietnam J. Comput. Sci."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Leontjeva, A., and Kuzovkin, I. (2016, January 17\u201319). Combining static and dynamic features for multivariate sequence classification. Proceedings of the 2016 IEEE International Conference on Data Science and Advanced Analytics (DSAA), Montreal, QC, Canada.","DOI":"10.1109\/DSAA.2016.10"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/14\/3201\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T13:07:47Z","timestamp":1760188067000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/19\/14\/3201"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,7,20]]},"references-count":38,"journal-issue":{"issue":"14","published-online":{"date-parts":[[2019,7]]}},"alternative-id":["s19143201"],"URL":"https:\/\/doi.org\/10.3390\/s19143201","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,7,20]]}}}