In this paper, a method to classify behavioural patterns of cattle on farms is presented. Animals were equipped with low-cost 3-D accelerometers and GPS sensors, embedded in a commercial device attached to the neck. Accelerometer signals were sampled at 10 Hz, and data from each axis was independently processed to extract 108 features in the time and frequency domains. A total of 238 activity patterns, corresponding to four different classes (grazing, ruminating, laying and steady standing), with duration ranging from few seconds to several minutes, were recorded on video and matched to accelerometer raw data to train a random forest machine learning classifier. GPS location was sampled every 5 min, to reduce battery consumption, and analysed via the k-medoids unsupervised machine learning algorithm to track location and spatial scatter of herds. Results indicate good accuracy for classification from accelerometer records, with best accuracy (0.93) for grazing. The complementary application of both methods to monitor activities of interest, such as sustainable pasture consumption in small and mid-size farms, and to detect anomalous events is also explored. Results encourage replicating the experiment in other farms, to consolidate the proposed strategy.
Early in 2020, an unexpected and hazardous situation occurred threatening and challenging all of humankind. A new coronavirus called SARS-CoV-2 was first identified in Wuhan, China, and its related disease, called COVID-19, has induced one of the most dangerous crises at a global level since World War II. The ultra-fast transmission rate of the virus and the high mortality rate led the World Health Organization (WHO) to officially declare the situation a pandemic. Governments, for their part, were forced to implement unprecedented mobility restrictions and cease a large part of their economic activities. These facts triggered multiple reactions from people who expressed their feelings mainly through social networks (like Twitter), using them as vectors of information and opinion. In this paper, a study carried out in different Spanish speaking countries (Chile, Mexico, Peru, and Spain) is presented, which addresses the manner in which the evolution of the pandemic outbreak has affected the emotions expressed by individuals on Twitter over the last 13 months (from March 2020 to March 2021). We used a total of 3 million tweets to achieve this task. We made use of a well-known framework called EmoWeb to capture the dynamic variation in the sentimental value of pandemic-related words. The results reflect to what degree the pandemic and its derived problems have influenced and affected the population of the selected countries in different ways. The outcomes also illustrate the evolution over time of opinions published on Twitter regarding several topics related to COVID-19.