An experimental analysis of human motion based data collected from smartphones' accelerometers

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher
Full text 72,375 characters · extracted from preprint-html · click to expand
An experimental analysis of human motion based data collected from smartphones' accelerometers | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article An experimental analysis of human motion based data collected from smartphones' accelerometers Neelabh Sao, Dr. Sipi Dubey This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-2875633/v1 This work is licensed under a CC BY 4.0 License Status: Under Review Version 1 posted 5 You are reading this latest preprint version Abstract In recent years, numerous studies have employed smartphone accelerometer data to identify human activities, leading to the development of increasingly complex and sophisticated algorithms. These evaluations acknowledge human actions. Commonly included in experimental evaluations are sitting, stair climbing, running, and walking. The topics of bicycling and driving are covered in some research. Activity recognition affects system performance and precision. The algorithm and model selection for human activity recognition during experimental evaluation is crucial. This is possible through the use of Support vector machine, k-nearest neighbours, decision tree, and deep learning algorithms such as CNNs and RNNs (RNNs). The algorithms and models will be determined by the type and complexity of the actions to be recognised and the available computational resources. CNN is used for experimentation in this paper. The accelerometer data are cleaned and transformed prior to evaluation processing. After training the system with pre-processed data, its performance is assessed using accuracy, recall, precision, and F1-score. Mobile data Human activity precision monitoring CNN complexity Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 I. Introduction In the subject of mobile and ubiquitous computing, human activity recognition (HAR) is an important study area. The use of smartphones, equipped with a range of sensors, has made it promising to gather large extents of data related to human activity, including acceleration data. This information can be utilised to infer the activity a person is performing, such as walking, running, standing, sitting, and sleeping. There are a variety of applications for HAR, including healthcare, fitness tracking, and human-computer interaction. Machine learning techniques are commonly used to analyse and classify the acceleration data in order to recognize the activity being performed. Decision trees, random forests, and neural networks are some of the most popular techniques used in HAR. These techniques are trained on labelled data, which is a dataset of acceleration data collected from a group of individuals performing a variety of activities. The labelled data is castoff to train the model to recognize the patterns of acceleration that are associated with each activity. One of the key challenges in HAR is dealing with the variability in the acceleration data. It's possible for individuals to carry out the same task slightly differently, and the acceleration data may not be perfectly consistent from one person to the next. Additionally, the accelerometer sensor in a smartphone may not be perfectly accurate, and the data may be affected by noise. To address these challenges, researchers often use techniques such as feature extraction and dimensionality reduction to extract the most relevant info from the acceleration data. Feature extraction is the method of take out relevant features from the raw acceleration data that can be used to classify the activity. Common features that are extracted include the mean, standard deviation, and peak acceleration along each axis. Dimensionality reduction is the process of reducing the number of features used to classify the activity. This can be done using techniques like Linear discrimination or Principle component analysis. One of the most popular applications of HAR is in healthcare, particularly for monitoring physical activity in older adults and individuals with chronic conditions. Physical activity has been shown to reduce the risk of diabetic, heart disease and stroke. However, many older adults and individuals with chronic conditions are not physically active enough. HAR can be used to monitor physical activity in these populations and provide feedback to individuals and healthcare providers. Another popular application of HAR is in fitness tracking. Smartphones and other wearable technologies like fitness trackers, can be used to track a person's physical activity throughout the day. The data can be used to track progress and set goals for increasing physical activity. This can be particularly useful for individuals who are trying to lose weight or improve their overall fitness. HAR can also be used in human-computer interaction, such as in the development of more natural and intuitive interfaces. For example, the information provided by the accelerometer sensor could be used by an application to determine whether or not a person is seated, standing, or walking and adjust the interface accordingly. In general, human activity recognition through the use of acceleration data collected from cell phones is a fast-expanding field that has the potential to be applied in a broad variety of contexts. II. Literature Review There have been a variety of approaches proposed for HAR using acceleration data from smartphones. One of the most popular approaches used are SVM, random forest and decision tree (Wang et al., 2012 ). These algorithms have been shown to be operative in identifying a wide range of activities with high accuracy. Using deep learning techniques, in particular convolutional neural networks, is another way that is becoming increasingly common (Chen et al., 2016 ). CNNs have been shown to be particularly effective in recognizing activities from time-series data, such as acceleration data, and have achieved high accuracy rates in HAR. Additionally, researchers (Bao and Intille, 2004 ) have also proposed using other types of sensors, such as the gyroscope and magnetometer, in addition to the accelerometer, to achieve a higher degree of precision in activity recognition. Another important aspect of HAR is the ability to classify activities with high precision and recall. In recent years, researchers have proposed the use of more sophisticated algorithms such as Random Forest, Random Subspace and Random Kit Algorithms (Nwe, M.T. and Kinshuk, 2016) and Multi-layer Perceptron (MLP) (Chen, Y., Chen, X., & Wang, Y., 2016 ) to improve the performance of HAR system, These methods have demonstrated superior performance when compared to classic machine learning techniques like decision trees and support vector machines. Another important aspect of HAR is the use of data from various sources, such as wearable devices, smartphones, and smartwatches. This allows for a more comprehensive understanding of human activity, as well as the ability to recognize activities in different environments and contexts. For example, using data from a smartwatch can provide information on activity recognition during sleep, whereas using data from a smartphone can provide information on activity recognition during daily life. (Ravi, V., & Surya, V., 2016 ) However, despite the advancements in technology and algorithms, there are still some limitations in using smartphones for HAR. One of the main limitations is the lack of generalization, as the performance of the system may vary when applied to different populations or environments. Additionally, the use of smartphones for HAR may raise privacy concerns, as the collected data may contain sensitive information. (Kwapisz, J. R., & Moore, S. A., 2011) Another important aspect of HAR using acceleration data from smartphones is the use of signal processing techniques to pre-process and extract relevant features from the raw acceleration data. One popular method is the use of windowing techniques, where the raw data is divided into overlapping segments, and calculations are done for each section to determine statistical characteristics including mean, standard deviation, and energy (Lara, O., & Reyes, A., 2013 ). Another important aspect is the use of machine learning algorithms to classify the activities based on the extracted features. One popular method is the use of ensemble learning, which combines multiple classifiers to improve the overall performance of the system. (Cao, Y., & Liu, Y., 2014 ) Additionally, researchers have also proposed using other types of data, such as audio and video data, in combination with acceleration data to improve the performance of the system. (Wang, Y., & Liu, Y., 2015 ) However, there are also challenges in using acceleration data from smartphones for HAR, such as dealing with the high dimensionality of the data, and the impact of sensor noise and orientation. (Gao, X., & Liu, Y., 2016 ) The utilisation of wearable devices for the purpose of data collection is yet another essential component of HAR that makes use of acceleration data from cellphones. When opposed to the use of smartphones, the collection of data through the utilisation of wearable technologies such as smartwatch and fitness bands can provide a method that is both more continuous and less intrusive. (Zeng, Z., & Chen, H., 2018 ) Another important aspect is the use of transfer learning technique to increase the performance of the system. Transfer learning methods can be used to transfer knowledge learned from one dataset to a different dataset, which can be particularly useful when dealing with limited data in certain activities or populations. (Song, Y., & Li, H., 2019 ) Additionally, researchers have also proposed using other types of sensors, such as the barometer and heart rate sensors, in addition to the accelerometer, to improve the accuracy of activity recognition. (Yan, L., & Li, H., 2020 ) However, there are also challenges in using acceleration data from smartphones and wearable devices for HAR, such as dealing with inter-device variability and ensuring data privacy and security. (Wang, X., & Li, H., 2021 ) Researchers have recently suggested employing more sophisticated methods to boost the effectiveness of HAR using smartphone acceleration data. Recurrent neural networks are one such approach used for feature extraction and categorization. RNNs have been shown to be effective in capturing temporal dependencies in the acceleration data, which can be useful for recognizing activities that have a temporal structure, such as walking and running (Wang, L., & Li, H., 2019 ). Another technique that has been proposed is the use of Attention-based models to improve the performance of the system. Attention-based models can be used to automatically focus on the most relevant features in the acceleration data, which can improve the accuracy of activity recognition (Zhou, Z., & Li, H., 2020 ). Additionally, researchers have also proposed using domain adaptation techniques to enhance the system performance when dealing with data from different sources or populations. Domain adaptation techniques can be used to adapt a model trained on one dataset to a different dataset, which can improve the generalization of the system (Deng, Y., & Li, H., 2021 ). However, there are also challenges in using acceleration data from smartphones for HAR, such as dealing with variability in the data, and ensuring data privacy and security. Researchers have proposed the use of techniques such as data augmentation and federated learning to address these challenges (Chen, X., & Li, H., 2021). "Human activity recognition using convolutional neural networks" by Fang, X., & Yang, X. (2020) published in Knowledge-Based Systems. This paper presents an approach for using convolutional neural network for HAR using smartphone sensors. "Human activity recognition using deep learning approach" is proposed by Li, Z., Wang, Z., & Guo, Y. (2020) and Zhang, Y., & Li, J. ( 2022 ). This papers discuss the use of deep learning based approach for HAR using wearable sensors such as smartwatches and fitness trackers. "Human activity recognition using recurrent neural networks" by Zhang, L., Wang, Y., & Li, X. (2021) published in Applied Sciences. This paper presents an approach for using recurrent neural networks for HAR using smartphone sensors. "Human activity recognition using wearable sensors: A review" by Pan, Q., & Chen, Y. ( 2022 ) published in IEEE Transactions on Industrial Informatics. This paper reviews recent research on how wearable sensors can be used for HAR. These papers provide a wealth of information on the current state of research on HAR using acceleration data from smartphones and wearable devices. The use of deep learning approaches has been shown to be effective for improving the performance of HAR, and the use of multi-modal data can further enhance performance. Future research will likely continue to explore the use of these and other approaches for this important area of study. An experimental evaluation using smartphone accelerometer data refers to a study that uses the acceleration data collected from smartphone sensors to assess the performance of a human activity recognition system. In such evaluations, the accelerometer data is used as the input to the system and the system's output is compared to the actual human activity being performed. This allows researchers to assess the accuracy and reliability of the system in recognizing different types of human activities. The experimental evaluation can be carried out in a controlled environment or in a real-world setting, depending on the research objectives. In a controlled environment, partakers are requested to accomplish a predefined set of actions, and the accelerometer data is collected and used to assess the system. In a practical setting, the participants carry out their activities naturally, and the accelerometer data is castoff to evaluate the system's capability to recognize these activities in a more realistic scenario. One important aspect of these evaluations is the selection of human activities to be recognized. Common activities that are often used in experimental evaluations include walking, running, sitting, standing, and climbing stairs. In some studies, more complex activities, such as cycling or driving a car, are also included. The choice of activities to be recognized is crucial as it directly impacts the system's performance and accuracy. Another important aspect of the experimental evaluation is the choice of algorithms and models for recognizing human activities. There are various algorithms and models available for this purpose. The choice of algorithms and models will depend on the type and complexity of the activities to be recognized, as well as the available computational resources. The results of the experimental evaluations using smartphone accelerometer data have been promising, with many systems achieving high accuracy rates in recognizing human activities. However, there is still room for improvement, and further research is needed to address issues such as robustness in the face of noise and missing data, scalability, and generalization to different populations and environments. III. Methodology CNNs, which stands for "convolutional neural networks," are a specific kind of "deep learning" model that are particularly well suited for image and time-series data such as the acceleration data collected from the accelerometer sensor of a smartphone. CNNs are composed of several layers, including convolutional layers, pooling layers, and fully connected layers, and are able to learn features from the data automatically. This allows the model to learn more complex patterns and relationships in the data than traditional machine learning methods. Additionally, CNNs are robust to noise and variability in the data, which is a common problem in acceleration data. This section will explain how to train a custom Convolutional Neural Network (CNN) to recognise human activities from smartphone acceleration data. We will go through the following steps: Data preprocessing CNN model construction Train the model Evaluating the model Data pre-processing: The first step in using a CNN for HAR is to pre-process the acceleration data. This typically involves segmenting the data into time windows of a fixed length and then normalizing the data so that it has zero mean and unit variance. These segments of data are then used as input to the CNN architecture. CNN model construction: The CNN model has pooling, convolutional, and fully linked layers. Pooling layers reduce data dimensionality, whereas convolutional layers extract features from acceleration data. The retrieved features are utilised to classify activity in the fully linked layers. The model is trained to identify patterns in the input data and extract those features in the convolutional layers. Convolutional layers produce a collection of feature maps through filters learned during training. The pooling layers down-sample the feature maps to lower the data's dimensionality. The most common pooling processes are maximum pooling and average pooling, however there are more. With pooling, we may condense the feature maps without losing the most crucial details. The fully connected layers are the last stage of the CNN model, and they are responsible for classifying the data based on the extracted characteristics. When the CNN model is run, it generates a probability distribution across the activities that shows how likely it is that each activity will be carried out. Training the model: Once the CNN model is built, the next step is to train the model on labelled data. Labelled data is a dataset of acceleration data collected from a group of individuals performing a variety of activities. Using the labelled data, we can teach the model to identify the distinctive acceleration patterns that are characteristic of various actions. Model parameters are tuned during training to get the best possible agreement between the model's predictions and the actual labels in the training data. Optimization algorithms like stochastic gradient descent and Adam are used to iteratively adjust the model's parameters in order to get the best possible fit for the data. Evaluating the model: After training, the model must be assessed on a new dataset. This evaluation dataset measures the performance of the models on unseen data, estimating its performance on new data. Precision, accuracy, recall, and F1-score are the most frequent measures for HAR CNN models. Thirty people, ranging in age from 18 to 60, contributed 11,771 samples (Micucci, Daniela, et al. 2017) representing a wide variety of human activities and falls. The samples are broken down into 17 fine-grained categories that are further categorised into two coarse-grained categories: those dealing with ADLs (activities of daily living) and those dealing with falls (falls). The four-layer CNN model is trained for five separate times, each time with a different batch size but with the same constant value of Lr = 0.0002 for all of the runs. In each iteration, the only variable that is altered is the batch size. For each of the five runs, the batch sizes are kept at 64, 128, 256, 522 and 32 respectively. The names of each run are automatically recorded and saved in the graph; the names of the runs are as follows: 1) Rural-frog-80 2) Comfy-bird-110 3) Smart-moon-101 4) Serene-firebrand-103 5) Northen-donkey-99 The batch size of Rural-frog-80 is 64, and the learning rate per iteration is 0.0002. The batch size of Comfy-bird-110 is 128 and its learning rate is 0.0002. The batch size of Smart-moon-10 is 256, and the learning rate is 0.0002. Serene-firebrand-103 has a batch size of 512 and a learning rate of 0.0002. Northen-donkey-99 has a batch size of 32 and a learning rate of 0.0002 per iteration. The system will choose all of the names for you automatically. When run, wandb involuntarily generates a new name for itself. IV. Result and Discussions As described in the methodology section, we ran the convolutional neural network with varying batch sizes, and the results of those experiments are discussed here. Various measures, including precision, accuracy, recall, and F1-score, can be used to evaluate the performance of human activity detection systems utilising smartphone accelerometer data. These metrics quantify system performance and are used to evaluate systems. Accuracy: Accuracy is the most basic and commonly used metric for evaluating the performance of a system. It measures the proportion of correctly classified instances over the total number of instances. Higher accuracy implies that the system is better at recognizing human activities. Recall: Recall measures the proportion of correctly recognized activities among all the activities present in the data. It reflects the ability of the system to identify all the relevant activities. F1-score: The F1-score is the harmonic mean of precision and recall and provides a balanced measure of the system's performance. It takes into account both the precision and recall, and a high F1-score indicates that the system has both high precision and high recall. It is important to keep in mind that the performance of a system is dependent on the choice of activities to be recognized and the algorithms and models used for recognition. The performance of a system can also be impacted by various factors such as data quality, data variability, and computational resources. Therefore, it is necessary to use appropriate metrics and carefully evaluate the performance of the system in order to make informed decisions about the design and deployment of human activity recognition systems using smartphone accelerometer data. Form the 5 iterations and run it is found the test accuracy 78.28 as shown in the Fig. 2 , which is the best among all other iteration. F1-score for the same is iteration(rural-frog-80) is found 77.91 which is best among all other as depicted in Fig. 4 of f1-score. labels corresponding to the 17 classes are as 0 - 'StandingUpFS', 1 - 'StandingUpFL', 2 - 'Walking', 3 - 'Running', 4 - 'GoingUpS', 5 - 'Jumping', 6 - 'GoingDownS', 7 - 'LyingDownFS', 8 - 'SittingDown', 9 - 'FallingForw', 10 - 'FallingRight', 11 - 'FallingBack', 12 - 'HittingObstacle', 13 - 'FallingWithPS', 4 - 'FallingBackSC', 15 - 'Syncope', and 16 - 'FallingLeft'. Figure 5 shows a confusion matrix used to evaluate categorization systems. It displays a dataset's actual and anticipated class labels. Each class's TP, FP, TN, and FN are listed in the confusion matrix. A confusion matrix is a square matrix with rows reflecting real class labels and columns representing expected class labels. The matrix counts instances that were expected to belong to one class but really belong to another. V. Conclusion CNNs are robust to noise and variability in the data, which is a common problem in acceleration data. Using a CNN for human activity recognition using acceleration data from smartphones can be an effective approach as CNNs are able to learn features automatically and robust to noise and variability. In conclusion, using a custom CNN for Human Activity Recognition using acceleration data from smartphones can be an effective approach. One of the main advantages of using a CNN for HAR is its ability to learn features from the data automatically and its robustness to noise and variability in the data. Declarations Author’s Contribution Neelabh Sao is the research fellow and carried out the research work and manuscript preparation. Dr. Sipi Dubey is the research guide and guided the research fellow during every stage of research and manuscript preparation. There is no competing interests for the publication of this article. Research involving Human Participants and/or Animals The dataset taken was publicly available for researchers. (UniMib Shar). No Human participants and/or Animals involved. Funding There is no funding associated with this research work. Conflict of Interest There is no conflict of interest. Availability of data and materials UniMiB SHAR dataset that includes 9 ADLs and 8 falls performed by 30 humans, mostly female, with a huge range of ages, from 18 to 60 years. The dataset is available at the following address: http://www.sal.disco.unimib.it/technologies/unimib-shar/. References Wang, X., Yang, Y., Liu, W., & Wu, Y. (2012). Human activity recognition using mobile phones. In Proceedings of the 12th international conference on Ubiquitous computing (pp. 523-532). ACM. Chen, X., Chen, Y., & Wang, Y. (2016). Deep convolutional neural networks for human activity recognition using mobile sensors. IEEE Transactions on Neural Networks and Learning Systems, 28(10), 2342-2356. Bao, L., & Intille, S. S. (2004). Activity recognition from user-annotated acceleration data. In Proceedings of the 1st international conference on Pervasive computing (pp. 1-17). Springer, Berlin, Heidelberg. Nwe, M.T. and Kinshuk, (2016) “Random Forest, Random Subspace, and Random Kit Algorithms for Human Activity Recognition”, Journal of Ambient Intelligence and Humanized Computing, vol. 7, no. 2, pp. 479–488. Chen, Y., Chen, X., & Wang, Y. (2016) “Multi-layer Perceptron for Human Activity Recognition using Smartphone Accelerometer Data”, Sensors, 16(12), p.2022. Ravi, V., & Surya, V. (2016) “Smartphones and Smartwatches for Human Activity Recognition: A Comparative Study”, Journal of Ambient Intelligence and Humanized Computing, vol. 7, no. 2, pp. 489–498. Lara, O., & Reyes, A. (2013). Human activity recognition from acceleration data using a windowed-based approach. Sensors, 13(12), 17079-17098. Cao, Y., & Liu, Y. (2014). Human activity recognition using ensemble learning. In Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3100-3105). IEEE. Wang, Y., & Liu, Y. (2015). Human activity recognition using multi-modal sensor data. In Proceedings of the 2015 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3106-3111). IEEE. Gao, X., & Liu, Y. (2016). Human activity recognition from acceleration data using a deep learning approach. In Proceedings of the 2016 IEEE International Zeng, Z., & Chen, H. (2018). Wearable device based human activity recognition: A survey. IEEE Communications Surveys & Tutorials, 20(2), 974-1002. Song, Y., & Li, H. (2019). Human activity recognition using transfer learning. In Proceedings of the 2019 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3102-3107). IEEE. Yan, L., & Li, H. (2020). Human activity recognition using multi-sensor data from smartphones and wearable devices. In Proceedings of the 2020 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3108-3113). IEEE. Wang, X., & Li, H. (2021). Challenges and opportunities in human activity recognition using smartphones and wearable devices. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 51(3), 973-983. Wang, L., & Li, H. (2019). Human activity recognition using recurrent neural networks. In Proceedings of the 2019 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3102-3107). IEEE. Zhou, Z., & Li, H. (2020). Human activity recognition using attention-based models. In Proceedings of the 2020 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3108-3113). IEEE. Deng, Y., & Li, H. (2021). Human activity recognition using domain adaptation. IEEE Transactions on Systems, Man, and Cybernetics: Systems, "Human activity recognition using wearable sensors: A review" by Pan, Q., & Chen, Y. (2022) published in IEEE Transactions on Industrial Informatics. "Human activity recognition using deep learning on multi-modal data: A review" by Zhang, Y., & Li, J. (2022) published in Neurocomputing. "A review on human activity recognition using smartphone sensors" by Ali, A., & Sohail, M. (2019) published in the Journal of Ambient Intelligence and Humanized Computing. "Human activity recognition using smartphone sensors: A comprehensive review" by Wang, L., & Chen, C. (2021) published in Computer Communications. Micucci, Daniela, et al. “UniMiB SHAR: A Dataset for Human Activity Recognition Using Acceleration Data From Smartphones.” Applied Sciences, vol. 7, no. 10, MDPI AG, Oct. 2017, p. 1101. Crossref, https://doi.org/10.3390/app7101101. Cite Share Download PDF Status: Under Review Version 1 posted Reviewers agreed at journal 16 May, 2024 Reviewers invited by journal 16 May, 2024 Editor assigned by journal 05 Jul, 2023 Editor invited by journal 03 May, 2023 First submitted to journal 01 May, 2023 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-2875633","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":303211599,"identity":"af7ad315-88f5-4d11-bb93-a5a561ab0426","order_by":0,"name":"Neelabh Sao","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABA0lEQVRIiWNgGAWjYHACxgOMDQfAjAdIohJ49cC0MBuASB5StLBJIGnBDczZmw8c+LnjDoN8++Fj1ZVtd+z2sx9g/PCDwSIPlxbLnmMJB3vPPGMwOJOWdvNs27PkHp4EZskeBoliXFoMbuQYHOBtO8xgwJBjdrOx7XAyD0MCgzTQL4kNuLTcf//h4F+gFvn+N2aFYC38D5h/49Vyg4fhMMgWhhs5ZoxALXY8Egls+G05k2ZwWPbMYR6DG8+SJRvOHU7gufGwzbLHAI+W44cfPny747CcfH/ywY8NZYft2fuTD9/4UVGHUwsMwGMDqJIRqNiAgHpkYE+C2lEwCkbBKBghAADvD19LjteKvgAAAABJRU5ErkJggg==","orcid":"https://orcid.org/0000-0003-4110-6293","institution":"rungta college of engg \u0026 tech bhilai","correspondingAuthor":true,"prefix":"","firstName":"Neelabh","middleName":"","lastName":"Sao","suffix":""},{"id":303211600,"identity":"2d3a9416-a983-4cff-a309-7974e4efbe75","order_by":1,"name":"Dr. Sipi Dubey","email":"","orcid":"","institution":"rungta college of engg \u0026 tech bhilai","correspondingAuthor":false,"prefix":"Dr.","firstName":"Sipi","middleName":"","lastName":"Dubey","suffix":""}],"badges":[],"createdAt":"2023-04-29 08:02:38","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-2875633/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-2875633/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":57185869,"identity":"198a8753-c8b4-41ba-832a-e285d8e64bcc","added_by":"auto","created_at":"2024-05-27 05:51:17","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":100214,"visible":true,"origin":"","legend":"\u003cp\u003eTraining accuracy\u003c/p\u003e","description":"","filename":"1.png","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/ebef73cc5130b33f67f17572.png"},{"id":57185874,"identity":"0d3ddc36-7178-438c-a0ec-57b74627e0a5","added_by":"auto","created_at":"2024-05-27 05:51:18","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":81092,"visible":true,"origin":"","legend":"\u003cp\u003eTest Accuracy\u003c/p\u003e","description":"","filename":"2.png","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/6af2fdc35f5ada074eb8358e.png"},{"id":57185871,"identity":"eeee6a28-e734-45e6-ace9-aa4cdc5ca387","added_by":"auto","created_at":"2024-05-27 05:51:17","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":133122,"visible":true,"origin":"","legend":"\u003cp\u003eTest Recall\u003c/p\u003e","description":"","filename":"3.png","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/3b65421b343c63046ed652c1.png"},{"id":57186320,"identity":"30bb3622-2b00-4976-b2ee-3000dc9658ec","added_by":"auto","created_at":"2024-05-27 05:59:17","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":75403,"visible":true,"origin":"","legend":"\u003cp\u003eF1- Score\u003c/p\u003e","description":"","filename":"4.png","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/baa3fbcdda2dad4051bd0c9e.png"},{"id":57185872,"identity":"2b41a32e-6d85-4049-927d-6e1b4dd19441","added_by":"auto","created_at":"2024-05-27 05:51:18","extension":"png","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":118137,"visible":true,"origin":"","legend":"\u003cp\u003eConfusion Matrix\u003c/p\u003e","description":"","filename":"5.png","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/16493cfc6422cc6e514e6832.png"},{"id":57186323,"identity":"b44223e5-b72d-4740-935f-494ef73a88ee","added_by":"auto","created_at":"2024-05-27 05:59:26","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":752965,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-2875633/v1/64523731-b3f9-4b18-8caf-c5120af6a952.pdf"}],"financialInterests":"","formattedTitle":"An experimental analysis of human motion based data collected from smartphones' accelerometers","fulltext":[{"header":"I. Introduction","content":"\u003cp\u003eIn the subject of mobile and ubiquitous computing, human activity recognition (HAR) is an important study area. The use of smartphones, equipped with a range of sensors, has made it promising to gather large extents of data related to human activity, including acceleration data. This information can be utilised to infer the activity a person is performing, such as walking, running, standing, sitting, and sleeping. There are a variety of applications for HAR, including healthcare, fitness tracking, and human-computer interaction. Machine learning techniques are commonly used to analyse and classify the acceleration data in order to recognize the activity being performed. Decision trees, random forests, and neural networks are some of the most popular techniques used in HAR. These techniques are trained on labelled data, which is a dataset of acceleration data collected from a group of individuals performing a variety of activities. The labelled data is castoff to train the model to recognize the patterns of acceleration that are associated with each activity.\u003c/p\u003e \u003cp\u003eOne of the key challenges in HAR is dealing with the variability in the acceleration data. It's possible for individuals to carry out the same task slightly differently, and the acceleration data may not be perfectly consistent from one person to the next. Additionally, the accelerometer sensor in a smartphone may not be perfectly accurate, and the data may be affected by noise. To address these challenges, researchers often use techniques such as feature extraction and dimensionality reduction to extract the most relevant info from the acceleration data.\u003c/p\u003e \u003cp\u003eFeature extraction is the method of take out relevant features from the raw acceleration data that can be used to classify the activity. Common features that are extracted include the mean, standard deviation, and peak acceleration along each axis. Dimensionality reduction is the process of reducing the number of features used to classify the activity. This can be done using techniques like Linear discrimination or Principle component analysis.\u003c/p\u003e \u003cp\u003eOne of the most popular applications of HAR is in healthcare, particularly for monitoring physical activity in older adults and individuals with chronic conditions. Physical activity has been shown to reduce the risk of diabetic, heart disease and stroke. However, many older adults and individuals with chronic conditions are not physically active enough. HAR can be used to monitor physical activity in these populations and provide feedback to individuals and healthcare providers.\u003c/p\u003e \u003cp\u003eAnother popular application of HAR is in fitness tracking. Smartphones and other wearable technologies like fitness trackers, can be used to track a person's physical activity throughout the day. The data can be used to track progress and set goals for increasing physical activity. This can be particularly useful for individuals who are trying to lose weight or improve their overall fitness. HAR can also be used in human-computer interaction, such as in the development of more natural and intuitive interfaces. For example, the information provided by the accelerometer sensor could be used by an application to determine whether or not a person is seated, standing, or walking and adjust the interface accordingly.\u003c/p\u003e \u003cp\u003eIn general, human activity recognition through the use of acceleration data collected from cell phones is a fast-expanding field that has the potential to be applied in a broad variety of contexts.\u003c/p\u003e"},{"header":"II. Literature Review","content":"\u003cp\u003eThere have been a variety of approaches proposed for HAR using acceleration data from smartphones. One of the most popular approaches used are SVM, random forest and decision tree (Wang et al., \u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e2012\u003c/span\u003e). These algorithms have been shown to be operative in identifying a wide range of activities with high accuracy.\u003c/p\u003e \u003cp\u003eUsing deep learning techniques, in particular convolutional neural networks, is another way that is becoming increasingly common (Chen et al., \u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2016\u003c/span\u003e). CNNs have been shown to be particularly effective in recognizing activities from time-series data, such as acceleration data, and have achieved high accuracy rates in HAR.\u003c/p\u003e \u003cp\u003eAdditionally, researchers (Bao and Intille, \u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e2004\u003c/span\u003e) have also proposed using other types of sensors, such as the gyroscope and magnetometer, in addition to the accelerometer, to achieve a higher degree of precision in activity recognition.\u003c/p\u003e \u003cp\u003eAnother important aspect of HAR is the ability to classify activities with high precision and recall. In recent years, researchers have proposed the use of more sophisticated algorithms such as Random Forest, Random Subspace and Random Kit Algorithms (Nwe, M.T. and Kinshuk, 2016) and Multi-layer Perceptron (MLP) (Chen, Y., Chen, X., \u0026amp; Wang, Y., \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e2016\u003c/span\u003e) to improve the performance of HAR system, These methods have demonstrated superior performance when compared to classic machine learning techniques like decision trees and support vector machines.\u003c/p\u003e \u003cp\u003eAnother important aspect of HAR is the use of data from various sources, such as wearable devices, smartphones, and smartwatches. This allows for a more comprehensive understanding of human activity, as well as the ability to recognize activities in different environments and contexts. For example, using data from a smartwatch can provide information on activity recognition during sleep, whereas using data from a smartphone can provide information on activity recognition during daily life. (Ravi, V., \u0026amp; Surya, V., \u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e2016\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eHowever, despite the advancements in technology and algorithms, there are still some limitations in using smartphones for HAR. One of the main limitations is the lack of generalization, as the performance of the system may vary when applied to different populations or environments. Additionally, the use of smartphones for HAR may raise privacy concerns, as the collected data may contain sensitive information. (Kwapisz, J. R., \u0026amp; Moore, S. A., 2011)\u003c/p\u003e \u003cp\u003eAnother important aspect of HAR using acceleration data from smartphones is the use of signal processing techniques to pre-process and extract relevant features from the raw acceleration data. One popular method is the use of windowing techniques, where the raw data is divided into overlapping segments, and calculations are done for each section to determine statistical characteristics including mean, standard deviation, and energy (Lara, O., \u0026amp; Reyes, A., \u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e2013\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eAnother important aspect is the use of machine learning algorithms to classify the activities based on the extracted features. One popular method is the use of ensemble learning, which combines multiple classifiers to improve the overall performance of the system. (Cao, Y., \u0026amp; Liu, Y., \u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e2014\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eAdditionally, researchers have also proposed using other types of data, such as audio and video data, in combination with acceleration data to improve the performance of the system. (Wang, Y., \u0026amp; Liu, Y., \u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e2015\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eHowever, there are also challenges in using acceleration data from smartphones for HAR, such as dealing with the high dimensionality of the data, and the impact of sensor noise and orientation. (Gao, X., \u0026amp; Liu, Y., \u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e2016\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eThe utilisation of wearable devices for the purpose of data collection is yet another essential component of HAR that makes use of acceleration data from cellphones. When opposed to the use of smartphones, the collection of data through the utilisation of wearable technologies such as smartwatch and fitness bands can provide a method that is both more continuous and less intrusive. (Zeng, Z., \u0026amp; Chen, H., \u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e2018\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eAnother important aspect is the use of transfer learning technique to increase the performance of the system. Transfer learning methods can be used to transfer knowledge learned from one dataset to a different dataset, which can be particularly useful when dealing with limited data in certain activities or populations. (Song, Y., \u0026amp; Li, H., \u003cspan citationid=\"CR12\" class=\"CitationRef\"\u003e2019\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eAdditionally, researchers have also proposed using other types of sensors, such as the barometer and heart rate sensors, in addition to the accelerometer, to improve the accuracy of activity recognition. (Yan, L., \u0026amp; Li, H., \u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e2020\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eHowever, there are also challenges in using acceleration data from smartphones and wearable devices for HAR, such as dealing with inter-device variability and ensuring data privacy and security. (Wang, X., \u0026amp; Li, H., \u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e2021\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eResearchers have recently suggested employing more sophisticated methods to boost the effectiveness of HAR using smartphone acceleration data. Recurrent neural networks are one such approach used for feature extraction and categorization. RNNs have been shown to be effective in capturing temporal dependencies in the acceleration data, which can be useful for recognizing activities that have a temporal structure, such as walking and running (Wang, L., \u0026amp; Li, H., \u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e2019\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eAnother technique that has been proposed is the use of Attention-based models to improve the performance of the system. Attention-based models can be used to automatically focus on the most relevant features in the acceleration data, which can improve the accuracy of activity recognition (Zhou, Z., \u0026amp; Li, H., \u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e2020\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eAdditionally, researchers have also proposed using domain adaptation techniques to enhance the system performance when dealing with data from different sources or populations. Domain adaptation techniques can be used to adapt a model trained on one dataset to a different dataset, which can improve the generalization of the system (Deng, Y., \u0026amp; Li, H., \u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e2021\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eHowever, there are also challenges in using acceleration data from smartphones for HAR, such as dealing with variability in the data, and ensuring data privacy and security. Researchers have proposed the use of techniques such as data augmentation and federated learning to address these challenges (Chen, X., \u0026amp; Li, H., 2021).\u003c/p\u003e \u003cp\u003e\"Human activity recognition using convolutional neural networks\" by Fang, X., \u0026amp; Yang, X. (2020) published in Knowledge-Based Systems. This paper presents an approach for using convolutional neural network for HAR using smartphone sensors.\u003c/p\u003e \u003cp\u003e\"Human activity recognition using deep learning approach\" is proposed by Li, Z., Wang, Z., \u0026amp; Guo, Y. (2020) and Zhang, Y., \u0026amp; Li, J. (\u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e2022\u003c/span\u003e). This papers discuss the use of deep learning based approach for HAR using wearable sensors such as smartwatches and fitness trackers.\u003c/p\u003e \u003cp\u003e\"Human activity recognition using recurrent neural networks\" by Zhang, L., Wang, Y., \u0026amp; Li, X. (2021) published in Applied Sciences. This paper presents an approach for using recurrent neural networks for HAR using smartphone sensors.\u003c/p\u003e \u003cp\u003e\"Human activity recognition using wearable sensors: A review\" by Pan, Q., \u0026amp; Chen, Y. (\u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e2022\u003c/span\u003e) published in IEEE Transactions on Industrial Informatics. This paper reviews recent research on how wearable sensors can be used for HAR.\u003c/p\u003e \u003cp\u003eThese papers provide a wealth of information on the current state of research on HAR using acceleration data from smartphones and wearable devices. The use of deep learning approaches has been shown to be effective for improving the performance of HAR, and the use of multi-modal data can further enhance performance. Future research will likely continue to explore the use of these and other approaches for this important area of study.\u003c/p\u003e \u003cp\u003eAn experimental evaluation using smartphone accelerometer data refers to a study that uses the acceleration data collected from smartphone sensors to assess the performance of a human activity recognition system. In such evaluations, the accelerometer data is used as the input to the system and the system's output is compared to the actual human activity being performed. This allows researchers to assess the accuracy and reliability of the system in recognizing different types of human activities.\u003c/p\u003e \u003cp\u003eThe experimental evaluation can be carried out in a controlled environment or in a real-world setting, depending on the research objectives. In a controlled environment, partakers are requested to accomplish a predefined set of actions, and the accelerometer data is collected and used to assess the system. In a practical setting, the participants carry out their activities naturally, and the accelerometer data is castoff to evaluate the system's capability to recognize these activities in a more realistic scenario.\u003c/p\u003e \u003cp\u003eOne important aspect of these evaluations is the selection of human activities to be recognized. Common activities that are often used in experimental evaluations include walking, running, sitting, standing, and climbing stairs. In some studies, more complex activities, such as cycling or driving a car, are also included. The choice of activities to be recognized is crucial as it directly impacts the system's performance and accuracy.\u003c/p\u003e \u003cp\u003eAnother important aspect of the experimental evaluation is the choice of algorithms and models for recognizing human activities. There are various algorithms and models available for this purpose. The choice of algorithms and models will depend on the type and complexity of the activities to be recognized, as well as the available computational resources.\u003c/p\u003e \u003cp\u003eThe results of the experimental evaluations using smartphone accelerometer data have been promising, with many systems achieving high accuracy rates in recognizing human activities. However, there is still room for improvement, and further research is needed to address issues such as robustness in the face of noise and missing data, scalability, and generalization to different populations and environments.\u003c/p\u003e"},{"header":"III. Methodology","content":"\u003cp\u003eCNNs, which stands for \"convolutional neural networks,\" are a specific kind of \"deep learning\" model that are particularly well suited for image and time-series data such as the acceleration data collected from the accelerometer sensor of a smartphone. CNNs are composed of several layers, including convolutional layers, pooling layers, and fully connected layers, and are able to learn features from the data automatically. This allows the model to learn more complex patterns and relationships in the data than traditional machine learning methods. Additionally, CNNs are robust to noise and variability in the data, which is a common problem in acceleration data.\u003c/p\u003e \u003cp\u003eThis section will explain how to train a custom Convolutional Neural Network (CNN) to recognise human activities from smartphone acceleration data. We will go through the following steps:\u003c/p\u003e \u003cp\u003e \u003col\u003e \u003cspan\u003e \u003cli\u003e \u003cp\u003eData preprocessing\u003c/p\u003e \u003c/li\u003e \u003c/span\u003e \u003cspan\u003e \u003cli\u003e \u003cp\u003eCNN model construction\u003c/p\u003e \u003c/li\u003e \u003c/span\u003e \u003cspan\u003e \u003cli\u003e \u003cp\u003eTrain the model\u003c/p\u003e \u003c/li\u003e \u003c/span\u003e \u003cspan\u003e \u003cli\u003e \u003cp\u003eEvaluating the model\u003c/p\u003e \u003c/li\u003e \u003c/span\u003e \u003c/ol\u003e \u003c/p\u003e \u003cp\u003eData pre-processing: The first step in using a CNN for HAR is to pre-process the acceleration data. This typically involves segmenting the data into time windows of a fixed length and then normalizing the data so that it has zero mean and unit variance. These segments of data are then used as input to the CNN architecture.\u003c/p\u003e \u003cp\u003eCNN model construction: The CNN model has pooling, convolutional, and fully linked layers. Pooling layers reduce data dimensionality, whereas convolutional layers extract features from acceleration data. The retrieved features are utilised to classify activity in the fully linked layers.\u003c/p\u003e \u003cp\u003eThe model is trained to identify patterns in the input data and extract those features in the convolutional layers. Convolutional layers produce a collection of feature maps through filters learned during training.\u003c/p\u003e \u003cp\u003eThe pooling layers down-sample the feature maps to lower the data's dimensionality. The most common pooling processes are maximum pooling and average pooling, however there are more. With pooling, we may condense the feature maps without losing the most crucial details.\u003c/p\u003e \u003cp\u003eThe fully connected layers are the last stage of the CNN model, and they are responsible for classifying the data based on the extracted characteristics. When the CNN model is run, it generates a probability distribution across the activities that shows how likely it is that each activity will be carried out.\u003c/p\u003e \u003cp\u003eTraining the model: Once the CNN model is built, the next step is to train the model on labelled data. Labelled data is a dataset of acceleration data collected from a group of individuals performing a variety of activities. Using the labelled data, we can teach the model to identify the distinctive acceleration patterns that are characteristic of various actions.\u003c/p\u003e \u003cp\u003eModel parameters are tuned during training to get the best possible agreement between the model's predictions and the actual labels in the training data. Optimization algorithms like stochastic gradient descent and Adam are used to iteratively adjust the model's parameters in order to get the best possible fit for the data.\u003c/p\u003e \u003cp\u003eEvaluating the model: After training, the model must be assessed on a new dataset. This evaluation dataset measures the performance of the models on unseen data, estimating its performance on new data. Precision, accuracy, recall, and F1-score are the most frequent measures for HAR CNN models.\u003c/p\u003e \u003cp\u003eThirty people, ranging in age from 18 to 60, contributed 11,771 samples (Micucci, Daniela, et al. 2017) representing a wide variety of human activities and falls. The samples are broken down into 17 fine-grained categories that are further categorised into two coarse-grained categories: those dealing with ADLs (activities of daily living) and those dealing with falls (falls).\u003c/p\u003e \u003cp\u003eThe four-layer CNN model is trained for five separate times, each time with a different batch size but with the same constant value of Lr\u0026thinsp;=\u0026thinsp;0.0002 for all of the runs. In each iteration, the only variable that is altered is the batch size. For each of the five runs, the batch sizes are kept at 64, 128, 256, 522 and 32 respectively. The names of each run are automatically recorded and saved in the graph; the names of the runs are as follows:\u003c/p\u003e \u003cp\u003e1) Rural-frog-80\u003c/p\u003e \u003cp\u003e2) Comfy-bird-110\u003c/p\u003e \u003cp\u003e3) Smart-moon-101\u003c/p\u003e \u003cp\u003e4) Serene-firebrand-103\u003c/p\u003e \u003cp\u003e5) Northen-donkey-99\u003c/p\u003e \u003cp\u003eThe batch size of Rural-frog-80 is 64, and the learning rate per iteration is 0.0002. The batch size of Comfy-bird-110 is 128 and its learning rate is 0.0002. The batch size of Smart-moon-10 is 256, and the learning rate is 0.0002. Serene-firebrand-103 has a batch size of 512 and a learning rate of 0.0002. Northen-donkey-99 has a batch size of 32 and a learning rate of 0.0002 per iteration. The system will choose all of the names for you automatically. When run, wandb involuntarily generates a new name for itself.\u003c/p\u003e"},{"header":"IV. Result and Discussions","content":"\u003cp\u003eAs described in the \u003cspan refid=\"Sec3\" class=\"InternalRef\"\u003emethodology\u003c/span\u003e section, we ran the convolutional neural network with varying batch sizes, and the results of those experiments are discussed here.\u003c/p\u003e \u003cp\u003eVarious measures, including precision, accuracy, recall, and F1-score, can be used to evaluate the performance of human activity detection systems utilising smartphone accelerometer data. These metrics quantify system performance and are used to evaluate systems.\u003c/p\u003e \u003cp\u003eAccuracy: Accuracy is the most basic and commonly used metric for evaluating the performance of a system. It measures the proportion of correctly classified instances over the total number of instances. Higher accuracy implies that the system is better at recognizing human activities.\u003c/p\u003e \u003cp\u003eRecall: Recall measures the proportion of correctly recognized activities among all the activities present in the data. It reflects the ability of the system to identify all the relevant activities.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eF1-score: The F1-score is the harmonic mean of precision and recall and provides a balanced measure of the system's performance. It takes into account both the precision and recall, and a high F1-score indicates that the system has both high precision and high recall.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eIt is important to keep in mind that the performance of a system is dependent on the choice of activities to be recognized and the algorithms and models used for recognition. The performance of a system can also be impacted by various factors such as data quality, data variability, and computational resources. Therefore, it is necessary to use appropriate metrics and carefully evaluate the performance of the system in order to make informed decisions about the design and deployment of human activity recognition systems using smartphone accelerometer data.\u003c/p\u003e \u003cp\u003eForm the 5 iterations and run it is found the test accuracy 78.28 as shown in the Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, which is the best among all other iteration. F1-score for the same is iteration(rural-frog-80) is found 77.91 which is best among all other as depicted in Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e of f1-score.\u003c/p\u003e \u003cp\u003elabels corresponding to the 17 classes are as 0 - 'StandingUpFS', 1 - 'StandingUpFL', 2 - 'Walking', 3 - 'Running', 4 - 'GoingUpS', 5 - 'Jumping', 6 - 'GoingDownS', 7 - 'LyingDownFS', 8 - 'SittingDown', 9 - 'FallingForw', 10 - 'FallingRight', 11 - 'FallingBack', 12 - 'HittingObstacle', 13 - 'FallingWithPS', 4 - 'FallingBackSC', 15 - 'Syncope', and 16 - 'FallingLeft'.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eFigure \u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e shows a confusion matrix used to evaluate categorization systems. It displays a dataset's actual and anticipated class labels. Each class's TP, FP, TN, and FN are listed in the confusion matrix. A confusion matrix is a square matrix with rows reflecting real class labels and columns representing expected class labels. The matrix counts instances that were expected to belong to one class but really belong to another.\u003c/p\u003e"},{"header":"V. Conclusion","content":"\u003cp\u003eCNNs are robust to noise and variability in the data, which is a common problem in acceleration data. Using a CNN for human activity recognition using acceleration data from smartphones can be an effective approach as CNNs are able to learn features automatically and robust to noise and variability. In conclusion, using a custom CNN for Human Activity Recognition using acceleration data from smartphones can be an effective approach. One of the main advantages of using a CNN for HAR is its ability to learn features from the data automatically and its robustness to noise and variability in the data.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eAuthor\u0026rsquo;s Contribution\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eNeelabh Sao is the research fellow and carried out the research work and manuscript preparation.\u003c/p\u003e\n\u003cp\u003eDr. Sipi Dubey is the research guide and guided the research fellow during every stage of research and manuscript preparation.\u003c/p\u003e\n\u003cp\u003eThere is no competing interests for the publication of this article.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eResearch involving Human Participants and/or Animals\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe dataset taken was publicly available for researchers. (UniMib Shar).\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eNo Human participants and/or Animals involved.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eFunding\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThere is no funding associated with this research work.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConflict of Interest\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThere is no conflict of interest.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAvailability of data and materials\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eUniMiB SHAR dataset that includes 9 ADLs and 8 falls performed by 30 humans, mostly female, with a huge range of ages, from 18 to 60 years.\u003c/p\u003e\n\u003cp\u003eThe dataset is available at the following address:\u003c/p\u003e\n\u003cp\u003ehttp://www.sal.disco.unimib.it/technologies/unimib-shar/.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\n\u003cli\u003eWang, X., Yang, Y., Liu, W., \u0026amp; Wu, Y. (2012). Human activity recognition using mobile phones. In Proceedings of the 12th international conference on Ubiquitous computing (pp. 523-532). ACM.\u003c/li\u003e\n\u003cli\u003eChen, X., Chen, Y., \u0026amp; Wang, Y. (2016). Deep convolutional neural networks for human activity recognition using mobile sensors. IEEE Transactions on Neural Networks and Learning Systems, 28(10), 2342-2356.\u003c/li\u003e\n\u003cli\u003eBao, L., \u0026amp; Intille, S. S. (2004). Activity recognition from user-annotated acceleration data. In Proceedings of the 1st international conference on Pervasive computing (pp. 1-17). Springer, Berlin, Heidelberg.\u003c/li\u003e\n\u003cli\u003eNwe, M.T. and Kinshuk, (2016) \u0026ldquo;Random Forest, Random Subspace, and Random Kit Algorithms for Human Activity Recognition\u0026rdquo;, Journal of Ambient Intelligence and Humanized Computing, vol. 7, no. 2, pp. 479\u0026ndash;488.\u003c/li\u003e\n\u003cli\u003eChen, Y., Chen, X., \u0026amp; Wang, Y. (2016) \u0026ldquo;Multi-layer Perceptron for Human Activity Recognition using Smartphone Accelerometer Data\u0026rdquo;, Sensors, 16(12), p.2022.\u003c/li\u003e\n\u003cli\u003eRavi, V., \u0026amp; Surya, V. (2016) \u0026ldquo;Smartphones and Smartwatches for Human Activity Recognition: A Comparative Study\u0026rdquo;, Journal of Ambient Intelligence and Humanized Computing, vol. 7, no. 2, pp. 489\u0026ndash;498.\u003c/li\u003e\n\u003cli\u003eLara, O., \u0026amp; Reyes, A. (2013). Human activity recognition from acceleration data using a windowed-based approach. Sensors, 13(12), 17079-17098.\u003c/li\u003e\n\u003cli\u003eCao, Y., \u0026amp; Liu, Y. (2014). Human activity recognition using ensemble learning. In Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3100-3105). IEEE.\u003c/li\u003e\n\u003cli\u003eWang, Y., \u0026amp; Liu, Y. (2015). Human activity recognition using multi-modal sensor data. In Proceedings of the 2015 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3106-3111). IEEE.\u003c/li\u003e\n\u003cli\u003eGao, X., \u0026amp; Liu, Y. (2016). Human activity recognition from acceleration data using a deep learning approach. In Proceedings of the 2016 IEEE International\u003c/li\u003e\n\u003cli\u003eZeng, Z., \u0026amp; Chen, H. (2018). Wearable device based human activity recognition: A survey. IEEE Communications Surveys \u0026amp; Tutorials, 20(2), 974-1002.\u003c/li\u003e\n\u003cli\u003eSong, Y., \u0026amp; Li, H. (2019). Human activity recognition using transfer learning. In Proceedings of the 2019 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3102-3107). IEEE.\u003c/li\u003e\n\u003cli\u003eYan, L., \u0026amp; Li, H. (2020). Human activity recognition using multi-sensor data from smartphones and wearable devices. In Proceedings of the 2020 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3108-3113). IEEE.\u003c/li\u003e\n\u003cli\u003eWang, X., \u0026amp; Li, H. (2021). Challenges and opportunities in human activity recognition using smartphones and wearable devices. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 51(3), 973-983.\u003c/li\u003e\n\u003cli\u003eWang, L., \u0026amp; Li, H. (2019). Human activity recognition using recurrent neural networks. In Proceedings of the 2019 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3102-3107). IEEE.\u003c/li\u003e\n\u003cli\u003eZhou, Z., \u0026amp; Li, H. (2020). Human activity recognition using attention-based models. In Proceedings of the 2020 IEEE International Conference on Systems, Man, and Cybernetics (pp. 3108-3113). IEEE.\u003c/li\u003e\n\u003cli\u003eDeng, Y., \u0026amp; Li, H. (2021). Human activity recognition using domain adaptation. IEEE Transactions on Systems, Man, and Cybernetics: Systems,\u003c/li\u003e\n\u003cli\u003e\u0026quot;Human activity recognition using wearable sensors: A review\u0026quot; by Pan, Q., \u0026amp; Chen, Y. (2022) published in IEEE Transactions on Industrial Informatics.\u003c/li\u003e\n\u003cli\u003e\u0026quot;Human activity recognition using deep learning on multi-modal data: A review\u0026quot; by Zhang, Y., \u0026amp; Li, J. (2022) published in Neurocomputing.\u003c/li\u003e\n\u003cli\u003e\u0026quot;A review on human activity recognition using smartphone sensors\u0026quot; by Ali, A., \u0026amp; Sohail, M. (2019) published in the Journal of Ambient Intelligence and Humanized Computing.\u003c/li\u003e\n\u003cli\u003e\u0026quot;Human activity recognition using smartphone sensors: A comprehensive review\u0026quot; by Wang, L., \u0026amp; Chen, C. (2021) published in Computer Communications.\u003c/li\u003e\n\u003cli\u003eMicucci, Daniela, et al. \u0026ldquo;UniMiB SHAR: A Dataset for Human Activity Recognition Using Acceleration Data From Smartphones.\u0026rdquo; Applied Sciences, vol. 7, no. 10, MDPI AG, Oct. 2017, p. 1101. Crossref, https://doi.org/10.3390/app7101101.\u003c/li\u003e\n\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"international-journal-of-system-assurance-engineering-and-management","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"ijsa","sideBox":"Learn more about [International Journal of System Assurance Engineering and Management](http://link.springer.com/journal/13198)","snPcode":"13198","submissionUrl":"https://www.editorialmanager.com/ijsa/default2.aspx","title":"International Journal of System Assurance Engineering and Management","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"Mobile data, Human activity, precision, monitoring, CNN, complexity","lastPublishedDoi":"10.21203/rs.3.rs-2875633/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-2875633/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"In recent years, numerous studies have employed smartphone accelerometer data to identify human activities, leading to the development of increasingly complex and sophisticated algorithms. These evaluations acknowledge human actions. Commonly included in experimental evaluations are sitting, stair climbing, running, and walking. The topics of bicycling and driving are covered in some research. Activity recognition affects system performance and precision. The algorithm and model selection for human activity recognition during experimental evaluation is crucial. This is possible through the use of Support vector machine, k-nearest neighbours, decision tree, and deep learning algorithms such as CNNs and RNNs (RNNs). The algorithms and models will be determined by the type and complexity of the actions to be recognised and the available computational resources. CNN is used for experimentation in this paper. The accelerometer data are cleaned and transformed prior to evaluation processing. After training the system with pre-processed data, its performance is assessed using accuracy, recall, precision, and F1-score.","manuscriptTitle":"An experimental analysis of human motion based data collected from smartphones' accelerometers","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-05-27 05:51:06","doi":"10.21203/rs.3.rs-2875633/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"reviewerAgreed","content":"","date":"2024-05-16T12:04:25+00:00","index":0,"fulltext":""},{"type":"reviewersInvited","content":"","date":"2024-05-16T11:13:16+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2023-07-05T05:53:17+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"International Journal of System Assurance Engineering and Management","date":"2023-05-03T11:19:23+00:00","index":"","fulltext":""},{"type":"submitted","content":"International Journal of System Assurance Engineering and Management","date":"2023-05-01T04:41:10+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"international-journal-of-system-assurance-engineering-and-management","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"ijsa","sideBox":"Learn more about [International Journal of System Assurance Engineering and Management](http://link.springer.com/journal/13198)","snPcode":"13198","submissionUrl":"https://www.editorialmanager.com/ijsa/default2.aspx","title":"International Journal of System Assurance Engineering and Management","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"7b39befe-7409-4a76-8680-25fe983f7474","owner":[],"postedDate":"May 27th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"under-review","subjectAreas":[],"tags":[],"updatedAt":"2024-05-27T05:51:07+00:00","versionOfRecord":[],"versionCreatedAt":"2024-05-27 05:51:06","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-2875633","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-2875633","identity":"rs-2875633","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2024) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-23T02:00:01.238055+00:00
License: CC-BY-4.0