Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Suraj Agrawal, Rahul Yadala, Piyush Goyal, Dr. Jyoti Bharti
DOI Link: https://doi.org/10.22214/ijraset.2022.40979
Certificate: View Certificate
Human gait recognition is a 2nd Generation Biometrics which focuses on distance and is unobtrusive. Human gait recognition is identification of a person based on their walking style. It is a Human Cooperation free biometric system. Many studies related to gait include subjects walking well below or above comfortable (free) speed. For this reason, a descriptive study examining the effect of walking speed on gait was conducted. The purpose of the study was to create a single-source, readily accessible repository of comprehensive gait data for a large group of children walking at a wide variety of speeds. Regression analysis is a set of statistical processes for estimating the relationships between a dependent variable (often called the \'outcome variable\') and one or more independent variables (often called \'predictors\', \'covariates\', or \'features\'). A Complete gait cycle is obtained when all the values are present from 0 to 100% completely. If there are any missing values in the gait cycle it is referred to as incomplete gait cycle. The prediction of the person speed or recognizing the person based on incomplete values becomes a complex task .So in order to predict or estimate the missing speed value we use the Polynomial regression technique. To predict the missing value we created Polynomial regression models. Thus, we try to compare these models with the Linear Regression models.
I. INTRODUCTION
The headway accomplished through the development of human appendages is called Human Gait. We can characterize Human Gait as bipedal and biphasic forward drive of focal point of gravity of the human body. Also, crooked developments of various sections of the body are in interchange style with least consumption of vitality. We can describe the diverse walk designs by contrasts in components, for example, appendage development designs, generally speaking speed, powers, motor and potential vitality cycles, and changes in the contact with the surface (ground, floor, and so on.). The different manners by which a human can move, either normally or because of specific preparing is the thing that human walk depicts. [1]
Gait analysis is the systematic study of animal locomotion, to be more specific, it is the study of human motion where we use the human eye and the brain of observers, in addition to using instrumentation for measuring movements of the body and its mechanics. A (bipedal) gait cycle is defined as the timely ordered sequence of movements of body during locomotion in between the event when one foot contacts the ground and when that same foot again contacts the ground, and also involves propulsion of the center of gravity in the direction of motion. A single gait cycle is also known as a stride.
II. METHODOLOGY
A. Application Overview
We are using Polynomial Regression in gait analysis for value prediction and predicting the missing value in given data set using polynomial regression. It gives better accuracy then the linear model and helps in predicting the correct values. Firstly, the dataset is unorganized so we have done pre-processing to convert the dataset in which we can easily apply the polynomial regression model for predicting the missing values.
We have used Python for developing a polynomial regression model to predict missing values. We have used many packages like Numpy, pandas, scikit learn, etc. For training the model we have used 70% of data of dataset and rest 30% of data is for testing the model and for checking the accuracy which how accurate the values are predicted from the above model.
We have to predict the values of the slow, medium, fast walk based on age (Young or Adult) and different kind of Angle, GRF, Moment, Power and Muscles. We have created 12 regression model for each tables of dataset which are Young and Slow Walk Regression, Young and Medium Walk Regression, Young and Fast Walk Regression, Adult and Slow Walk Regression, Adult and Medium Walk Regression, Adult and Fast Walk Regression, Young and Slow Walk using Medium and Fast Walk values Regression, Young and Medium Walk using Slow and Fast Walk values Regression, Young and Fast Walk using Medium and Slow Walk values Regression, Adult and Slow Walk using Medium and Fast Walk values Regression, Adult and Medium Walk using Slow and Fast Walk values Regression, Adult and Fast Walk using Medium and Slow Walk values.
B. Database Design
III. IMPLEMENTATION
Complete gait cycle is formed only when the values are present from 0 to 100% gait cycle completely. If at any point of time or at any part of gait cycle values are missing then incomplete gait cycle is formed. Predicting the person speed or recognizing a person based on the missing speed values becomes complex. So in order to predict or estimate the missing speed value we use the polynomial regression technique. To predict the missing value we created polynomial regression models.
A. Single Walk
This method determines or predict the missing speed value at given gait cycle using only any one of the remaining walks. So we have created 6 polynomial regression models for each tables of dataset which are:
For each regression model independent variable vector is taken from the pre-processed dataset. So the equation for these models can be represented as:
Where, [β 1, β 2… β n] is the coefficient vector
m is the number of parameters respective part has taken into consideration
y is the required missing speed value
And β0 is the gait cycle (%) of the missing speed value.
B. Multiple Walk
This method determines or predict the missing speed value at given gait cycle using both of the remaining walks. So we have created another 6 polynomial regression models which are:
But in order to use both of remaining walks coefficient vector is modified by combining it with the vectors of both of the remaining speeds independent variable vectors. Concatenated vector will be used as final coefficient vector. However, independent variable vector of required speed is taken from the pre-processed dataset.
So the equation for these models can be represented as:
Assuming m < n is the required condition for the matrix to be invertible; then since X is a Vandermonde matrix, the invertible condition holds true if all the xi values are unique. This is the process of unique least-squares solution.
We try solving a 2nd Degree Polynomial to get the results using regression.
This is the matrix representation of polynomial regression for any degree polynomial. And that's it. An overdetermined system is solved by creating a residual function, summing the square of the residual which forms a parabola/paraboloid, and finding the coefficients by finding the minimum of the parabola/paraboloid.
IV. RESULT ANALYSIS
A. Evaluation Methods of Regression
The overview of statistical methods which are used to evaluate the performance of a regression model and also have performed analysis on experimental results obtained from this study. Prediction errors are also known as residuals. They show how far data points are from the regression line or how best the data is fit around the line. Four methods have been used to evaluate the performance of all regression models created here.
Following are the methods which are used to estimate the prediction performance:
2. MSE (Mean of Squared Errors): Mean of Squared Errors. It is the difference between actual value and the predicted value. It is used to overcome the problem of differentiability in MAE. Lower the value, better is the result. A value of zero (0) indicates perfect fit.
3. RMSE (Square Root of Squared Errors): Lower the value, better is the result.
4. R2 Score (Coefficient of Determination): It indicates the proportion of Variance explained by the model between mean of actual values and predicted values. It also indicates how much good are the predicted values fitted to the actual values. Its values always ranges from 0 to 1 indicating no-fit and fit respectively. Higher the value, the better is the result which means closer is the R2 value to 1, better is the model fitted. There are cases where R2 value result in negative indicating that the model fitted is worse than an average fitted model. R2 is a comparison of Residual Sum of Squares (RSS) with Total Sum of Squares (TSS).
B. Evaluations and Results
To evaluate the created regression models, we have made use of the above mentioned methods and also represented the results using tables and graphs. We have gait data speed values on EMG, kinetics and kinematics. EMG signals have captured speed values at various major muscles such as Gluteus maximus, Biceps femoris, Vastus medialis, Foot flex and Soleus. Kinematic data has joint rotations considering rotations at foot flex/extension, Hip ad/abduction, pelvic up/down obliquity and ankle dorsi/plantar flexion. Kinetics includes joint power, joint moment and ground reaction forces. Joint power is the total power absorbed or generated at knee, ankle and hip. Joint moment is total moment acting at a joint such as hip ad/abduction, knee ext. /flexion and ankle dorsi/plantar flexion at that specific instant during the gait cycle. Among all of the available EMG, kinetic and kinematic data, instead of taking all -of the parameters or joints, we have taken one parameter for each type of data i.e., at different angle (o), GRF (% body weight), Moment (N*m/kg), Power (W/kg) and Muscles (% max). To compare all the results we took gait cycle (%) in regular intervals. Tables 1, 2, 3 and 4 the evaluation results (MAE, MSE, RMSE and Accuracy) of the both single and multiple walk regression models at each degree of polynomial n = 2, 3, 4, 5. These values are calculated by using actual and predicted speed values.
Calculations for Polynomial Degree =2,
TABLE I
Prediction Values at Polynomial Degree n = 2
Degree n =2 |
MAE |
MSE |
RMSE |
R2 Score |
||||
Single |
Multiple |
Single |
Multiple |
Single |
Multiple |
Single |
Multiple |
|
Young Slow |
7.0136 |
0.3107 |
120.3014 |
0.1805 |
10.9682 |
0.4248 |
0.5834 |
0.9995 |
Young Medium |
7.2727 |
0.2113 |
113.6538 |
0.0947 |
10.6609 |
0.3078 |
0.6818 |
0.9997 |
Young Fast |
7.9677 |
0.3458 |
143.2979 |
0.2434 |
11.9707 |
0.4933 |
0.6250 |
0.9995 |
Adult Slow |
7.1675 |
0.4675 |
116.0881 |
0.4441 |
10.7744 |
0.6664 |
0.6645 |
0.9986 |
Adult Medium |
7.9025 |
0.4106 |
149.4125 |
0.3948 |
12.2234 |
0.6283 |
0.6524 |
0.9991 |
Adult Fast |
8.6038 |
0.3208 |
156.4638 |
0.2136 |
12.5086 |
0.4622 |
0.6354 |
0.9994 |
Overall Value |
7.6546 |
0.3445 |
133.2029 |
0.2618 |
11.5177 |
0.4971 |
0.6404 |
0.9993 |
The polynomial model method proves out to be better than the linear model according to our study. The accuracy improves as we increase the degree of the polynomial.
The use of the Polynomial regression model has proved out to be a good match for the Gait movement analysis as it improves the accuracy as well as other parameters for the prediction model. While comparing it with Linear Regression model, our model stands out and provides R2 score of 95.14% for single walk and 99.99% for multiple walk. As we increase the degree of polynomial it provides us improved result.
[1] K. Bashir, T. Xiang, and S. Gong. Cross-view gait recognition using correlation strength. In BMVC, 2010. [2] X. Ben, W. Meng, R. Yan, and K. Wang. An improved biometrics technique based on metric learning approach. Neurocomputing, 97:44 – 51, 2012 [3] I. J. Goodfellow, J. Pougetabadie, M. Mirza, B. Xu, D. Wardefarley, S. Ozair, A. Courville, Y. Bengio, Z. Ghahramani, and M. Welling. Generative adversarial nets. Advances in Neural Information Processing Systems, 3:2672–2680, 2014. [4] Y. Guan, C. T. Li, and Y. Hu. Robust clothing-invariant gait recognition. In 2012 Eighth International Conference on Intelligent Information Hiding and Multimedia Signal Processing, pages 321–324, July 2012. [5] Michael H. Schwartz, Adam Rozumalski, Joyce P. Trost. The effect of walking speed on the gait of typically developing children [6] M. A. Hossain, Y. Makihara, J. Wang, and Y. Yagi. Clothinginvariant gait identification using part-based clothing categorization and adaptive weight control. Pattern Recognition, 43(6):2281 – 2291, 2010. [7] Gabriele Bovi, Marco Rabuffetti, Paolo Mazzoleni, Maurizio Ferrarin A multiple-task gait analysis approach: Kinematic, kinetic and EMG referencedata for healthy young and adult subjects [8] A. Y. Johnson and A. F. Bobick. A multi-view method for gait recognition using static body parameters. In Proc. of 3rd International Conference on Audio and Video Based Biometric Person Authentication, pages 301–311, Jun. 2001.
Copyright © 2022 Suraj Agrawal, Rahul Yadala, Piyush Goyal, Dr. Jyoti Bharti. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET40979
Publish Date : 2022-03-25
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here