Preprocessing Strategies for Animal Behavior Classification Using Inertial Sensors: Effects of Filtering, Normalization, and Data Representation.
Magno do Nascimento Amorim, Késia Oliveira da Silva-Miranda
Department of Biosystems Engineering, Escola Superior de Agricultura "Luiz de Queiroz", Universidade de São Paulo (ESALQ/USP), Piracicaba 13418-900, São Paulo, Brazil.
Key points
From the paper's conclusion- This study investigated the effects of filtering, normalization, data representation, and machine learning algorithms using five accelerometer datasets comprising 3,533,974 records collected from different livestock species and sampling frequencies.
Abstract
Automatic classification of livestock behaviors, including feeding, rumination, standing, lying, walking, and drinking, using wearable accelerometers has become an important tool in precision livestock farming (PLF). However, the influence of preprocessing strategies on classification performance and computational efficiency remains poorly understood. This study investigated the effects of filtering, normalization, data representation, and machine learning algorithms using five accelerometer datasets comprising 3,533,974 records collected from different livestock species and sampling frequencies. Four filtering strategies, three normalization methods, two data representations, and four machine learning algorithms were evaluated using a standardized pipeline. Model performance was assessed using weighted F1-scores together with statistical and computational analyses. The absence of filtering achieved the highest average performance, reaching a weighted F1-score of 0.773 with Random Forest, whereas high-pass filtering consistently reduced performance (minimum average F1 = 0.605 across sampling frequencies) while increasing computational cost. Z-score standardization improved the performance of scale-sensitive algorithms, increasing SVM performance by up to 8.6% compared with no normalization. Feature-based representations provided greater stability for conventional machine learning models, whereas raw signals generally benefited the 1D-CNN. These findings demonstrate that preprocessing strategies should be selected according to the learning algorithm, signal characteristics, and computational constraints rather than applied as universal procedures, providing methodological guidance for the development of efficient livestock behavior monitoring systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Comparative Evaluation of Accelerometer Data Representations for Machine Learning-Based Livestock Behavior ClassificationAgriEngineering · 2026
- ASAS-NANP SYMPOSIUM: MATHEMATICAL MODELING IN ANIMAL NUTRITION: Data-efficient Computer Vision for Precision Livestock Farming.Journal of animal science · 2026
- Handcrafted Features Versus Learned Representations for IMU-Based Goat Behavior Classification: Accuracy, Validation Design, and Computational Cost.Sensors (Basel, Switzerland) · 2026
- Applications and trends of accelerometer and artificial intelligence techniques in livestock production: a scoping reviewSmart Agricultural Technology · 2026
- Classification of individual dairy cow behaviors using accelerometer, gyroscope, and integrated sensor modelsBMC Veterinary Research · 2025
- Temporal and Autoregressive Features for Cattle Behavior Classification Using Low-Power LoRaWAN Accelerometer DataSensors · 2026