Improved Pig Behavior Analysis Through Strategic Data Preprocessing Framework in Machine Learning

This study presents a novel data preprocessing framework to enhance pig behavior analysis using machine learning techniques. We address the critical issue of data leakage in time series data, which can lead to overfitting and poor generalization in real-world applications. Our approach introduces two key innovations: a non-class-based windowing method and a chronological time sampling technique for train/test splitting. To evaluate these methods, we collected a comprehensive dataset spanning 100 hours of pig behavior over 24 days, using ear-tag sensors and video recordings to capture 12 distinct activities. We evaluate the effectiveness of our preprocessing methods using various machine learning and deep learning models on both time-domain and feature-domain datasets derived from this unique collection. Results demonstrate significant improvements in classification accuracy across all tested models, with increases of up to 15% compared to commonly used data preparation methods. The 2D Residual CNN achieved the highest accuracy of 95.6% in the time domain, while Random Forest performed best in the feature domain with 94.1% accuracy.

Authors

Institutions

Publication Details

Published
2024-10-28
DOI
https://doi.org/10.1109/ictai62512.2024.00141
Primary Topic
Imbalanced Data Classification Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improved Pig Behavior Analysis Through Strategic Data Preprocessing Framework in Machine Learning

Yingqi Pei, Gota Morota, Kenan Burak Aydın, Dong Sam Ha et al.
Imbalanced Data Classification Techniques
article

Improved Pig Behavior Analysis Through Strategic Data Preprocessing Framework in Machine Learning

Yingqi Pei, Gota Morota, Kenan Burak Aydın, Dong Sam Ha, Pranjal Ranjan, Sook Shin, Sanjana Bharadwaj
article en

Abstract

This study presents a novel data preprocessing framework to enhance pig behavior analysis using machine learning techniques. We address the critical issue of data leakage in time series data, which can lead to overfitting and poor generalization in real-world applications. Our approach introduces two key innovations: a non-class-based windowing method and a chronological time sampling technique for train/test splitting. To evaluate these methods, we collected a comprehensive dataset spanning 100 hours of pig behavior over 24 days, using ear-tag sensors and video recordings to capture 12 distinct activities. We evaluate the effectiveness of our preprocessing methods using various machine learning and deep learning models on both time-domain and feature-domain datasets derived from this unique collection. Results demonstrate significant improvements in classification accuracy across all tested models, with increases of up to 15% compared to commonly used data preparation methods. The 2D Residual CNN achieved the highest accuracy of 95.6% in the time domain, while Random Forest performed best in the feature domain with 94.1% accuracy.

Virginia Tech (US)
National Science Foundation
Zero hunger
Openalex Percentile: Top 76%
Imbalanced Data Classification Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.