Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Dec 4;22(23):9471.
doi: 10.3390/s22239471.

Enhanced Classification of Dog Activities with Quaternion-Based Fusion Approach on High-Dimensional Raw Data from Wearable Sensors

Affiliations

Enhanced Classification of Dog Activities with Quaternion-Based Fusion Approach on High-Dimensional Raw Data from Wearable Sensors

Azamjon Muminov et al. Sensors (Basel). .

Abstract

The employment of machine learning algorithms to the data provided by wearable movement sensors is one of the most common methods to detect pets' behaviors and monitor their well-being. However, defining features that lead to highly accurate behavior classification is quite challenging. To address this problem, in this study we aim to classify six main dog activities (standing, walking, running, sitting, lying down, and resting) using high-dimensional sensor raw data. Data were received from the accelerometer and gyroscope sensors that are designed to be attached to the dog's smart costume. Once data are received, the module computes a quaternion value for each data point that provides handful features for classification. Next, to perform the classification, we used several supervised machine learning algorithms, such as the Gaussian naïve Bayes (GNB), Decision Tree (DT), K-nearest neighbor (KNN), and support vector machine (SVM). In order to evaluate the performance, we finally compared the proposed approach's F-score accuracies with the accuracy of classic approach performance, where sensors' data are collected without computing the quaternion value and directly utilized by the model. Overall, 18 dogs equipped with harnesses participated in the experiment. The results of the experiment show a significantly enhanced classification with the proposed approach. Among all the classifiers, the GNB classification model achieved the highest accuracy for dog behavior. The behaviors are classified with F-score accuracies of 0.94, 0.86, 0.94, 0.89, 0.95, and 1, respectively. Moreover, it has been observed that the GNB classifier achieved 93% accuracy on average with the dataset consisting of quaternion values. In contrast, it was only 88% when the model used the dataset from sensors' data.

Keywords: IoT; SVM; activity classification; animal behavior; machine learning; pet care; sensors; smart costume.

PubMed Disclaimer

Conflict of interest statement

The authors declare no conflict of interest.

Figures

Figure 1
Figure 1
Smart costume: (a) The main parts of the smart costume are shown. They are Raspberry Pi Zero, RTC module, HC-05 Bluetooth module, MPU-6050 sensor, SD card reader, 3.7 v Li-Ion battery, and charger. (b) The fully constructed smart costume on a dog.
Figure 2
Figure 2
General process of the activity recognition system based on high-dimensional data.
Figure 3
Figure 3
Experimental process model structure for all three classifications.
Figure 4
Figure 4
Confusion matrixes of classifiers performances. The left-side pictures represented the performance of a particular classifier when it used the quaternion values as the primary data source. The right-side pictures represented the performance of a particular classifier when it used the sensor data as the primary data source.
Figure 4
Figure 4
Confusion matrixes of classifiers performances. The left-side pictures represented the performance of a particular classifier when it used the quaternion values as the primary data source. The right-side pictures represented the performance of a particular classifier when it used the sensor data as the primary data source.

Similar articles

Cited by

References

    1. Clutton-Brock J. A Natural History of Domesticated Mammals. Cambridge University Press; Cambridge, UK: 1999.
    1. McGowan J., Beger M., Lewison R.L., Harcourt R., Campbell H., Priest M. Integrating research using animal-borne telemetry with the needs of conservation management. J. Appl. Ecol. 2016;54:423–429. doi: 10.1111/1365-2664.12755. - DOI
    1. Valleta J.J., Torney C., Kings M., Thornton A., Madden J. Applications of machine learning in animal behavior studies. Anim. Behav. 2017;124:203–220. doi: 10.1016/j.anbehav.2016.12.005. - DOI
    1. Neethirajan S. Recent advances in wearable sensors for animal health management. Sens. Bio-Sens. Res. 2017;12:15–29. doi: 10.1016/j.sbsr.2016.11.004. - DOI
    1. Jukan A., Masip-Bruin X., Amla N. Smart computing and sensing technologies for animal welfare: A systematic review. ACM Comput. Surv. 2017;50:10. doi: 10.1145/3041960. - DOI

Grants and funding

This work was supported by the GRRC program of Gyeonggi province (GRRC-Gachon2020(B02), AI-based Medical Information Analysis).

LinkOut - more resources