{"id":251244,"date":"2022-04-21T07:28:42","date_gmt":"2022-04-21T05:28:42","guid":{"rendered":"https:\/\/cenit.es\/?p=3464"},"modified":"2025-11-24T09:55:22","modified_gmt":"2025-11-24T08:55:22","slug":"investigating-the-impact-of-information-sharing-in-human-activity-recognition","status":"publish","type":"post","link":"https:\/\/cimne.com\/es\/investigating-the-impact-of-information-sharing-in-human-activity-recognition\/","title":{"rendered":"Investigating the Impact of Information Sharing in Human Activity Recognition"},"content":{"rendered":"<p>[et_pb_section fb_built=\u00bb1&#8243; _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb vertical_offset=\u00bb-4px\u00bb global_colors_info=\u00bb{}\u00bb][et_pb_row _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb global_colors_info=\u00bb{}\u00bb][et_pb_column type=\u00bb4_4&#8243; _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb global_colors_info=\u00bb{}\u00bb][et_pb_text _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb global_colors_info=\u00bb{}\u00bb]<\/p>\n<p><span style=\"font-weight: 400;\">Do you ever wonder <strong>how your smartwatch or smartphone can differentiate between walking and jogging while tracking your exercise routine?<\/strong> This aspect is known as <strong>Human Activity Recognition<\/strong> (HAR) and is based on the <strong>analysis of various sensors<\/strong>\u2019 data including GPS, accelerometer, gyroscope, magnetometer, barometer, etc. The human activities to be identified may include <strong>sitting, standing, walking, going upstairs, going downstairs, jogging, running, cycling<\/strong>, etc. and various locations such as indoor, outdoor, underground, etc. Additionally, <strong>motorized travel modes may also be included<\/strong> such as bike, car, bus, train, subway, etc. <\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/cimne.com\/wp-content\/uploads\/2022\/04\/Figure-5-Awais.webp\u00bb title_text=\u00bbFigure-5-Awais\u00bb _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb-40px||-40px||true|false\u00bb global_colors_info=\u00bb{}\u00bb][\/et_pb_image][et_pb_text _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb global_colors_info=\u00bb{}\u00bb]<\/p>\n<p><span style=\"font-weight: 400;\">A general <strong>methodology for Human Activity Recognition<\/strong> as followed by most researchers is described below.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Annotated data collection from the required sensor(s)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Data wrangling<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Feature extraction<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Formation of training and testing datasets<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Training of machine learning algorithm(s)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Testing of the trained algorithm(s)\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Post-processing, if required<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Reporting of performance measures<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Our study on Human Activity Recognition had the following <strong>two main objectives<\/strong>.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Investigate the <strong>impact of information sharing on the accuracy of activity detection<\/strong>.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Develop a <strong>low-cost methodology for activity detection<\/strong>.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Information sharing between the<strong> training and testing datasets is undesirable since it increases the detection accuracy erroneously<\/strong>. Such sharing may happen at three levels. <strong>1)<\/strong> <strong>Data level<\/strong>: If various features are extracted using sliding windows then each extracted data point will share some information with its neighboring data points. Hence, it would become easier for the algorithm to predict a certain data point based on the trends learned from its neighbors. <strong>2) Trip level<\/strong>: Each trip of a certain activity would follow a certain trend. If part of the trip is used to train the algorithm and the remaining part is used for prediction, the accuracy would become high. <strong>3) Participant level<\/strong>: Each participant follows a certain activity pattern. Thus, it becomes comparatively easy for an algorithm to detect an activity recoded by the same participant whose activity pattern has already been learned.\u00a0<\/span><\/p>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/cimne.com\/wp-content\/uploads\/2022\/04\/Figure-1-Awais.webp\u00bb title_text=\u00bbFigure-1-Awais\u00bb align=\u00bbcenter\u00bb _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb custom_margin=\u00bb-80px||-74px||false|false\u00bb global_colors_info=\u00bb{}\u00bb][\/et_pb_image][et_pb_text _builder_version=\u00bb4.17.1&#8243; _module_preset=\u00bbdefault\u00bb global_colors_info=\u00bb{}\u00bb]<\/p>\n<p><span style=\"font-weight: 400;\">To reduce the computational cost and preserve smartphone battery, <strong>only accelerometer data was used in the study<\/strong>. Features were extracted and <strong>data was divided among training and testing datasets following three different stratification methods<\/strong>, having varying levels of information sharing.<strong> Several algorithms were tested and compared based on their performance metrics<\/strong> including computation time. The results reveal that XGBoost takes the least computation time while providing high prediction accuracy. The <strong>final detection accuracy ranges from 99.8% to 77.6% depending on the level of information sharing<\/strong>. This strongly suggests that when reporting accuracy values, the associated information sharing levels should be provided as well to allow the results to be interpreted in the correct context. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">(Full paper available at <\/span><a href=\"https:\/\/www.mdpi.com\/1424-8220\/22\/6\/2280\"><span style=\"font-weight: 400;\">https:\/\/www.mdpi.com\/1424-8220\/22\/6\/2280<\/span><\/a><span style=\"font-weight: 400;\">)<\/span><\/p>\n<p><em><span style=\"font-weight: 400;\">By Muhammad Awais Shafique and Sergi Saur\u00ed March\u00e1n<\/span><\/em><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you ever wonder how your smartwatch or smartphone can differentiate between walking and jogging while tracking your exercise routine? This aspect is known as Human Activity Recognition (HAR) and is based on the analysis of various sensors\u2019 data including GPS, accelerometer, gyroscope, magnetometer, barometer, etc. The human activities to be identified may include sitting, [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":251245,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"<p>\u00a0<\/p><p>\u00a0<\/p>","_et_gb_content_width":"","slim_seo":{"title":"Investigating the Impact of Information Sharing in Human Activity Recognition - CIMNE","description":"Do you ever wonder how your smartwatch or smartphone can differentiate between walking and jogging while tracking your exercise routine? This aspect is known as"},"footnotes":""},"categories":[284,40],"tags":[],"class_list":["post-251244","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cenit","category-innovation-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/posts\/251244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/comments?post=251244"}],"version-history":[{"count":0,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/posts\/251244\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/media\/251245"}],"wp:attachment":[{"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/media?parent=251244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/categories?post=251244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cimne.com\/es\/wp-json\/wp\/v2\/tags?post=251244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}