Emad Shihab
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Emad Shihab has a total of 16 co-authors. Here are the top co-authors by number of shared publications:
- Mohamed Elshafei
Department of Computer Science and Software Engineering, Concordia University, Montreal, QC H3G 1M8, Canada
3 shared publications - Diego Elias Costa
Concordia University, Montreal, Canada
2 shared publications - Yasutaka Kamei
Principles of Software Languages Group (POSL), Kyushu University, Fukuoka, Japan
2 shared publications - Akbar Dehghani
Department of Computer Science and Software Engineering, Concordia University, Montreal, QC H3G 1M8, Canada
1 shared publication - Ayse Tosun
Istanbul Technical University
1 shared publication - Ayse Tosun
Faculty of Computer and Informatics Engineering, Istanbul Technical University, Istanbul, Trkiye
1 shared publication
Latest Publications
- Open Access
Toward the Personalization of Biceps Fatigue Detection Model for Gym Activity: An Approach to Utilize Wearables’ Data from the Crowd
Nowadays, wearables-based Human Activity Recognition (HAR) systems represent a modern, robust, and lightweight solution to monitor athlete performance. However, user data variability is a problem that may hinder the performance of HAR systems, especially the cross-subject HAR models. Such a problem may have a lesser effect on the subject-specific model because it is a tailored model that serves a specific user; hence, data variability is usually low, and performance is often high. However, such a performance comes with a high cost in data collection and processing per user. Therefore, in this work, we present a personalized model that achieves higher performance than the cross-subject model while maintaining a lower data cost than the subject-specific model. Our personalization approach sources data from the crowd based on similarity scores computed between the test subject and the individuals in the crowd. Our dataset consists of 3750 concentration curl repetitions from 25 volunteers with ages and BMI ranging between 20–46 and 24–46, respectively. We compute 11 hand-crafted features and train 2 personalized AdaBoost models, Decision Tree (AdaBoost-DT) and Artificial Neural Networks (AdaBoost-ANN), using data from whom the test subject shares similar physical and single traits. Our findings show that the AdaBoost-DT model outperforms the cross-subject-DT model by 5.89%, while the AdaBoost-ANN model outperforms the cross-subject-ANN model by 3.38%. On the other hand, at 50.0% less of the test subject’s data consumption, our AdaBoost-DT model outperforms the subject-specific-DT model by 16%, while the AdaBoost-ANN model outperforms the subject-specific-ANN model by 10.33%. Yet, the subject-specific models achieve the best performances at 100% of the test subjects’ data consumption.
Open AccessToward the Personalization of Biceps Fatigue Detection Model for Gym Activity: An Approach to Utilize Wearables’ Data from the Crowd
Nowadays, wearables-based Human Activity Recognition (HAR) systems represent a modern, robust, and lightweight solution to monitor athlete performance. However, user data variability is a problem that may hinder the performance of HAR systems, especially the cross-subject HAR models. Such a problem may have a lesser effect on the subject-specific model because it is a tailored model that serves a specific user; hence, data variability is usually low, and performance is often high. However, such a performance comes with a high cost in data collection and processing per user. Therefore, in this work, we present a personalized model that achieves higher performance than the cross-subject model while maintaining a lower data cost than the subject-specific model. Our personalization approach sources data from the crowd based on similarity scores computed between the test subject and the individuals in the crowd. Our dataset consists of 3750 concentration curl repetitions from 25 volunteers with ages and BMI ranging between 20–46 and 24–46, respectively. We compute 11 hand-crafted features and train 2 personalized AdaBoost models, Decision Tree (AdaBoost-DT) and Artificial Neural Networks (AdaBoost-ANN), using data from whom the test subject shares similar physical and single traits. Our findings show that the AdaBoost-DT model outperforms the cross-subject-DT model by 5.89%, while the AdaBoost-ANN model outperforms the cross-subject-ANN model by 3.38%. On the other hand, at 50.0% less of the test subject’s data consumption, our AdaBoost-DT model outperforms the subject-specific-DT model by 16%, while the AdaBoost-ANN model outperforms the subject-specific-ANN model by 10.33%. Yet, the subject-specific models achieve the best performances at 100% of the test subjects’ data consumption.
- Open Access
On the Impact of Biceps Muscle Fatigue in Human Activity Recognition
Nowadays, Human Activity Recognition (HAR) systems, which use wearables and smart systems, are a part of our daily life. Despite the abundance of literature in the area, little is known about the impact of muscle fatigue on these systems’ performance. In this work, we use the biceps concentration curls exercise as an example of a HAR activity to observe the impact of fatigue impact on such systems. Our dataset consists of 3000 biceps concentration curls performed and collected from 20 volunteers aged between 20–35. Our findings indicate that fatigue often occurs in later sets of an exercise and extends the completion time of later sets by up to 31% and decreases muscular endurance by 4.1%. Another finding shows that changes in data patterns are often occurring during fatigue presence, causing seven features to become statistically insignificant. Further findings indicate that fatigue can cause a substantial decrease in performance in both subject-specific and cross-subject models. Finally, we observed that a Feedforward Neural Network (FNN) showed the best performance in both cross-subject and subject-specific models in all our evaluations.
Open AccessOn the Impact of Biceps Muscle Fatigue in Human Activity Recognition
Nowadays, Human Activity Recognition (HAR) systems, which use wearables and smart systems, are a part of our daily life. Despite the abundance of literature in the area, little is known about the impact of muscle fatigue on these systems’ performance. In this work, we use the biceps concentration curls exercise as an example of a HAR activity to observe the impact of fatigue impact on such systems. Our dataset consists of 3000 biceps concentration curls performed and collected from 20 volunteers aged between 20–35. Our findings indicate that fatigue often occurs in later sets of an exercise and extends the completion time of later sets by up to 31% and decreases muscular endurance by 4.1%. Another finding shows that changes in data patterns are often occurring during fatigue presence, causing seven features to become statistically insignificant. Further findings indicate that fatigue can cause a substantial decrease in performance in both subject-specific and cross-subject models. Finally, we observed that a Feedforward Neural Network (FNN) showed the best performance in both cross-subject and subject-specific models in all our evaluations.
- Open Access
Towards Detecting Biceps Muscle Fatigue in Gym Activity Using Wearables
Fatigue is a naturally occurring phenomenon during human activities, but it poses a bigger risk for injuries during physically demanding activities, such as gym activities and athletics. Several studies show that bicep muscle fatigue can lead to various injuries that may require up to 22 weeks of treatment. In this work, we adopt a wearable approach to detect biceps muscle fatigue during a bicep concentration curl exercise as an example of a gym activity. Our dataset consists of 3000 bicep curls from twenty middle-aged volunteers at ages between 27 to 30 and Body Mass Index (BMI) ranging between 18 to 28. All volunteers have been gym-goers for at least 1 year with no records of chronic diseases, muscle, or bone surgeries. We encountered two main challenges while collecting our dataset. The first challenge was the dumbbell’s suitability, where we found that a dumbbell weight (4.5 kg) provides the best tradeoff between longer recording sessions and the occurrence of fatigue on exercises. The second challenge is the subjectivity of RPE, where we average the reported RPE with the measured heart rate converted to RPE. We observed from our data that fatigue reduces the biceps’ angular velocity; therefore, it increases the completion time for later sets. We extracted a total of 33 features from our dataset, which have been reduced to 16 features. These features are the most overall representative and correlated with bicep curl movement, yet they are fatigue-specific features. We utilized these features in five machine learning models, which are Generalized Linear Models (GLM), Logistic Regression (LR), Random Forests (RF), Decision Trees (DT), and Feedforward Neural Networks (FNN). We found that using a two-layer FNN achieves an accuracy of 98% and 88% for subject-specific and cross-subject models, respectively. The results presented in this work are useful and represent a solid start for moving into a real-world application for detecting the fatigue level in bicep muscles using wearable sensors as we advise athletes to take fatigue into consideration to avoid fatigue-induced injuries.
Open AccessTowards Detecting Biceps Muscle Fatigue in Gym Activity Using Wearables
Fatigue is a naturally occurring phenomenon during human activities, but it poses a bigger risk for injuries during physically demanding activities, such as gym activities and athletics. Several studies show that bicep muscle fatigue can lead to various injuries that may require up to 22 weeks of treatment. In this work, we adopt a wearable approach to detect biceps muscle fatigue during a bicep concentration curl exercise as an example of a gym activity. Our dataset consists of 3000 bicep curls from twenty middle-aged volunteers at ages between 27 to 30 and Body Mass Index (BMI) ranging between 18 to 28. All volunteers have been gym-goers for at least 1 year with no records of chronic diseases, muscle, or bone surgeries. We encountered two main challenges while collecting our dataset. The first challenge was the dumbbell’s suitability, where we found that a dumbbell weight (4.5 kg) provides the best tradeoff between longer recording sessions and the occurrence of fatigue on exercises. The second challenge is the subjectivity of RPE, where we average the reported RPE with the measured heart rate converted to RPE. We observed from our data that fatigue reduces the biceps’ angular velocity; therefore, it increases the completion time for later sets. We extracted a total of 33 features from our dataset, which have been reduced to 16 features. These features are the most overall representative and correlated with bicep curl movement, yet they are fatigue-specific features. We utilized these features in five machine learning models, which are Generalized Linear Models (GLM), Logistic Regression (LR), Random Forests (RF), Decision Trees (DT), and Feedforward Neural Networks (FNN). We found that using a two-layer FNN achieves an accuracy of 98% and 88% for subject-specific and cross-subject models, respectively. The results presented in this work are useful and represent a solid start for moving into a real-world application for detecting the fatigue level in bicep muscles using wearable sensors as we advise athletes to take fatigue into consideration to avoid fatigue-induced injuries.
- Open Access
A Quantitative Comparison of Overlapping and Non-Overlapping Sliding Windows for Human Activity Recognition Using Inertial Sensors
The sliding window technique is widely used to segment inertial sensor signals, i.e., accelerometers and gyroscopes, for activity recognition. In this technique, the sensor signals are partitioned into fix sized time windows which can be of two types: (1) non-overlapping windows, in which time windows do not intersect, and (2) overlapping windows, in which they do. There is a generalized idea about the positive impact of using overlapping sliding windows on the performance of recognition systems in Human Activity Recognition. In this paper, we analyze the impact of overlapping sliding windows on the performance of Human Activity Recognition systems with different evaluation techniques, namely, subject-dependent cross validation and subject-independent cross validation. Our results show that the performance improvements regarding overlapping windowing reported in the literature seem to be associated with the underlying limitations of subject-dependent cross validation. Furthermore, we do not observe any performance gain from the use of such technique in conjunction with subject-independent cross validation. We conclude that when using subject-independent cross validation, non-overlapping sliding windows reach the same performance as sliding windows. This result has significant implications on the resource usage for training the human activity recognition systems.
Open AccessA Quantitative Comparison of Overlapping and Non-Overlapping Sliding Windows for Human Activity Recognition Using Inertial Sensors
The sliding window technique is widely used to segment inertial sensor signals, i.e., accelerometers and gyroscopes, for activity recognition. In this technique, the sensor signals are partitioned into fix sized time windows which can be of two types: (1) non-overlapping windows, in which time windows do not intersect, and (2) overlapping windows, in which they do. There is a generalized idea about the positive impact of using overlapping sliding windows on the performance of recognition systems in Human Activity Recognition. In this paper, we analyze the impact of overlapping sliding windows on the performance of Human Activity Recognition systems with different evaluation techniques, namely, subject-dependent cross validation and subject-independent cross validation. Our results show that the performance improvements regarding overlapping windowing reported in the literature seem to be associated with the underlying limitations of subject-dependent cross validation. Furthermore, we do not observe any performance gain from the use of such technique in conjunction with subject-independent cross validation. We conclude that when using subject-independent cross validation, non-overlapping sliding windows reach the same performance as sliding windows. This result has significant implications on the resource usage for training the human activity recognition systems.
- 5 July 2019
- Published by Springer Nature in Empirical Software Engineering
- Vol. 24 (5) , 3151-3152
Guest editorial: special section on predictive models and data analytics in software engineering
- 5 July 2019
- Published by Springer Nature in Empirical Software Engineering
- Vol. 24 (5) , 3151-3152
Guest editorial: special section on predictive models and data analytics in software engineering
- Open Access
Learning to Generate Corrective Patches using Neural Machine Translation
Bug fixing is generally a manually-intensive task. However, recent work has proposed the idea of automated program repair, which aims to repair (at least a subset of) bugs in different ways such as code mutation, etc. Following in the same line of work as automated bug repair, in this paper we aim to leverage past fixes to propose fixes of current/future bugs. Specifically, we propose Ratchet, a corrective patch generation system using neural machine translation. By learning corresponding pre-correction and post-correction code in past fixes with a neural sequence-to-sequence model, Ratchet is able to generate a fix code for a given bug-prone code query. We perform an empirical study with five open source projects, namely Ambari, Camel, Hadoop, Jetty and Wicket, to evaluate the effectiveness of Ratchet. Our findings show that Ratchet can generate syntactically valid statements 98.7% of the time, and achieve an F1-measure between 0.29 - 0.83 with respect to the actual fixes adopted in the code base. In addition, we perform a qualitative validation using 20 participants to see whether the generated statements can be helpful in correcting bugs. Our survey showed that Ratchet's output was considered to be helpful in fixing the bugs on many occasions, even if fix was not 100% correct.
Open AccessLearning to Generate Corrective Patches using Neural Machine Translation
Bug fixing is generally a manually-intensive task. However, recent work has proposed the idea of automated program repair, which aims to repair (at least a subset of) bugs in different ways such as code mutation, etc. Following in the same line of work as automated bug repair, in this paper we aim to leverage past fixes to propose fixes of current/future bugs. Specifically, we propose Ratchet, a corrective patch generation system using neural machine translation. By learning corresponding pre-correction and post-correction code in past fixes with a neural sequence-to-sequence model, Ratchet is able to generate a fix code for a given bug-prone code query. We perform an empirical study with five open source projects, namely Ambari, Camel, Hadoop, Jetty and Wicket, to evaluate the effectiveness of Ratchet. Our findings show that Ratchet can generate syntactically valid statements 98.7% of the time, and achieve an F1-measure between 0.29 - 0.83 with respect to the actual fixes adopted in the code base. In addition, we perform a qualitative validation using 20 participants to see whether the generated statements can be helpful in correcting bugs. Our survey showed that Ratchet's output was considered to be helpful in fixing the bugs on many occasions, even if fix was not 100% correct.
- 1 September 2016
- Published by Springer Nature in Empirical Software Engineering
- Vol. 22 (2) , 848
Erratum to: Studying high impact fix-inducing changes
- 1 September 2016
- Published by Springer Nature in Empirical Software Engineering
- Vol. 22 (2) , 848
Erratum to: Studying high impact fix-inducing changes
- 22 February 2015
- Published by Springer Nature in Empirical Software Engineering
- Vol. 21 (2) , 605-641
Studying high impact fix-inducing changes
- 22 February 2015
- Published by Springer Nature in Empirical Software Engineering
- Vol. 21 (2) , 605-641
Studying high impact fix-inducing changes
- 18 September 2014
- Published by Springer Nature in Automated Software Engineering
- Vol. 22 (1) , 75-109
Automatic, high accuracy prediction of reopened bugs
- 18 September 2014
- Published by Springer Nature in Automated Software Engineering
- Vol. 22 (1) , 75-109
Automatic, high accuracy prediction of reopened bugs