3D Gait Analysis in Children Using Wearable Sensors: Feasibility of Predicting Joint Kinematics and Kinetics with Personalized Machine Learning Models and Inertial Measurement Units

preprint OA: closed CC-BY-4.0
📄 Open PDF Full text JSON View at publisher

Abstract

AbstractChildren's walking patterns evolve with age, exhibiting less repetitiveness at a young age and more variability than adults. Three-dimensional gait analysis (3DGA) is crucial for understanding and treating lower limb movement disorders in children, traditionally performed using Optical Motion Capture (OMC). Inertial Measurement Units (IMUs) offer a cost-effective alternative to OMC, although challenges like drift errors persist. Machine learning (ML) models can mitigate these issues in adults, prompting an investigation into their applicability to a heterogeneous paediatric population. This study aimed at identifying an optimal ML model tailored for children's gait, enabling accurate predictions from IMUs. Seventeen typically developed (TD) children, aged 6 to 15, participated in data collection involving OMC, force plates, and IMU sensors. Joint kinematics and kinetics were computed from OMC and force plates' data using OpenSim. Tsfresh, a Python package, extracted features from raw IMU data. Each target's ten most important features were input in the development of personalized and generalized random forest (RF) and convolutional neural networks (CNN) models. Findings suggested that the RF and CNN models demonstrated comparable performance. RF predicted joint kinematics with a 9.5% and 19.9% NRMSE for personalized and generalized models, respectively, and joint kinetics with an NRMSE of 10.7% for personalized and 15.2% for generalized models in TD children. Personalized models provided accurate estimations from IMU data in children, while generalized models lacked accuracy due to the limited dataset. This study proposed a promising approach for gait time series prediction in children, involving an RF model and two IMUs on the feet.
Full text 182,298 characters · extracted from preprint-html · click to expand
3D Gait Analysis in Children Using Wearable Sensors: Feasibility of Predicting Joint Kinematics and Kinetics with Personalized Machine Learning Models and Inertial Measurement Units | 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 3D Gait Analysis in Children Using Wearable Sensors: Feasibility of Predicting Joint Kinematics and Kinetics with Personalized Machine Learning Models and Inertial Measurement Units Shima Mohammadi Moghadam, Pablo Ortega Auriol, Ted Yeung, Julie Choisne This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-3898246/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 19 Mar, 2024 Read the published version in Frontiers in Bioengineering and Biotechnology → Version 1 posted You are reading this latest preprint version Abstract Children's walking patterns evolve with age, exhibiting less repetitiveness at a young age and more variability than adults. Three-dimensional gait analysis (3DGA) is crucial for understanding and treating lower limb movement disorders in children, traditionally performed using Optical Motion Capture (OMC). Inertial Measurement Units (IMUs) offer a cost-effective alternative to OMC, although challenges like drift errors persist. Machine learning (ML) models can mitigate these issues in adults, prompting an investigation into their applicability to a heterogeneous paediatric population. This study aimed at identifying an optimal ML model tailored for children's gait, enabling accurate predictions from IMUs. Seventeen typically developed (TD) children, aged 6 to 15, participated in data collection involving OMC, force plates, and IMU sensors. Joint kinematics and kinetics were computed from OMC and force plates' data using OpenSim. Tsfresh, a Python package, extracted features from raw IMU data. Each target's ten most important features were input in the development of personalized and generalized random forest (RF) and convolutional neural networks (CNN) models. Findings suggested that the RF and CNN models demonstrated comparable performance. RF predicted joint kinematics with a 9.5% and 19.9% NRMSE for personalized and generalized models, respectively, and joint kinetics with an NRMSE of 10.7% for personalized and 15.2% for generalized models in TD children. Personalized models provided accurate estimations from IMU data in children, while generalized models lacked accuracy due to the limited dataset. This study proposed a promising approach for gait time series prediction in children, involving an RF model and two IMUs on the feet. Biotechnology and Bioengineering 3D gait analysis inertial measurement units machine learning paediatric joint kinematics and joint kinetics Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 1. Introduction Children's walking patterns are distinctive from adults and evolve with age (Senden et al., 2023 , Cigali et al., 2011 ). At a small age, gait tends to be less repetitive and will differ from those of adults (Jain et al., 2016 , Ganley&Powers, 2005 ), emphasizing the need to build normative data for a paediatric population (Ganley&Powers, 2005 ). The differences in school-aged children's walking patterns are often attributed to their significant musculoskeletal changes (Bari et al., 2023 ), given that they are in a critical stage of growth and development (Onis et al., 2007 ). A recent study (Bach et al., 2021 ) suggested that the degree of gait maturity does not always directly relate to the chronological age of the child. This finding underscores the complexity of assessing gait development in children. Moreover, it's been shown that, compared to adults, young individuals exhibit more variable kinematic patterns when performing repetitive movements (Kuhtz-Buschbeck et al., 1996 ). Additionally, the observed variability in Electromyography (EMG) waveform within-session for children exhibited approximately twice the variability of EMG signals (muscle activation level) for adults (Granata et al., 2005 ), affecting their joint kinematics and kinetics within a single session. Three-dimensional gait analysis (3DGA) is a valuable tool for understanding a child's gait pattern and how it compares with normative data of typically developed children's gait (Bari et al., 2023 , Ito et al., 2022 ). The insights gained from 3DGA in children affected by lower limb movement disorders serve as a foundation for clinical assessment to target personalized treatment and improve their walking patterns (Bari et al., 2023 ). Considering the unique challenges and broad spectrum of motor impairments in this population, addressing developmental challenges requires a tailored approach. The current gold standard for performing 3DGA involves Optical Motion Capture (OMC) along with force plates due to its high accuracy and robustness (Chester et al., 2005 ). However, the high cost of OMC systems and the time-consuming data post-processing needed lead to long waitlists for patients and sometimes long-distance travel for families coming from rural areas (Aminian&Najafi, 2004 ). Wearable sensors like Inertial Measurement Units (IMUs) are potential alternatives to the OMC system, enabling the potential to capture 3DGA in rural areas and natural environments (Gurchiek et al., 2019 ). Unlike the OMC systems, IMUs are inexpensive, small, and lightweight and can be used outside the clinic by wearing them or attaching them to the children's limbs or pelvis (Aminian&Najafi, 2004 ). Although IMU sensors are very promising in motion analysis, challenges such as time-increasing drift errors, which result in less accurate estimations, still need to be overcome (Aminian&Najafi, 2004 ). Moreover, traditional approaches (e.g., sensor fusion algorithms (Sabatini, 2006 , Madgwick et al., 2011 )), as well as the tool package OpenSense (Al Borno et al., 2022 ), require placing an IMU on each body segment for accurate kinematics calculations and functional calibration. The challenges associated with processing IMU data in adult populations have been addressed in previous studies (Moghadam et al., 2023a , Dorschky et al., 2020 , Mundt et al., 2021 , Tan et al., 2022 , Findlow et al., 2008 , Sharifi Renani et al., 2021 , Lim et al., 2020 , Giarmatzis et al., 2020 , Luu et al., 2014 ) by implementing Machine learning (ML) models. These ML models can establish a direct relationship between the IMUs' data and OMC derived gait time series (joint kinematics, joint kinetics, and muscle forces) (Moghadam et al., 2023a ). Prior research indicated the efficacy of this approach in adult populations, demonstrating highly accurate results with low errors during personalized model (tested on the same individual used for training). Additionally, reliable estimations were yielded using generalized models (tested on new participants not included in the training set), even in scenarios with limited dataset availability. Among various ML models developed for adults’ population, artificial neural networks (ANN) have been widely utilized for predicting gait time series. However, there is a limited body of literature exploring alternative data-driven models that may demand smaller datasets while achieving comparable results to ANNs. Building on this context, in a prior study, we demonstrated that Random Forest (RF) models can yield results comparable to more intricate machine learning models such as Convolutional Neural Networks (CNNs) for 3D Gait Analysis (3DGA) in adults (Moghadam et al., 2023a ). Given the greater heterogeneity in children's gait, it will be interesting to explore whether RF or CNNs can be applied to a paediatric population with similar performances. The primary focus of existing ML models for 3DGA in children lies in gait classification (Khaksar et al., 2021 , Zhang&Ma, 2019 , Zhang et al., 2009 , Kamruzzaman&Begg, 2006 , Choisne et al., 2020 ) rather than the development of models for predicting gait time series. There are only a handful of studies focused on predicting children’s gait using ML techniques (Kolaghassi et al., 2023 , Morbidoni et al., 2021 , Kolaghassi et al., 2022 , Kwon et al., 2012 , Vigneron et al., 2017 ). A research group used EMG sensors’ signals to predict children with cerebral palsy (CP) knee moment and achieved high correlation coefficients between 0.71 and 0.93 for different participants (Kwon et al., 2012 ). Another study proved the feasibility of using neural networks in predicting gait events from surface EMG signals in hemiplegic cerebral palsy (Morbidoni et al., 2021 ). Other studies have employed ML techniques to estimate one-step-ahead gait trajectories to control lower-limb robotic devices in children with CP (Kolaghassi et al., 2023 , Kolaghassi et al., 2022 ). However, none of the mentioned studies utilized IMUs’ data to develop the ML model. Given the effective performance of a combination of IMU and ML models in adults, exploring its applicability in a heterogenous paediatric population would be an interesting avenue for investigation. It is noteworthy that previous studies have indicated the feasibility of predicting diverse gait time series in adults using a single IMU on the pelvis (Lim et al., 2020 ) or a pair of IMUs on the shanks (Sharifi Renani et al., 2020 , Yeung et al., 2023 ) or the feet (Gholami et al., 2020 ). However, given the unique challenges posed by children's gait, it remains crucial to extend this inquiry for children gait analysis by exploring the applicability of using a reduced number of IMUs. A high number of IMU sensors on the body could be impractical in real-world gait analysis, particularly for at-home applications, as it requires high computational power to monitor numerous IMUs (Sivakumar et al., 2019 ). Therefore, another aspect requiring investigation is to quantify the optimal number of IMUs needed for accurately estimating gait time series in children. Therefore, this study aimed to assess the feasibility of leveraging data from IMUs to construct ML models for predicting gait time series in school-aged children. This goal was pursued through three key objectives. Firstly, we sought to explore whether personalized and generalized ML models for predicting gait time series in children could demonstrate comparable efficacy to their adult counterparts. Secondly, an evaluation was conducted to compare the accuracy of two distinct ML models – the multi-output RF and CNN models – for predicting gait time series in children. The final objective centred on exploring the potential of placing a singular IMU on each foot, as opposed to employing seven IMUs distributed across all lower limb segments. 2. Materials and Methods 2.1. Participants Seventeen typically developed (TD) children (9 F, 8 M; age = 10.5 ± 2.8 year. [6:15]; height = 147.2 ± 16.9 cm [119:174]; weight = 37.1 ± 11.7 kg [19.7:56.9]) were recruited for this study. Each child’s legal guardian provided informed consent prior to data collection. The research strictly adhered to ethical principles outlined in the Helsinki Declaration and received approval from the University of Auckland (New Zealand) human participant ethics committee (reference number 021615). 2.2. Data Collection OMC, force plates, and IMUs data were recorded while each participant completed one static and a minimum of 15 over-ground walking (over 20 meters) trials at their self-selected speed. For the initial five participants, we affixed 37 reflective markers (as indicated by numbers 1 to 37 in Fig. 1 ) on their body segments. Subsequently, a paper by Bakke et al. (Bakke&Besier, 2022 ) from our lab suggested a streamlined marker set, removing markers 6, 7, 8, 9, 10, 11, 18, 21, 32, and 33, which demonstrated equivalent accuracy in kinematics calculation. For the remaining participants, we adopted this refined marker set with 27 markers. Marker trajectories were traced by a 14-camera optical motion capture system (Vicon Motion Systems Ltd., UK) at a sampling frequency of 100 Hz for all trials. In addition, seven IMU sensors (Blue Trident, Vicon IMeasureU Ltd. (NZ)) were secured on the participants' pelvis (between left and right posterior superior iliac spine markers), thighs (1 cm above the lateral aspect of the patella), shanks (1 cm above the lateral aspect of the ankle), and feet (on the dorsal surface) (Fig. 1 ) and recorded three axes of angular velocity and linear acceleration at 2 kHz. Ground reaction forces (GRFs) were acquired at 2 kHz from three force plates (Bertec, Columbus, Ohio) embedded in the gait lab floor. The Vicon Nexus software (version 2.12) was used to collect and synchronize marker trajectory, GRF and IMUs data and subsequently to reconstruct markers' trajectories. 2.3. Data processing After data extraction from Nexus (C3D files), MOtoNMS (Matlab Motion data elaboration toolbox for neuromusculoskeletal applications) (Mantoan et al., 2015 ) was used to 1) filter (Butterworth 4th order, 8 Hz low pass filter) marker trajectories and GRF, 2) rotate and align the lab coordinate system to the OpenSim coordinate system in which X, Y, and Z are perpendicular to the frontal, transverse, and sagittal planes, respectively and 3) determine the hip joint centre (HJC) locations using the Harrington regression equations in static trials for scaling in OpenSim (Harrington et al., 2007 ). A musculoskeletal model was created for each participant by linearly scaling a generic adult model (OpenSim 2392 (Delp et al., 2007 )). The scaling tool in OpenSim (version 3.3) aligns virtual markers on the generic model with those placed on specific anatomical landmarks of the participant's body during the static trial. The HJCs calculated by MOtoNMS were used to scale the femur. The kinematics and kinetics of the lower limb joints, including the pelvis (3 DOF), hip (3 DOF), knee (1DOF in the sagittal plane), and ankle (2DOF; sagittal and frontal planes), were calculated for all participants using the inverse kinematics (IK) and inverse dynamics (ID) tools in OpenSim. To estimate joint kinematics and kinetics, we picked two gait cycles from each trial, resulting in a minimum of 30 gait cycles for each participant. The IK tool employs an optimization technique to ensure precise alignment between the virtual markers on the scaled model and the corresponding experimental markers in a least-squares sense (Lu&O’connor, 1999 , Knudson, 2007 ). For joint kinetics prediction, we focused on the gait cycles occurring on the force plates to allow for joint forces and moments calculation through the ID tool, which solves the equations of motion (Davis III et al., 1991). We excluded trials where the participant's feet were not entirely within the force plates. Therefore, a variable number of kinetics gait cycles remained for each participant, ranging from a minimum of 8 to a maximum of 18. This process resulted in a dataset encompassing measurements for 15 joints kinematics and 15 joints kinetics targets, including pelvis tilt, pelvis rotation, pelvis obliquity, hip rotation, hip flexion, hip abduction/adduction, knee flexion/extension, ankle dorsi/plantar flexion, and ankle inversion/eversion joints angles and moments for both legs. Finally, the IMU data were down sampled to 100 Hz to align the data's frequency with the joint kinematics and kinetics frequency. This also reduces the computational load for feature extraction and machine learning (ML) model construction. 2.4. Joint kinematics and kinetics prediction using ML models After processing data for the 17 participants, a total of 73,364 time points for joint kinematics and 21855 time/data points for joint kinetics were used for the development of ML models. The outlined procedures (Fig. 2 ), including windowing IMU data, feature extraction, feature selection, model development, and model evaluation, were executed as detailed in the subsequent sections. 2.4.1. Training and testing sets We implemented two distinct data splitting methods to facilitate two types of examinations (Fig. 2 , Step 1); the first looked at the intra-subject examination accuracy, and the second looked at the inter-subject prediction accuracy. Intra-subject examination In this approach, the training dataset consisted of 70% of a participant's gait cycles, and the remaining 30% of gait cycles were allocated for the testing dataset. A total of 17 training and testing datasets were created to cover all participants and perform the intra-subject examination. Inter-subject examination To create training and testing datasets for this examination, we employed a leave-one-out approach for our cohort of 17 participants. The dataset was partitioned to assess the model's generalization across diverse individuals. During each iteration, one participant's gait cycles were set aside for testing, while the gait cycles from the remaining 16 participants constituted the training dataset. This process was repeated 17 times, each time excluding a different participant from the training set. 2.4.2. IMU sensors data windowing and feature extraction In our pursuit of enhancing the accuracy of the learned models and emphasizing the main characteristics of the input data (Laird&Saul, 1994 ), we adopted a feature engineering technique. From each IMU, we took six time series, encompassing triaxial angular velocity and linear acceleration, to extract features. Consequently, we had a total of 42 data vectors from seven IMUs. We organized the input time series data into sequences of consecutive, sliding, and overlapping windows. We selected a window size of 0.75 seconds, as shown to be the most accurate in predicting gait time series (Moghadam et al., 2023b ). Next, we employed the Tsfresh (Christ et al., 2018 ) (Time Series FeatuRe Extraction on the basis of Scalable Hypothesis tests) python package to perform feature extraction on the windowed input data (Fig. 2 , Step 2). This process yielded a feature vector \({\overrightarrow{x}}_{i} = \left( {f}_{1}\right({x}_{1}), {f}_{2}({x}_{2}), . . . , {f}_{m}({x}_{i}\left)\right)\) for each vector of input data \({(x}_{i})\) . Tsfresh extracted 788 distinct features from each channel of IMU data, resulting in a substantial total of 33,096 features derived from the 42 channels of input data. 2.4.3. Feature selection The presence of irrelevant and noisy features may considerably reduce the performance of the ML model. The process of removing irrelevant features and selecting the most relevant features is called feature selection (Fig. 2 , Step 3). We eliminated all zero-variance features to initiate the process of determining the most important features. Then, the Tsfresh feature selector's built-in function was utilized to remove any non-significant feature, using the Benjamini Hochberg method (Benjamini&Hochberg, 1995 ). In the next step, the remaining features were ranked based on their Gini Importance in predicting each target using a Random Forest (RF) regressor (Hasan et al., 2016 ). Then, the top ten features associated with each target were selected. Our previous findings demonstrated that this selection of 10 features per target yields precise estimations in multi-output models (Moghadam et al., 2023b ). Finally, two comprehensive feature sets were constructed, each including 150 features. The first merged all the top features related to kinematics targets, forming the basis for a multioutput ML model dedicated to kinematics prediction. The second feature set put all the top features associated with kinetics targets together to develop a multioutput ML model tailored for kinetics prediction. We retained only the features present in the super feature set from all the extracted features for the training dataset (Fig. 2 , Step 4). 2.4.4. Non-linear regression ML models We developed RF and CNN models to assess their accuracy in predicting lower limb joint kinematics and kinetics during gait (Fig. 2 , Step 5). The hyperparameters for both RF and CNN models were chosen based on previously optimized models (Moghadam et al., 2023a ). We employed an RF model comprising 500 trees, each with a maximum depth of 25. For the CNN model, we used a multi-output architecture with five hidden layers. The selected features were scaled using the Standard Scaler function from the Sklearn library to ensure all variables fell within the same range (between zero and one). Targets were also scaled, and post-prediction, they were rescaled to their original values using the same scaler. The model's architecture featured an input layer with a size of 150, followed by two convolutional layers, each followed by a max-pooling layer. Both convolutional layers comprised 256 filters with a kernel size of three and employed a "relu" activation function. The max-pooling layers had a pool size of two. Subsequently, the data was flattened and passed through a dense output layer with a linear activation function. The number of units in the output layer corresponded to the number of targets (15 for both CNN models utilized for kinematics and kinetics prediction). The 'Adam' solver with a learning rate of 0.01 was used for weight optimization, employing the mean squared error as the loss function. An early stopping mechanism monitored validation loss and halted training if no improvement was observed after five epochs. The batch size was set to 32, and the model was trained for a maximum of 100 epochs to achieve robust results. 2.4.5. Models' evaluation To evaluate the performance of the CNN and RF models, we began by extracting the super feature set from the windowed test dataset (Fig. 2 , Step 6). Subsequently, the trained ML models were employed to predict targets, joint kinematics, and kinetics using the extracted features from test datasets (Fig. 2 , Step 7). Then, we computed the root mean square error (RMSE) and Normalized RMSE (NRMSE) between the OpenSim outputs and the predicted values generated by each ML model for all targets. The reported RMSEs and NRMSEs for intra-subject and inter-subject examination are average of personalized and generalized models, respectively. After determining the optimal ML model and IMU sensor configuration, we conducted additional analysis by 1) plotting average waveforms from both OpenSim and ML models’ outputs, 2) calculating R 2 values and creating correlation plots, and 3) generating Bland-Altman (Bland&Altman, 1986 ) plots to evaluate agreement between OpenSim outputs and predicted values for the selected model. 2.5. The effect of reducing IMU sensors to feet IMUs In a prior study (Moghadam et al., 2023b ), we demonstrated the feasibility of accurately estimating gait time series using machine learning models with just two IMUs positioned on the feet. To explore the applicability of this approach to children's data, we replicated the steps described in Fig. 2 using two IMUs placed on the feet instead of the full set of 7 IMUs. 3. Results 3.1. Joint kinematics prediction The distribution of predicted joint kinematics RMSE revealed similar predictive accuracy between the RF and CNN models, whether we're looking at the personalized models (intra-subject) or generalized models (inter-subject) (Fig. 3 ). The RF model exhibited, on average, lower prediction errors of 0.22° in intra-subject examinations and 0.20° in inter-subject examinations when compared to the CNN model across all joints and planes of motion. For the personalized models, reducing the number of IMUs to only one on each foot didn't alter the prediction of joints kinematics compared to using all seven IMUs (Fig. 3 (a)). Interestingly, in the inter-subject examination, pelvis rotation, hip rotation, and ankle inversion/eversion angles experienced a decrease in their prediction errors by using only two IMUs; however, it increased the RMSE in the inter-subject evaluation for pelvis tilt and hip flexion/extension (Fig. 3 (b)). Independently of the model and the number of IMUs used, the average RMSE across all joints and planes of motion indicated considerably lower values in the intra-subject examinations compared to the inter-subject examinations. In the inter-subject evaluation, the RMSE spanned from a minimum of 1.0° (Pelvis tilt) to a maximum of 6.7° (ankle inversion/eversion). However, for the inter-subject evaluation, the range of RMSE increased, covering values from 2.1° (hip adduction/abduction) to 17.5° (ankle inversion/eversion). In our analysis, we found that overall, the RF model gave slightly better results, and the number of IMUs used (two vs seven) did not have an impact on the results. Therefore, we concentrated on the results provided by the RF model with two IMUs for the subsequent analysis. After normalizing the RMSE values to the data range, we observed that the lowest normalized RMSE (NRMSE) was associated with knee flexion/extension angle, and the highest NRMSE value was related to the pelvis tilt angle (Table 1 ). In the hip and ankle joint angles prediction, the lowest error appeared in the sagittal plane; however, in the case of the pelvis, the highest error was associated with the sagittal plane. This finding held true for both intra and inter-subject examinations. Notably, the NRMSE values for all joints and planes of motion in the inter-subject results were nearly twice as high as those observed in the intra-subject examination. Specifically, the average RMSE across all targets increased from 9.5–19.9% (Table 1 ). When comparing the average NRMSE for children below ten years with children older than ten years, a clear trend emerges. On average, the NRMSE is lower (1.7% in intra-subject and 0.3% in inter-subject examinations) in the older age group when predicting joint kinematics (refer to Appendix Table A1). Table 1 The Normalised RMSE (NMRSE) along with their corresponding standard deviation (SD) values for joint angle prediction across all joints and planes of motion in intra and inter-subject examinations, based on RF models' output using two IMUs. NRMSE (%) ± SD Joint kinematics target Intra-subject examination Inter-subject examination Pelvis tilt 14.1 ± 5.1 33.1 ± 20.4 Pelvis obliquity 9.6 ± 2.7 19.7 ± 9.8 Pelvis rotation 13.8 ± 2.7 23.0 ± 13.1 Hip flexion/extension 6.1 ± 1.7 17.7 ± 8.4 Hip adduction/abduction 8.1 ± 1.9 18.4 ± 6.9 Hip rotation 11.9 ± 2.3 21.2 ± 7.1 Knee flexion/extension 5.2 ± 1.6 9.6 ± 6.6 Ankle dorsi/plantar flexion 6.7 ± 1.8 15.3 ± 5.7 Ankle inversion/eversion 10.1 ± 2.2 21.4 ± 5.9 Average 9.5 ± 3.3 19.9 ± 6.4 To understand if the prediction accuracy is consistent across the gait cycle for the intra-subject examination, we performed further analysis for the RF model outputs encompassing: 1) Average range of Motion (ROM) comparison between the OpenSim IK tool and the RF model's output. 2) Correlation plot and R-squared (R²) Assessment, and 3) Bland-Altman Analysis to provide insights into the agreements between predicted and measured variables. Hip, knee, and ankle joint angles in the sagittal plane are presented in Fig. 4 . Additional results for other targets, including pelvis angles in all planes of motion, hip joint angles in the frontal and transverse planes, and ankle joint angles in the frontal plane, are detailed in Appendix Figure A1. Plotting an average ROM (standard deviation (± SD)) across all participants revealed that the predicted waveforms closely followed the measured waveforms obtained from the OpenSim IK tool. The SD area of the predicted values fell within the shaded area representing the measured values, indicating a close fit between the predicted and measured data in the intra-subject examination (Fig. 4 (a), (d), and (g) and Figure A1 (a), (d), (g), (j), (m), and (p)). Furthermore, there was a strong correlation between the OpenSim IK outputs and predicted joint angles, with R² values exceeding 0.83 for pelvis angles in all planes of motion (Figure A1 (b), (e) and (h)), 0.76 for hip angles (Figure A1 (k) and (n) and Fig. 4 (b)), 0.97 for knee angle (Fig. 4 (e)), and 0.77 for ankle joint angles (Figure A1 (q) and Fig. 4 (h)). The high performance of the RF model in the sagittal plane was observed at the hip, knee, and ankle. Strong agreement between the measured and predicted values was evident in the Bland-Altman plots, with the error falling within the range of two standard deviations from the mean value for most participants. No specific pattern in the error values was seen based on these plots; however, the bias between predicted and measured kinematics was around zero for all targets (Fig. 4 (c), (f), and (i) and Figure A1 (c), (f), (i), (l), (o), and (r)). 3.2. Joint kinetics prediction When predicting joint kinetics, the RF model demonstrated slightly superior performance when compared to the CNN model (Fig. 5 ). The RF model yielded lower prediction error values than the CNN model across all joints and planes of motion, with a reduction of 0.017 Nm/kg RMSE in intra-subject examinations and 0.037 Nm/kg RMSE in inter-subject examinations. The better performance of the RF model was more pronounced in the inter-subject examination (Fig. 5 (b)). In terms of the number of IMU sensors used for joint kinetics prediction, we found nearly identical results when employing only the feet IMUs as compared to using all 7 IMUs. However, in specific kinetics targets, such as pelvis tilt and hip flexion/extension in the intra-subject examination and pelvis obliquity, hip adduction/abduction, and hip rotation in the inter-subject examination, even lower prediction errors were achieved by utilizing just two IMUs placed on the feet. It's important to highlight that irrespective of the model type and the number of IMUs employed for prediction, the RMSE values in the inter-subject examination were consistently higher than the RMSE in the intra-subject examination. As for the kinematics, we concentrated on the results provided by the RF model with two IMUs for further analysis. After calculating the NRMSE between outputs of the RF model and the OpenSim ID tool, we observed that the highest NRMSE values were associated with the pelvis tilt in the intra-subject examination (similar to the kinematics analysis) and hip flexion/extension in the inter-subject examination. Conversely, ankle dorsi/plantar flexion exhibited the lowest NRMSE for intra-subject examination, while knee flexion/extension displayed the lowest NRMSE for inter-subject examination. Just like with joint kinematics, the NRMSE values for all joints and planes of motion in the inter-subject results were higher than the intra-subject examination. Specifically, the average RMSE across all targets increased from 10.7–15.2% (Table 2 ). Similar to the prediction of joint kinematics, a consistent trend was noted in the prediction of joint kinetics (refer to Appendix Table A2). Notably, the NRMSE was lower by 1% in intra-subject and 4.3% in inter-subject examinations, for older children (above ten years old) as opposed to their younger counterparts (below ten years old). Table 2 the NRMSE values along with their corresponding SD for joint moment prediction across all joints and planes of motion in intra and inter-subject examinations, based on RF models' output using feet IMUs. NRMSE (%) ± SD Joint kinetics target Intra-subject examination Inter-subject examination Pelvis tilt 13.7 ± 1.9 13.9 ± 3.6 Pelvis obliquity 13.2 ± 2.1 16.8 ± 5.2 Pelvis rotation 12.8 ± 3.4 13.4 ± 3.8 Hip flexion/extension 11.8 ± 2.1 26.4 ± 14.5 Hip adduction/abduction 8.5 ± 2.1 15.1 ± 8.8 Hip rotation 9.6 ± 2.9 10.9 ± 3.3 Knee flexion/extension 8.5 ± 1.9 10.3 ± 2.6 Ankle dorsi/plantar flexion 6.4 ± 1.3 11.7 ± 9.6 Ankle inversion/eversion 12.5 ± 2.3 18.5 ± 7.3 Average 10.7 ± 2.6 15.2 ± 4.9 To understand if the prediction accuracy is consistent across the gait cycle for the intra-subject examination, we performed further analysis for the RF model outputs encompassing: 1) Average normalised moment comparison between the OpenSim IK tool and the RF model's output. 2) Correlation plot and R-squared (R²) Assessment, and 3) Bland-Altman Analysis to provide insights into the agreements between predicted and measured variables. The results for the hip, knee, and ankle joint moments in the sagittal plane are shown in Fig. 6 . Additional results for other targets, including pelvis moments in all planes of motion, hip joint moments in the frontal and transverse planes, and ankle joint moment in the frontal plane, are detailed in Appendix Figure A2. Plotting the average and standard deviation waveforms for joint moments throughout a gait cycle in intra-subject examination, we observed that the RF model's predictions effectively tracked the OpenSim ID tool output. However, the SD area of the predicted values did not consistently fall within the shaded area related to the measured values across the entire gait cycle ((Fig. 6 (a), (d), and (g)) and Figure A2 (a), (d), (g), (j), (m), and (p)). Especially toward the end of the stance phase (50–60% of the gait cycle), the model predicted a lower range of motion in the three joints in the sagittal plane. Also, at the beginning of the stance phase, we can observe some discrepancy in knee flexion and hip extension moment predictions. Compared to joint angles, the correlation between the measured and predicted joint moments was lower for the pelvis, with R 2 values of 0.43, 0.31, and 0.41 for pelvis tilt, obliquity, and rotation, respectively (Figure A2 (b), (e), and (h)). The R 2 values for other joint kinetics were consistent with the performance seen in joint kinematics prediction. Specifically, the hip joint experienced R 2 higher than 0.73 in all planes of motion (Figure A2 (k), (n), and Fig. 6 (b)), the R 2 for the knee joint was 0.80 in the sagittal plane (Fig. 6 (e)), and the ankle displayed R 2 values higher than 0.83 in both the frontal (Figure A2 (q)) and sagittal planes (Fig. 6 (h)). According to Bland-Altman plots, there was a good agreement between the measured and predicted targets, as the errors were within a range of two SD of the mean value for most participants. Similar to joint kinematics prediction, the bias between measured and predicted variables was around zero for all kinetics targets. An interesting observation was that during the final phase of the gait cycle (swing phase), errors were almost zero for most joint kinetics (Fig. 6 (c), (f), and (i) and Figure A1 (c), (f), (i), (l), (o), and (r)). 4. Discussion The aim of this study was to investigate the feasibility of using a combination of IMUs’ data and ML models for predicting joint kinematics and kinetics in school-aged children. To answer this aim, the first objective was to assess the accuracy of RF and CNN ML models by quantifying both intra-subject and inter-subject prediction errors. The second objective was to evaluate the influence of using only an IMU on each foot versus seven IMUs, one on each segment of the lower limb, on kinematics and kinetics prediction performance. We employed a feature engineering technique to extract and select the most important features from the IMUs' acceleration and angular velocity data to enhance the models' performance. 4.1. ML comparison Regarding the first objective, findings suggested that the RF and CNN models demonstrated comparable performance for predicting joint kinematics (9.5% versus 10.6% for personalized and 19.9% versus 22.5% for generalized models respectively) and kinetics (10.7% versus 12.9% for personalized and 15.2% versus 17.9% for generalized models respectively) in TD children. This implies that the complexity of deep neural network structures may not be necessary for gait time series prediction. Consequently, it opens the door to more efficient and easily interpretable modelling approaches, such as the RF model (Breiman, 2001 ). Supporting this notion, a separate study found RF models to outperform CNN models in estimating step length, showing an absolute error of 5.09 cm for RF compared to 5.26 cm for CNN (Seifer et al., 2023 ). Furthermore, the superiority of RF models, with an average error of 5.57°, becomes evident in gait trajectory generation, surpassing the neural network model with an average error of 6.00° in another study (Ren et al., 2019 ). The higher performance of RF models could be attributed to their resilience against overfitting. This resilience arises from their capacity to amalgamate multiple decision trees trained on bootstrapped data, coupled with the utilization of feature randomization, pruning, and averaging (Breiman, 2001 ). On the other hand, CNNs exhibit a notable susceptibility to overfitting, particularly when dealing with smaller datasets (Slijepcevic et al., 2023 ). 4.1.1. Intra-subject examination We created 17 personalized models for predicting kinematics and kinetics based on customized feature sets specific to each participant. Our results from the RF model using two IMUs data demonstrated strong predictive accuracy, with an average RMSE ranging from 1.61° to 4.16° (NRMSE of 5.2–14.1%) across all joint kinematics. The RMSE values for joint kinematics stayed well below the 5° error threshold, which is often considered a clinically acceptable level of deviation for assessing joint movements (Slater et al., 2018 ). However, the joint kinematics exhibited a slight increase compared to personalized models developed for adults in other studies, where observed values ranged from 1.38° to 3.96° for all targets (Moghadam et al., 2023a , Yeung et al., 2023 , Findlow et al., 2008 , Giarmatzis et al., 2020 ). Similarly, we found higher RMSE in joint kinetics prediction (0.038 to 0.233 Nm/kg) in comparison to studies focusing on adults, where the RMSE ranged from 0.042 to 0.198 Nm/kg (Mundt et al., 2020 , Dey et al., 2019 , Moghadam et al., 2023a ). This elevated error in both kinematics and kinetics prediction in the intra-subject evaluation of children compared to the adult models underscores the greater variability in gait time series within individual children across different trials. Different gait maturity level (Bach et al., 2021 ) as well as heightened variability in gait patterns (Kuhtz-Buschbeck et al., 1996 ) and EMG gait waveforms (Granata et al., 2005 ) in children compared to adults has been shown in other studies. This discrepancy may be attributed to the increased susceptibility of children to distractions during walking (Stolze et al., 1998 ) or to the heterogeneity in children's gait cycles compared to adults. Despite the higher errors in the children's personalized ML model compared to adults, the Bland-Altman plots revealed a notable level of agreement between the measured and predicted values during the intra-subject examination. Most participants exhibited errors within the range of two SD from the mean error value. Additionally, average errors consistently remained near zero for all predicted targets, underlining the good overall agreement between the IMU-based and OMC-based kinematics and kinetics. It is worth noting that no discernible patterns in the error values were observed, indicating a lack of systematic bias in the predictions (Bland&Altman, 1986 ). The Bland Altman plot also showed that the errors decreased during the swing phase for most joint moments. This occurrence can be attributed to the biomechanics of the swing phase, where the forces acting on the joints tend to balance out and become zero, resulting in minimal discrepancies between our predictions and OpenSim ID output. These findings emphasize the practicality and suitability of employing this approach, which involves a personalized RF model utilizing IMU data for accurately estimating gait time series in children. One interesting finding of personalized modelling (intra-subject examination) was the good model performance within the sagittal plane compared to the other planes of motion for joint kinematics prediction, especially in the case of hip and ankle joint angles. The knee angle, only computed within the sagittal plane, demonstrated a high correlation between the actual and predicted values (R 2 of 0.97). The enhanced performance of the RF model in the sagittal plane (higher R 2 and lower errors) can be attributed to the more prominent joint movements within this plane, which, in turn, yields more distinct signals from the IMUs. Consequently, this clarity in the IMU signals contributes to the model's improved predictive performance in the sagittal plane. While other planes of motion, such as the frontal and transverse planes, contribute to a comprehensive understanding of gait, the sagittal plane takes precedence in gait analysis due to its primary role in capturing the fundamental aspects of forward movement. We’ve shown that the proposed personalized method exhibits remarkable accuracy, demonstrating a clinically acceptable level of error, particularly in the sagittal plane. This notable precision positions it as exceptionally valuable for advancing the gait analysis of children. 4.1.2. Inter-subject examination In the inter-subject examination of the RF model, the results were less promising compared to the intra-subject test, with average RMSE ranging from 3.5° to 9.6° (NRMSE of 9.6–33.1%) for joint kinematics. When comparing the outcomes of ML models designed for children to those developed for adults, it becomes apparent that the RMSE values in adults exhibit lower errors (RMSE between 2.17° and 6.53°) (Dorschky et al., 2020 , Moghadam et al., 2023a , Luu et al., 2014 , Lim et al., 2020 , Sharifi Renani et al., 2021 ). In our study, the joint kinetics predictions yielded RMSE values ranging from 0.05 to 0.32 Nm/kg (NRMSE of 10.3–26.4%). These values surpass the range typically observed in inter-subject assessments of adult models, where RMSE ranges from 0.05 to 0.26 (Stetter et al., 2020 , Moghadam et al., 2023a ), and NRMSE falls between 4.54–10.74% (Lim et al., 2020 , Giarmatzis et al., 2020 )). In fact, these errors are of such magnitude that they do not provide confidence in the accurate prediction of gait time series in children not included in the training set. The primary reason for the elevated error in the children's generalized model compared to adults can be attributed to the diverse gait patterns among individual children, given their ongoing musculoskeletal changes and developmental stages within the specified age range of six to 15 years in this study (Onis et al., 2007 , Bari et al., 2023 ). However, as age advances, there is a reduction in variability within the gait pattern, as demonstrated in our findings revealing higher errors in gait analysis for younger children compared to older ones. When analysing the average (± SD) waveforms of targets within a gait cycle, we observed a noticeable standard deviation surrounding the average waveform for the children, reaffirming the high variability of gait patterns among children. This is comparable to a study by Fokuchi et al., where a greater deviation area for younger people compared to the adults' normative gait data is shown (Fukuchi et al., 2018 ). The secondary reason for the high error in generalized modelling lies in the limitations of the dataset. Effective ML models typically require access to extensive datasets comprising a wide spectrum of walking patterns. Consequently, the performance of a model trained on a small dataset featuring only 16 participants is inherently limited when applied to new, unseen subjects. The considerable errors observed in generalized modelling render this approach less advisable for children who were not part of the initial training dataset. 4.2. Number of IMUs Concerning the second objective, we demonstrated that utilizing two IMUs on the feet, instead of a total of seven IMUs, resulted in similar accuracy of the models, specifically in intra-subject examination. Concerning the inter-subject examination, while there was a slight increase in error for some targets (pelvis tilt, hip flexion/extension angles and moments, and ankle dorsi/plantar moment), reducing the number of IMUs to feet IMUs resulted in decreased errors for specific targets such as pelvis rotation angle, hip rotation angle, ankle inversion/eversion angles, pelvis obliquity moment, hip adduction/abduction moment, and hip rotation moment. These findings are consistent with our prior research, which suggested that in adult gait prediction, employing ML models allows us to achieve nearly identical results using only feet IMUs, as opposed to utilizing seven IMUs (one for each segment) (Moghadam et al., 2023b ). This can be attributed to the proficiency of ML models in establishing a robust relationship between IMU data and targets. Another contributing factor is the identification of alternative features to raw IMU data, thereby augmenting the predictive capabilities of the ML model, even when working with a limited number of IMUs. The feasibility of employing a single IMU on the pelvis (Lim et al., 2020 ) or a pair of IMUs on shanks (Sharifi Renani et al., 2020 , Yeung et al., 2023 ) or feet (Gholami et al., 2020 ) for predicting a diverse range of gait time series has been demonstrated in prior studies. Reducing the number of IMUs streamlines model implementation, decreases data processing time, and lowers sensor-related costs. Additionally, the potential integration of foot IMUs within shoes, rendering them inconspicuous during community use, could enhance patient compliance. 4.3. Limitations and future work This study presents limitations to be addressed by future research. Firstly, the utilization of a generic adult model for scaling and constructing musculoskeletal models for children. The issue lies in the potential discrepancies between generic adult models and the individual anatomical characteristics of children. Developing more precise, subject-specific models would ideally involve leveraging medical imaging data, such as MRI, CT, or X-rays, which can be both time-consuming and financially burdensome(Nolte et al., 2016 ). To address this limitation, future research could explore alternative methods like statistical shape modelling to build children's musculoskeletal models (Carman et al., 2022 ). Another limitation of this study pertains to the omission of an investigation into the potential impact of slight variations in the placement of IMUs that may occur when different individuals are responsible for placing the IMUs. The concern here is that small variations could influence the data collected and, consequently, affect the accuracy and reliability of the results. Addressing this limitation in future research might involve conducting a sensitivity analysis or implementing standardized procedures for IMU placement to mitigate the potential impact of such variations on the study outcomes. Our study focused on typically developed children to establish the models, which will differ from other populations, such as children with cerebral palsy. The choice of ML model and the number of required IMUs may differ, as children with movement disorders often exhibit more complex and diverse gait patterns. Several research groups have successfully employed regression machine learning models to estimate gait time series in specific patient cohorts. Examples of previous studies on patients include the prediction of knee joint moments during gait in individuals with CP (Kwon et al., 2012 ), the estimation of knee joint kinematics in patients with knee osteoarthritis (Tan et al., 2022 ), and the forecasting of gait parameters for patients with osteoarthritis (OA) and those undergoing total knee arthroplasty (TKA) (Sharifi Renani et al., 2020 ). Notably, these investigations demonstrated high correlation coefficients ranging from 0.71 to 0.99, showcasing the viability of gait time series prediction in targeted patient groups using wearable sensors and machine learning models. While the model employed in this study demonstrates robust performance with typically developing (TD) children, its suitability for diverse pathologies warrants exploration. Gait patterns vary significantly across different conditions, making it imprudent to apply the exact same model to a new population. Consequently, our future endeavours will involve evaluating the performance of our algorithm on additional patient cohorts, including children with cerebral palsy. Another notable limitation is the computational resources required for the primary feature extraction and selection processes. We utilized high-performance computers with 80GB of RAM memory to address this demand. However, once the model is trained, it can be executed on less powerful computers, focusing solely on extracting the selected features and providing inference from the model. It is also important to acknowledge that the accuracy of estimations using data from other labs may not match the precision of our own results. This discrepancy can be related to variations in equipment and sensor usage across different laboratories. However, by incorporating data from multiple labs into the training dataset for our models, we can enhance the models' ability to generalize across different settings. 4.4. Strengths and Contributions By developing an ML model for predicting gait time series in children with diverse gait patterns, we achieved results comparable to studies focused on the adult population, particularly in the context of personalized modelling. We believe that our model offers several advantages over traditional methods that rely on IMUs for gait analysis. For instance, our model can predict a comprehensive set of lower limb joint angles and moments during gait using only two IMUs attached to the feet. To the best of our knowledge, this is the first study tailored to children's gait time series prediction, leveraging a combination of IMU data and ML techniques. Other methodologies, which would use sensor fusion algorithms rather than ML, require additional normalization steps to calculate each IMU sensors' orientation relative orientation to each body segment, leading to inaccuracies and numerical drift errors. In contrast, our personalized models have good accuracy, can be streamlined, and work independently of the user's expertise. Following a single data collection session in a gait lab, remote patient monitoring becomes feasible by placing IMUs on the patient's feet and feeding the IMU data into the model for inference. Furthermore, this workflow can be utilized in real-time, as the inference time for the RF model is on the order of milliseconds. 5. Conclusion The current study showed that RF and CNN models exhibit comparable results in the context of gait analysis within a typically developed paediatric population. The practicality of employing only two IMUs placed on the feet for predicting a comprehensive set of lower-limb joint kinematics and kinetics was successfully demonstrated. The presented workflow, employing foot IMUs, not only reduces processing time but also streamlines the integration of wearable sensors in clinical settings. Our forthcoming research endeavours will include increasing the sample size and introducing more variability to the overground walking scenarios to enhance the accuracy of our generalized model. Moreover, future work will be dedicated to developing ML models tailored to a cohort of children with movement disorders, specifically children with CP. This expansion promises to bring valuable insights and tools to the field of paediatric gait analysis, serving as a testament to the potential for advanced technology to benefit those with unique clinical requirements. Declarations 6. Conflict of Interest The authors declare no conflict of interest. 7. Author contribution J.C. and T.Y. designed the study, S.M.M. and P.O. gathered data from participants, S.M.M. developed the machine learning models and analysed the results. S.M.M. wrote and prepared the initial draft of the manuscript, and J.C., T.Y., and P.O. revised the subsequent version of the manuscript. J.C. and T.Y. provided oversight for the study and secured funding. All authors critically reviewed and approved the manuscript before submission. 8. Funding This study was funded by the Health Research Council NZ, the Aotearoa fellowship, the Friedlander Foundation, and the Science for Technological Innovation NZ. 9. Acknowledgment We express our gratitude to the participants for their valuable contributions to this study. Additionally, we acknowledge the support of the Health Research Council NZ, the Aotearoa fellowship, the Friedlander Foundation, and the Science for Technological Innovation NZ National Science Challenge for funding this research. 10. Data Availability Statement The post-processed data, including joint kinematics, joint kinetics, as well as the raw IMU data utilized for constructing ML models in this study, are accessible on the open-source platform SimTK.org (https://simtk.org/projects/ml_sensors) References Al Borno M, O’Day J, Ibarra V, Dunne J, Seth A, Habib A, Ong C, Hicks J, Uhlrich S and Delp S (2022). Opensense: An Open-Source Toolbox for Inertial-Measurement-Unit-Based Measurement of Lower Extremity Kinematics over Long Durations. Journal of neuroengineering and rehabilitation, 19 (1), 1–11. Aminian K and Najafi B (2004). Capturing Human Motion Using Body-Fixed Sensors: Outdoor Measurement and Clinical Applications. Computer animation and virtual worlds, 15 (2), 79–94. Bach M M, Daffertshofer A and Dominici N (2021). The Development of Mature Gait Patterns in Children During Walking and Running. European journal of applied physiology, 121 1073–85. Bakke D and Besier T (2022). Shape-Model Scaled Gait Models Can Neglect Segment Markers without Consequential Change to Inverse Kinematics Results. Journal of Biomechanics, 137 111086. Bari M A, Mir H N, Parrey J A, Ateeq A, Ajhar A, Al Muslem W H, Nuhmani S, Alduhishy A and Alsubaiei M E (2023). Exploring Variations in Gait Patterns and Joint Motion Characteristics in School-Aged Children across Different Walking Speeds: A Comprehensive Motion Analysis Study. Journal of Medicine and Life, 16 (6), 895. Benjamini Y and Hochberg Y (1995). Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal statistical society: series B (Methodological), 57 (1), 289–300. Bland J M and Altman D (1986). Statistical Methods for Assessing Agreement between Two Methods of Clinical Measurement. The lancet, 327 (8476), 307–10. Breiman L (2001). Random Forests. Machine learning, 45 (1), 5–32. Carman L, Besier T F and Choisne J (2022). Morphological Variation in Paediatric Lower Limb Bones. Scientific Reports, 12 (1), 3251. Chester V L, Biden E N and Tingley M (2005). Gait Analysis. Biomedical instrumentation & technology, 39 (1), 64–74. Choisne J, Fourrier N, Handsfield G, Signal N, Taylor D, Wilson N, Stott S and Besier T F (2020). An Unsupervised Data-Driven Model to Classify Gait Patterns in Children with Cerebral Palsy. Journal of clinical medicine, 9 (5), 1432. Christ M, Braun N, Neuffer J and Kempa-Liehr A W (2018). Time Series Feature Extraction on Basis of Scalable Hypothesis Tests (Tsfresh–a Python Package). Neurocomputing, 307 72–77. Cigali B S, Uluçam E and Bozer C (2011). 3d Motion Analysis of Hip, Knee and Ankle Joints of Children Aged between 7–11 Years During Gait. Balkan Medical Journal , 2011 (2), 197–201. Davis III R B, Ounpuu S, Tyburski D and Gage J R (1991). A Gait Analysis Data Collection and Reduction Technique. Human movement science, 10 (5), 575–87. Delp S L, Anderson F C, Arnold A S, Loan P, Habib A, John C T, Guendelman E and Thelen D G (2007). Opensim: Open-Source Software to Create and Analyze Dynamic Simulations of Movement. IEEE transactions on biomedical engineering, 54 (11), 1940–50. Dey S, Yoshida T, Ernst M, Schmalz T and Schilling A F. A Random Forest Approach for Continuous Prediction of Joint Angles and Moments During Walking: An Implication for Controlling Active Knee-Ankle Prostheses/Orthoses. 2019 IEEE International Conference on Cyborg and Bionic Systems (CBS), 2019. IEEE, 66–71. Dorschky E, Nitschke M, Martindale C F, Van den Bogert A J, Koelewijn A D and Eskofier B M (2020). Cnn-Based Estimation of Sagittal Plane Walking and Running Biomechanics from Measured and Simulated Inertial Sensor Data. Frontiers in bioengineering and biotechnology, 8 604. Findlow A, Goulermas J, Nester C, Howard D and Kenney L (2008). Predicting Lower Limb Joint Kinematics Using Wearable Motion Sensors. Gait & posture, 28 (1), 120–26. Fukuchi C A, Fukuchi R K and Duarte M (2018). A Public Dataset of Overground and Treadmill Walking Kinematics and Kinetics in Healthy Individuals. PeerJ, 6 e4640. Ganley K J and Powers C M (2005). Gait Kinematics and Kinetics of 7-Year-Old Children: A Comparison to Adults Using Age-Specific Anthropometric Data. Gait & posture, 21 (2), 141–45. Gholami M, Napier C and Menon C (2020). Estimating Lower Extremity Running Gait Kinematics with a Single Accelerometer: A Deep Learning Approach. Sensors, 20 (10), 2939. Giarmatzis G, Zacharaki E I and Moustakas K (2020). Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning. Sensors, 20 (23), 6933. Granata K P, Padua D A and Abel M F (2005). Repeatability of Surface Emg During Gait in Children. Gait & Posture, 22 (4), 346–50. Gurchiek R D, Cheney N and McGinnis R S (2019). Estimating Biomechanical Time-Series with Wearable Sensors: A Systematic Review of Machine Learning Techniques. Sensors, 19 (23), 5227. Harrington M, Zavatsky A, Lawson S, Yuan Z and Theologis T (2007). Prediction of the Hip Joint Centre in Adults, Children, and Patients with Cerebral Palsy Based on Magnetic Resonance Imaging. Journal of biomechanics, 40 (3), 595–602. Hasan M A M, Nasser M, Ahmad S and Molla K I (2016). Feature Selection for Intrusion Detection Using Random Forest. Journal of information security, 7 (3), 129–40. Ito T, Noritake K, Ito Y, Tomita H, Mizusawa J, Sugiura H, Matsunaga N, Ochi N and Sugiura H (2022). Three-Dimensional Gait Analysis of Lower Extremity Gait Parameters in Japanese Children Aged 6 to 12 Years. Scientific Reports, 12 (1), 7822. Jain E, Anthony L, Aloba A, Castonguay A, Cuba I, Shaw A and Woodward J (2016). Is the Motion of a Child Perceivably Different from the Motion of an Adult? ACM Transactions on Applied Perception (TAP), 13 (4), 1–17. Kamruzzaman J and Begg R K (2006). Support Vector Machines and Other Pattern Recognition Approaches to the Diagnosis of Cerebral Palsy Gait. IEEE Transactions on Biomedical Engineering, 53 (12), 2479–90. Khaksar S, Pan H, Borazjani B, Murray I, Agrawal H, Liu W, Elliott C, Imms C, Campbell A and Walmsley C (2021). Application of Inertial Measurement Units and Machine Learning Classification in Cerebral Palsy: Randomized Controlled Trial. JMIR Rehabilitation and Assistive Technologies, 8 (4), e29769. Knudson D V (2007). Fundamentals of Biomechanics, Springer. Kolaghassi R, Al-Hares M K, Marcelli G and Sirlantzis K (2022). Performance of Deep Learning Models in Forecasting Gait Trajectories of Children with Neurological Disorders. Sensors, 22 (8), 2969. Kolaghassi R, Marcelli G and Sirlantzis K (2023). Deep Learning Models for Stable Gait Prediction Applied to Exoskeleton Reference Trajectories for Children with Cerebral Palsy. IEEE Access, 11 31962–76. Kuhtz-Buschbeck J, Boczek-Funcke A, Heinrichs H, Illert M and Stolze H (1996). Kinematic Analysis of Prehension in Children. Eur J Neurosci Suppl, 9 131. Kwon S, Park H-S, Stanley C J, Kim J, Kim J and Damiano D L (2012). A Practical Strategy for Semg-Based Knee Joint Moment Estimation During Gait and Its Validation in Individuals with Cerebral Palsy. IEEE Transactions on Biomedical Engineering, 59 (5), 1480–87. Laird P and Saul R. Automated Feature Extraction for Supervised Learning. Proceedings of the First IEEE Conference on Evolutionary Computation. IEEE World Congress on Computational Intelligence, 1994. IEEE, 674 – 79. Lim H, Kim B and Park S (2020). Prediction of Lower Limb Kinetics and Kinematics During Walking by a Single Imu on the Lower Back Using Machine Learning. Sensors, 20 (1), 130. Lu T-W and O’connor J (1999). Bone Position Estimation from Skin Marker Co-Ordinates Using Global Optimisation with Joint Constraints. Journal of biomechanics, 32 (2), 129–34. Luu T P, Low K, Qu X, Lim H and Hoon K (2014). An Individual-Specific Gait Pattern Prediction Model Based on Generalized Regression Neural Networks. Gait & posture, 39 (1), 443–48. Madgwick S O, Harrison A J and Vaidyanathan R. Estimation of Imu and Marg Orientation Using a Gradient Descent Algorithm. 2011 IEEE international conference on rehabilitation robotics, 2011. IEEE, 1–7. Mantoan A, Pizzolato C, Sartori M, Sawacha Z, Cobelli C and Reggiani M (2015). Motonms: A Matlab Toolbox to Process Motion Data for Neuromusculoskeletal Modeling and Simulation. Source code for biology and medicine, 10 (1), 1–14. Moghadam S M, Yeung T and Choisne J (2023a). A Comparison of Machine Learning Models’ Accuracy in Predicting Lower-Limb Joints’ Kinematics, Kinetics, and Muscle Forces from Wearable Sensors. Scientific Reports, 13 (1), 5046. Moghadam S M, Yeung T and Choisne J (2023b). The Effect of Imu Sensor Location, Number of Features, and Window Size on a Random Forest Model’s Accuracy in Predicting Joint Kinematics and Kinetics During Gait. IEEE Sensors Journal: Morbidoni C, Cucchiarelli A, Agostini V, Knaflitz M, Fioretti S and Di Nardo F (2021). Machine-Learning-Based Prediction of Gait Events from Emg in Cerebral Palsy Children. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 29 819–30. Mundt M, Johnson W R, Potthast W, Markert B, Mian A and Alderson J (2021). A Comparison of Three Neural Network Approaches for Estimating Joint Angles and Moments from Inertial Measurement Units. Sensors, 21 (13), 4535. Mundt M, Thomsen W, Witter T, Koeppe A, David S, Bamer F, Potthast W and Markert B (2020). Prediction of Lower Limb Joint Angles and Moments During Gait Using Artificial Neural Networks. Medical & biological engineering & computing, 58 (1), 211–25. Nolte D, Tsang C K, Zhang K Y, Ding Z, Kedgley A E and Bull A M (2016). Non-Linear Scaling of a Musculoskeletal Model of the Lower Limb Using Statistical Shape Models. Journal of biomechanics, 49 (14), 3576–81. Onis M d, Onyango A W, Borghi E, Siyam A, Nishida C and Siekmann J (2007). Development of a Who Growth Reference for School-Aged Children and Adolescents. Bulletin of the World health Organization, 85 (9), 660–67. Ren S, Wang W, Hou Z-G, Chen B, Liang X, Wang J and Peng L (2019). Personalized Gait Trajectory Generation Based on Anthropometric Features Using Random Forest. Journal of Ambient Intelligence and Humanized Computing, 1–12. Sabatini A M (2006). Quaternion-Based Extended Kalman Filter for Determining Orientation by Inertial and Magnetic Sensing. IEEE transactions on Biomedical Engineering, 53 (7), 1346–56. Seifer A-K, Küderle A, Dorschky E, Moradi H, Hannemann R and Eskofier B (2023). Step Length and Gait Speed Estimation Using a Hearing Aid Integrated Accelerometer: A Comparison of Different Algorithms. Senden R, Marcellis R, Meijer K, Willems P, Lenssen T, Staal H, Janssen Y, Groen V, Vermeulen R J and Witlox M (2023). Dataset of 3d Gait Analysis in Typically Developing Children Walking at Three Different Speeds on an Instrumented Treadmill in Virtual Reality. Data in Brief, 48 109142. Sharifi Renani M, Eustace A M, Myers C A and Clary C W (2021). The Use of Synthetic Imu Signals in the Training of Deep Learning Models Significantly Improves the Accuracy of Joint Kinematic Predictions. Sensors, 21 (17), 5876. Sharifi Renani M, Myers C A, Zandie R, Mahoor M H, Davidson B S and Clary C W (2020). Deep Learning in Gait Parameter Prediction for Oa and Tka Patients Wearing Imu Sensors. Sensors, 20 (19), 5553. Sivakumar S, Gopalai A A, Lim K H and Gouwanda D (2019). Artificial Neural Network Based Ankle Joint Angle Estimation Using Instrumented Foot Insoles. Biomedical Signal Processing and Control, 54 101614. Slater A A, Hullfish T J and Baxter J R (2018). The Impact of Thigh and Shank Marker Quantity on Lower Extremity Kinematics Using a Constrained Model. BMC Musculoskeletal Disorders, 19 (1), 1–10. Slijepcevic D, Zeppelzauer M, Unglaube F, Kranzl A, Breiteneder C and Horsak B (2023). Explainable Machine Learning in Human Gait Analysis: A Study on Children with Cerebral Palsy. IEEE Access : Stetter B J, Krafft F C, Ringhof S, Stein T and Sell S (2020). A Machine Learning and Wearable Sensor Based Approach to Estimate External Knee Flexion and Adduction Moments During Various Locomotion Tasks. Frontiers in bioengineering and biotechnology, 8: Stolze H, Kuhtz-Buschbeck J, Mondwurf C, Jöhnk K and Friege L (1998). Retest Reliability of Spatiotemporal Gait Parameters in Children and Adults. Gait & posture, 7 (2), 125–30. Tan J-S, Tippaya S, Binnie T, Davey P, Napier K, Caneiro J, Kent P, Smith A, O’Sullivan P and Campbell A (2022). Predicting Knee Joint Kinematics from Wearable Sensor Data in People with Knee Osteoarthritis and Clinical Considerations for Future Machine Learning Models. Sensors, 22 (2), 446. Vigneron V, Dorizzi B, Khouri N and Desailly E (2017). Predicting Postoperative Gait in Cerebral Palsy. Gait & posture, 52 45–51. Yeung T, Cantamessa A, Kempa-Liehr A W, Besier T and Choisne J (2023). Personalised Machine Learning Approach to Estimating Knee Kinematics Using Only Shank-Mounted Imu. IEEE Sensors Journal: Zhang B-l, Zhang Y and Begg R K (2009). Gait Classification in Children with Cerebral Palsy by Bayesian Approach. Pattern Recognition, 42 (4), 581–86. Zhang Y and Ma Y (2019). Application of Supervised Machine Learning Algorithms in the Classification of Sagittal Gait Patterns of Cerebral Palsy Children with Spastic Diplegia. Computers in biology and medicine, 106 33–39. Additional Declarations The authors declare no competing interests. Supplementary Files Appendix.docx Supplementary materials FigureA1.jpg The plots are made across all participants in the intra-subject examination, specifically for pelvis tilt (a, b, c), pelvis obliquity (d, e, f), pelvis rotation (g, h, i), hip adduction/abduction (j, k, l), hip rotation (m, n, o), and ankle inversion/eversion (p, q, r) joint angles. (a), (d), (g), (j), (m), and (p) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates the SD) for joint angles, utilizing data from IMUs placed on the feet. These predictions are compared to the joint angles derived from the OpenSim IK tool (the solid blue line represents the average, and the blue shaded area indicates the SD). Figures (b), (e), (h), (k), (n), and (q) illustrate the correlation and R-squared (R²) values for the mentioned joint angle targets. In (c), (f), (i), (l), (o), and (r), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct color in these plots represents the results of one participant. FigureA2.jpg The plots are made across all participants in the intra-subject examination, specifically for pelvis tilt (a, b, c), pelvis obliquity (d, e, f), pelvis rotation (g, h, i), hip adduction/abduction (j, k, l), hip rotation (m, n, o), and ankle inversion/eversion (p, q, r) joint moments. (a), (d), (g), (j), (m), and (p) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates the SD) for joint angles, utilizing data from IMUs placed on the feet. These predictions are compared to the joint angles derived from the OpenSim ID tool (the solid blue line represents the average, and the blue shaded area indicates the SD). Figures (b), (e), (h), (k), (n), and (q) illustrate the correlation and R-squared (R²) values for the mentioned joint angle targets. In (c), (f), (i), (l), (o), and (r), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct color in these plots represents the results of one participant. Cite Share Download PDF Status: Published Journal Publication published 19 Mar, 2024 Read the published version in Frontiers in Bioengineering and Biotechnology → Version 1 posted 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-3898246","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":269311106,"identity":"a56d4286-ed84-4e2e-baa2-d45dcda092e3","order_by":0,"name":"Shima Mohammadi Moghadam","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABCUlEQVRIiWNgGAWjYHACNgaJHzVyQAYzwwMGBsYGECKoxbLnmDFYSwLRWirYmBMbEFoIAPlph489uMHDlt4/I/mxQULNHdkNt5sbGH7UMOTJ49BscDst3XCGhUzujBtpxgkJx54Zb7hzsIGx5xhDMS77DKRzzKQleNhyG27kMB9IYDucuOEG0JG8DQyJzbgcNhuo5Q8bc7o8WMs/iBbGv0Atbbg8czvHTEKCjTnBAKglIbENooUZZEsPDh1Av6RJSPYcM9x45pmxQWLfYeOZQC2HZY5JJM7A6bDkYxLAqJSXO578WOLDt8OyfTfSHz58U2OTOB+H97GDAwwMEqSoHwWjYBSMglGABgCvPGFSavnEUQAAAABJRU5ErkJggg==","orcid":"","institution":"The University of Auckland","correspondingAuthor":true,"prefix":"","firstName":"Shima","middleName":"Mohammadi","lastName":"Moghadam","suffix":""},{"id":269311107,"identity":"6a7a9f81-b5b7-49c2-a5d1-5454e32a3254","order_by":1,"name":"Pablo Ortega Auriol","email":"","orcid":"","institution":"The University of Auckland","correspondingAuthor":false,"prefix":"","firstName":"Pablo","middleName":"Ortega","lastName":"Auriol","suffix":""},{"id":269311108,"identity":"d7ecd9cb-25bc-42b7-b286-3b65ce8abc9e","order_by":2,"name":"Ted Yeung","email":"","orcid":"","institution":"The University of Auckland","correspondingAuthor":false,"prefix":"","firstName":"Ted","middleName":"","lastName":"Yeung","suffix":""},{"id":269311109,"identity":"ece472d0-4562-4d67-9d0f-cfbca6b6877f","order_by":3,"name":"Julie Choisne","email":"","orcid":"","institution":"The University of Auckland","correspondingAuthor":false,"prefix":"","firstName":"Julie","middleName":"","lastName":"Choisne","suffix":""}],"badges":[],"createdAt":"2024-01-25 20:11:22","currentVersionCode":1,"declarations":{"humanSubjects":true,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":true,"humanSubjectConsent":true,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-3898246/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-3898246/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.3389/fbioe.2024.1372669","type":"published","date":"2024-03-20T00:00:00+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":50330058,"identity":"518f721b-bbcd-42df-8c4a-3ea733d475d4","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"jpg","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":283481,"visible":true,"origin":"","legend":"\u003cp\u003ePictures of the front (left) and back (right) of a participant, illustrating markers’ placement (numbered in the image) and sensor locations (IMU axes depicted in red). The study did not utilize data from the Electromyography (EMG) sensors.\u003c/p\u003e","description":"","filename":"Figure1.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/4b4dc2bfa710d91b4f08ba21.jpg"},{"id":50330519,"identity":"1213cf4b-a9a7-47e1-8313-441e7981180f","added_by":"auto","created_at":"2024-01-29 21:42:11","extension":"jpg","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":520758,"visible":true,"origin":"","legend":"\u003cp\u003eThe workflow to develop the ML models. Step 1: Split the data into training and testing sets. Step 2: Window IMU data and feature extraction for the training dataset. Step 3: Feature selection. Step 4: Keep only the selected features in the training set. Step 5: Train ML models using selected features in the training set. Step 6: window IMU data and extract the super feature set (determined in step 3) for the test dataset. Step 7: Test the trained model on the testing set.\u003c/p\u003e","description":"","filename":"Figure2.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/86aa5a16908fb14445b88354.jpg"},{"id":50330063,"identity":"908cfca3-c4ea-4de3-b5ad-f39dd4e60676","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"jpg","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":404492,"visible":true,"origin":"","legend":"\u003cp\u003eViolin plots illustrate the RMSE in degrees for joint kinematics predictions, comparing OpenSim IK outcomes with those from ML models. The red violins represent errors from the RF model, while the blue violins depict errors from the CNN model. Darker hues indicate models utilizing data from the full set of IMUs (n=7), and lighter hues denote models using data solely from foot-mounted IMUs (n=2). Panel (a) presents results from the intra-subject examination, while panel (b) displays the inter-subject examination results, utilizing models designed to generalize across participants.\u003c/p\u003e","description":"","filename":"Figure3.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/f0ca66d2da31ed78c6b69e10.jpg"},{"id":50330520,"identity":"2507d329-b3c0-4e24-8f68-3b958a15dac0","added_by":"auto","created_at":"2024-01-29 21:42:11","extension":"jpg","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":880608,"visible":true,"origin":"","legend":"\u003cp\u003eThe plots are made across all participants in the intra-subject examination, specifically for hip (a, b, c), knee (d, e, f), and ankle (g, h, i) joint angles in the sagittal plane. (a), (d) and (g) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates the SD) \u0026nbsp;for joint angles, utilizing data from IMUs placed on the feet. These predictions are compared to the joint angles derived from the OpenSim IK tool (the solid blue line represents the average, and the blue shaded area indicates the SD). Figures (b), (e), and (h) illustrate the correlation and R-squared (R²) values for the mentioned joint angle targets. In (c), (f), and (i), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct colour in these plots represents the results of one participant.\u003c/p\u003e","description":"","filename":"Figure4.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/f2f64b5db98769217d0cc45c.jpg"},{"id":50330066,"identity":"f779e492-54f3-442a-abe7-ca53bad1b7bf","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"jpg","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":421914,"visible":true,"origin":"","legend":"\u003cp\u003eViolin plots illustrate the RMSE in degrees for joint kinematics predictions, comparing OpenSim ID outcomes with those from ML models. The red violins represent errors from the RF model, while the blue violins depict errors from the CNN model. Darker hues indicate models utilizing data from the full set of IMUs (n=7), and lighter hues denote models using data solely from foot-mounted IMUs (n=2). Panel (a) presents results from the intra-subject examination, while panel (b) displays the inter-subject examination results, utilizing models designed to generalize across participants.\u003c/p\u003e","description":"","filename":"Figure5.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/84ac3712d95d9ed4528bab7c.jpg"},{"id":50330521,"identity":"e626914b-cb2e-43be-b021-381242eff34b","added_by":"auto","created_at":"2024-01-29 21:42:11","extension":"jpg","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":807538,"visible":true,"origin":"","legend":"\u003cp\u003eThe plots are made across all participants in the intra-subject examination, specifically for hip (a, b, c), knee (d, e, f), and ankle (g, h, i) joint moments in the sagittal plane. (a), (d), and (g) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates one SD) for joint moments, utilizing data from IMUs placed on the feet. These predictions are compared to the joint moments derived from the OpenSim ID tool (the solid blue line represents the average, and the blue shaded area indicates one SD). Figures (b), (e), and (h) illustrate the correlation and R-squared (R²) values for the mentioned joint moment targets. In (c), (f), and (i), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct colour in correlation and error plots represents the results of one participant.\u003c/p\u003e","description":"","filename":"Figure6.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/1a18438723808d208f6cbf16.jpg"},{"id":53600989,"identity":"024719d2-9cf0-463a-965d-8b096afa0f7a","added_by":"auto","created_at":"2024-03-28 01:57:06","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1168466,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/a391b75c-130a-49f1-b565-a35d552e9cec.pdf"},{"id":50330061,"identity":"b27e95ef-080f-4ea4-ad38-451fab3f00af","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"docx","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":1542248,"visible":true,"origin":"","legend":"\u003cp\u003eSupplementary materials\u003c/p\u003e","description":"","filename":"Appendix.docx","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/0ff34496152ae86e174c8c0d.docx"},{"id":50330059,"identity":"1b558cc1-fc33-4c3d-9926-be248dafe2cb","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"jpg","order_by":2,"title":"","display":"","copyAsset":false,"role":"supplement","size":1658687,"visible":true,"origin":"","legend":"\u003cp\u003eThe plots are made across all participants in the intra-subject examination, specifically for pelvis tilt (a, b, c), pelvis obliquity (d, e, f), pelvis rotation (g, h, i), hip adduction/abduction (j, k, l), hip rotation (m, n, o), and ankle inversion/eversion (p, q, r) joint angles. (a), (d), (g), (j), (m), and (p) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates the SD) for joint angles, utilizing data from IMUs placed on the feet. These predictions are compared to the joint angles derived from the OpenSim IK tool (the solid blue line represents the average, and the blue shaded area indicates the SD). Figures (b), (e), (h), (k), (n), and (q) illustrate the correlation and R-squared (R²) values for the mentioned joint angle targets. In (c), (f), (i), (l), (o), and (r), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct color in these plots represents the results of one participant.\u003c/p\u003e","description":"","filename":"FigureA1.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/cf96c59f2f48aeeafc7ff8d8.jpg"},{"id":50330064,"identity":"96f24dea-5a77-4f30-b043-6e3af765338b","added_by":"auto","created_at":"2024-01-29 21:34:11","extension":"jpg","order_by":3,"title":"","display":"","copyAsset":false,"role":"supplement","size":1630121,"visible":true,"origin":"","legend":"\u003cp\u003eThe plots are made across all participants in the intra-subject examination, specifically for pelvis tilt (a, b, c), pelvis obliquity (d, e, f), pelvis rotation (g, h, i), hip adduction/abduction (j, k, l), hip rotation (m, n, o), and ankle inversion/eversion (p, q, r) joint moments. (a), (d), (g), (j), (m), and (p) present the RF model's average predictions (the dashed red line represents the average, and the red shaded area indicates the SD) for joint angles, utilizing data from IMUs placed on the feet. These predictions are compared to the joint angles derived from the OpenSim ID tool (the solid blue line represents the average, and the blue shaded area indicates the SD). Figures (b), (e), (h), (k), (n), and (q) illustrate the correlation and R-squared (R²) values for the mentioned joint angle targets. In (c), (f), (i), (l), (o), and (r), we utilized Bland-Altman plots to visually depict the errors throughout one gait cycle for all participants. In these plots, the dashed blue line represents the mean error, and the mean ± 2SD is depicted as dashed red and green lines. Each distinct color in these plots represents the results of one participant.\u003c/p\u003e","description":"","filename":"FigureA2.jpg","url":"https://assets-eu.researchsquare.com/files/rs-3898246/v1/f47ff79e4662ffe502d3e014.jpg"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e3D Gait Analysis in Children Using Wearable Sensors: Feasibility of Predicting Joint Kinematics and Kinetics with Personalized Machine Learning Models and Inertial Measurement Units\u003c/p\u003e","fulltext":[{"header":"1. Introduction","content":"\u003cp\u003eChildren's walking patterns are distinctive from adults and evolve with age (Senden et al., \u003cspan citationid=\"CR52\" class=\"CitationRef\"\u003e2023\u003c/span\u003e, Cigali et al., \u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e2011\u003c/span\u003e). At a small age, gait tends to be less repetitive and will differ from those of adults (Jain et al., \u003cspan citationid=\"CR28\" class=\"CitationRef\"\u003e2016\u003c/span\u003e, Ganley\u0026amp;Powers, \u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e2005\u003c/span\u003e), emphasizing the need to build normative data for a paediatric population (Ganley\u0026amp;Powers, \u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e2005\u003c/span\u003e). The differences in school-aged children's walking patterns are often attributed to their significant musculoskeletal changes (Bari et al., \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e2023\u003c/span\u003e), given that they are in a critical stage of growth and development (Onis et al., \u003cspan citationid=\"CR48\" class=\"CitationRef\"\u003e2007\u003c/span\u003e). A recent study (Bach et al., \u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e2021\u003c/span\u003e) suggested that the degree of gait maturity does not always directly relate to the chronological age of the child. This finding underscores the complexity of assessing gait development in children. Moreover, it's been shown that, compared to adults, young individuals exhibit more variable kinematic patterns when performing repetitive movements (Kuhtz-Buschbeck et al., \u003cspan citationid=\"CR34\" class=\"CitationRef\"\u003e1996\u003c/span\u003e). Additionally, the observed variability in Electromyography (EMG) waveform within-session for children exhibited approximately twice the variability of EMG signals (muscle activation level) for adults (Granata et al., \u003cspan citationid=\"CR23\" class=\"CitationRef\"\u003e2005\u003c/span\u003e), affecting their joint kinematics and kinetics within a single session.\u003c/p\u003e \u003cp\u003eThree-dimensional gait analysis (3DGA) is a valuable tool for understanding a child's gait pattern and how it compares with normative data of typically developed children's gait (Bari et al., \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e2023\u003c/span\u003e, Ito et al., \u003cspan citationid=\"CR27\" class=\"CitationRef\"\u003e2022\u003c/span\u003e). The insights gained from 3DGA in children affected by lower limb movement disorders serve as a foundation for clinical assessment to target personalized treatment and improve their walking patterns (Bari et al., \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e2023\u003c/span\u003e). Considering the unique challenges and broad spectrum of motor impairments in this population, addressing developmental challenges requires a tailored approach. The current gold standard for performing 3DGA involves Optical Motion Capture (OMC) along with force plates due to its high accuracy and robustness (Chester et al., \u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e2005\u003c/span\u003e). However, the high cost of OMC systems and the time-consuming data post-processing needed lead to long waitlists for patients and sometimes long-distance travel for families coming from rural areas (Aminian\u0026amp;Najafi, \u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2004\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eWearable sensors like Inertial Measurement Units (IMUs) are potential alternatives to the OMC system, enabling the potential to capture 3DGA in rural areas and natural environments (Gurchiek et al., \u003cspan citationid=\"CR24\" class=\"CitationRef\"\u003e2019\u003c/span\u003e). Unlike the OMC systems, IMUs are inexpensive, small, and lightweight and can be used outside the clinic by wearing them or attaching them to the children's limbs or pelvis (Aminian\u0026amp;Najafi, \u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2004\u003c/span\u003e). Although IMU sensors are very promising in motion analysis, challenges such as time-increasing drift errors, which result in less accurate estimations, still need to be overcome (Aminian\u0026amp;Najafi, \u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2004\u003c/span\u003e). Moreover, traditional approaches (e.g., sensor fusion algorithms (Sabatini, \u003cspan citationid=\"CR50\" class=\"CitationRef\"\u003e2006\u003c/span\u003e, Madgwick et al., \u003cspan citationid=\"CR40\" class=\"CitationRef\"\u003e2011\u003c/span\u003e)), as well as the tool package OpenSense (Al Borno et al., \u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e2022\u003c/span\u003e), require placing an IMU on each body segment for accurate kinematics calculations and functional calibration.\u003c/p\u003e \u003cp\u003eThe challenges associated with processing IMU data in adult populations have been addressed in previous studies (Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e, Dorschky et al., \u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Mundt et al., \u003cspan citationid=\"CR45\" class=\"CitationRef\"\u003e2021\u003c/span\u003e, Tan et al., \u003cspan citationid=\"CR60\" class=\"CitationRef\"\u003e2022\u003c/span\u003e, Findlow et al., \u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e2008\u003c/span\u003e, Sharifi Renani et al., \u003cspan citationid=\"CR53\" class=\"CitationRef\"\u003e2021\u003c/span\u003e, Lim et al., \u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Giarmatzis et al., \u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Luu et al., \u003cspan citationid=\"CR39\" class=\"CitationRef\"\u003e2014\u003c/span\u003e) by implementing Machine learning (ML) models. These ML models can establish a direct relationship between the IMUs' data and OMC derived gait time series (joint kinematics, joint kinetics, and muscle forces) (Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e). Prior research indicated the efficacy of this approach in adult populations, demonstrating highly accurate results with low errors during personalized model (tested on the same individual used for training). Additionally, reliable estimations were yielded using generalized models (tested on new participants not included in the training set), even in scenarios with limited dataset availability. Among various ML models developed for adults\u0026rsquo; population, artificial neural networks (ANN) have been widely utilized for predicting gait time series. However, there is a limited body of literature exploring alternative data-driven models that may demand smaller datasets while achieving comparable results to ANNs. Building on this context, in a prior study, we demonstrated that Random Forest (RF) models can yield results comparable to more intricate machine learning models such as Convolutional Neural Networks (CNNs) for 3D Gait Analysis (3DGA) in adults (Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e). Given the greater heterogeneity in children's gait, it will be interesting to explore whether RF or CNNs can be applied to a paediatric population with similar performances.\u003c/p\u003e \u003cp\u003eThe primary focus of existing ML models for 3DGA in children lies in gait classification (Khaksar et al., \u003cspan citationid=\"CR30\" class=\"CitationRef\"\u003e2021\u003c/span\u003e, Zhang\u0026amp;Ma, \u003cspan citationid=\"CR64\" class=\"CitationRef\"\u003e2019\u003c/span\u003e, Zhang et al., \u003cspan citationid=\"CR63\" class=\"CitationRef\"\u003e2009\u003c/span\u003e, Kamruzzaman\u0026amp;Begg, \u003cspan citationid=\"CR29\" class=\"CitationRef\"\u003e2006\u003c/span\u003e, Choisne et al., \u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e2020\u003c/span\u003e) rather than the development of models for predicting gait time series. There are only a handful of studies focused on predicting children\u0026rsquo;s gait using ML techniques (Kolaghassi et al., \u003cspan citationid=\"CR33\" class=\"CitationRef\"\u003e2023\u003c/span\u003e, Morbidoni et al., \u003cspan citationid=\"CR44\" class=\"CitationRef\"\u003e2021\u003c/span\u003e, Kolaghassi et al., \u003cspan citationid=\"CR32\" class=\"CitationRef\"\u003e2022\u003c/span\u003e, Kwon et al., \u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e2012\u003c/span\u003e, Vigneron et al., \u003cspan citationid=\"CR61\" class=\"CitationRef\"\u003e2017\u003c/span\u003e). A research group used EMG sensors\u0026rsquo; signals to predict children with cerebral palsy (CP) knee moment and achieved high correlation coefficients between 0.71 and 0.93 for different participants (Kwon et al., \u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e2012\u003c/span\u003e). Another study proved the feasibility of using neural networks in predicting gait events from surface EMG signals in hemiplegic cerebral palsy (Morbidoni et al., \u003cspan citationid=\"CR44\" class=\"CitationRef\"\u003e2021\u003c/span\u003e). Other studies have employed ML techniques to estimate one-step-ahead gait trajectories to control lower-limb robotic devices in children with CP (Kolaghassi et al., \u003cspan citationid=\"CR33\" class=\"CitationRef\"\u003e2023\u003c/span\u003e, Kolaghassi et al., \u003cspan citationid=\"CR32\" class=\"CitationRef\"\u003e2022\u003c/span\u003e). However, none of the mentioned studies utilized IMUs\u0026rsquo; data to develop the ML model. Given the effective performance of a combination of IMU and ML models in adults, exploring its applicability in a heterogenous paediatric population would be an interesting avenue for investigation.\u003c/p\u003e \u003cp\u003eIt is noteworthy that previous studies have indicated the feasibility of predicting diverse gait time series in adults using a single IMU on the pelvis (Lim et al., \u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e2020\u003c/span\u003e) or a pair of IMUs on the shanks (Sharifi Renani et al., \u003cspan citationid=\"CR54\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Yeung et al., \u003cspan citationid=\"CR62\" class=\"CitationRef\"\u003e2023\u003c/span\u003e) or the feet (Gholami et al., \u003cspan citationid=\"CR21\" class=\"CitationRef\"\u003e2020\u003c/span\u003e). However, given the unique challenges posed by children's gait, it remains crucial to extend this inquiry for children gait analysis by exploring the applicability of using a reduced number of IMUs. A high number of IMU sensors on the body could be impractical in real-world gait analysis, particularly for at-home applications, as it requires high computational power to monitor numerous IMUs (Sivakumar et al., \u003cspan citationid=\"CR55\" class=\"CitationRef\"\u003e2019\u003c/span\u003e). Therefore, another aspect requiring investigation is to quantify the optimal number of IMUs needed for accurately estimating gait time series in children.\u003c/p\u003e \u003cp\u003eTherefore, this study aimed to assess the feasibility of leveraging data from IMUs to construct ML models for predicting gait time series in school-aged children. This goal was pursued through three key objectives. Firstly, we sought to explore whether personalized and generalized ML models for predicting gait time series in children could demonstrate comparable efficacy to their adult counterparts. Secondly, an evaluation was conducted to compare the accuracy of two distinct ML models \u0026ndash; the multi-output RF and CNN models \u0026ndash; for predicting gait time series in children. The final objective centred on exploring the potential of placing a singular IMU on each foot, as opposed to employing seven IMUs distributed across all lower limb segments.\u003c/p\u003e"},{"header":"2. Materials and Methods","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e \u003ch2\u003e2.1. Participants\u003c/h2\u003e \u003cp\u003eSeventeen typically developed (TD) children (9 F, 8 M; age\u0026thinsp;=\u0026thinsp;10.5\u0026thinsp;\u0026plusmn;\u0026thinsp;2.8\u0026nbsp;year. [6:15]; height\u0026thinsp;=\u0026thinsp;147.2\u0026thinsp;\u0026plusmn;\u0026thinsp;16.9 cm [119:174]; weight\u0026thinsp;=\u0026thinsp;37.1\u0026thinsp;\u0026plusmn;\u0026thinsp;11.7 kg [19.7:56.9]) were recruited for this study. Each child\u0026rsquo;s legal guardian provided informed consent prior to data collection. The research strictly adhered to ethical principles outlined in the Helsinki Declaration and received approval from the University of Auckland (New Zealand) human participant ethics committee (reference number 021615).\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec4\" class=\"Section2\"\u003e \u003ch2\u003e2.2. Data Collection\u003c/h2\u003e \u003cp\u003eOMC, force plates, and IMUs data were recorded while each participant completed one static and a minimum of 15 over-ground walking (over 20 meters) trials at their self-selected speed. For the initial five participants, we affixed 37 reflective markers (as indicated by numbers 1 to 37 in Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e) on their body segments. Subsequently, a paper by Bakke et al. (Bakke\u0026amp;Besier, \u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e2022\u003c/span\u003e) from our lab suggested a streamlined marker set, removing markers 6, 7, 8, 9, 10, 11, 18, 21, 32, and 33, which demonstrated equivalent accuracy in kinematics calculation. For the remaining participants, we adopted this refined marker set with 27 markers. Marker trajectories were traced by a 14-camera optical motion capture system (Vicon Motion Systems Ltd., UK) at a sampling frequency of 100 Hz for all trials. In addition, seven IMU sensors (Blue Trident, Vicon IMeasureU Ltd. (NZ)) were secured on the participants' pelvis (between left and right posterior superior iliac spine markers), thighs (1 cm above the lateral aspect of the patella), shanks (1 cm above the lateral aspect of the ankle), and feet (on the dorsal surface) (Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e) and recorded three axes of angular velocity and linear acceleration at 2 kHz. Ground reaction forces (GRFs) were acquired at 2 kHz from three force plates (Bertec, Columbus, Ohio) embedded in the gait lab floor. The Vicon Nexus software (version 2.12) was used to collect and synchronize marker trajectory, GRF and IMUs data and subsequently to reconstruct markers' trajectories.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec5\" class=\"Section2\"\u003e \u003ch2\u003e2.3. Data processing\u003c/h2\u003e \u003cp\u003eAfter data extraction from Nexus (C3D files), MOtoNMS (Matlab Motion data elaboration toolbox for neuromusculoskeletal applications) (Mantoan et al., \u003cspan citationid=\"CR41\" class=\"CitationRef\"\u003e2015\u003c/span\u003e) was used to 1) filter (Butterworth 4th order, 8 Hz low pass filter) marker trajectories and GRF, 2) rotate and align the lab coordinate system to the OpenSim coordinate system in which X, Y, and Z are perpendicular to the frontal, transverse, and sagittal planes, respectively and 3) determine the hip joint centre (HJC) locations using the Harrington regression equations in static trials for scaling in OpenSim (Harrington et al., \u003cspan citationid=\"CR25\" class=\"CitationRef\"\u003e2007\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eA musculoskeletal model was created for each participant by linearly scaling a generic adult model (OpenSim 2392 (Delp et al., \u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e2007\u003c/span\u003e)). The scaling tool in OpenSim (version 3.3) aligns virtual markers on the generic model with those placed on specific anatomical landmarks of the participant's body during the static trial. The HJCs calculated by MOtoNMS were used to scale the femur. The kinematics and kinetics of the lower limb joints, including the pelvis (3 DOF), hip (3 DOF), knee (1DOF in the sagittal plane), and ankle (2DOF; sagittal and frontal planes), were calculated for all participants using the inverse kinematics (IK) and inverse dynamics (ID) tools in OpenSim. To estimate joint kinematics and kinetics, we picked two gait cycles from each trial, resulting in a minimum of 30 gait cycles for each participant. The IK tool employs an optimization technique to ensure precise alignment between the virtual markers on the scaled model and the corresponding experimental markers in a least-squares sense (Lu\u0026amp;O\u0026rsquo;connor, \u003cspan citationid=\"CR38\" class=\"CitationRef\"\u003e1999\u003c/span\u003e, Knudson, \u003cspan citationid=\"CR31\" class=\"CitationRef\"\u003e2007\u003c/span\u003e). For joint kinetics prediction, we focused on the gait cycles occurring on the force plates to allow for joint forces and moments calculation through the ID tool, which solves the equations of motion (Davis III et al., 1991). We excluded trials where the participant's feet were not entirely within the force plates. Therefore, a variable number of kinetics gait cycles remained for each participant, ranging from a minimum of 8 to a maximum of 18.\u003c/p\u003e \u003cp\u003eThis process resulted in a dataset encompassing measurements for 15 joints kinematics and 15 joints kinetics targets, including pelvis tilt, pelvis rotation, pelvis obliquity, hip rotation, hip flexion, hip abduction/adduction, knee flexion/extension, ankle dorsi/plantar flexion, and ankle inversion/eversion joints angles and moments for both legs. Finally, the IMU data were down sampled to 100 Hz to align the data's frequency with the joint kinematics and kinetics frequency. This also reduces the computational load for feature extraction and machine learning (ML) model construction.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec6\" class=\"Section2\"\u003e \u003ch2\u003e2.4. Joint kinematics and kinetics prediction using ML models\u003c/h2\u003e \u003cp\u003eAfter processing data for the 17 participants, a total of 73,364 time points for joint kinematics and 21855 time/data points for joint kinetics were used for the development of ML models. The outlined procedures (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e), including windowing IMU data, feature extraction, feature selection, model development, and model evaluation, were executed as detailed in the subsequent sections.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cdiv id=\"Sec7\" class=\"Section3\"\u003e \u003ch2\u003e2.4.1. Training and testing sets\u003c/h2\u003e \u003cp\u003eWe implemented two distinct data splitting methods to facilitate two types of examinations (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 1); the first looked at the intra-subject examination accuracy, and the second looked at the inter-subject prediction accuracy.\u003c/p\u003e \u003cp\u003e \u003cstrong\u003eIntra-subject examination\u003c/strong\u003e \u003cp\u003eIn this approach, the training dataset consisted of 70% of a participant's gait cycles, and the remaining 30% of gait cycles were allocated for the testing dataset. A total of 17 training and testing datasets were created to cover all participants and perform the intra-subject examination.\u003c/p\u003e \u003c/p\u003e \u003cp\u003e \u003cstrong\u003eInter-subject examination\u003c/strong\u003e \u003cp\u003eTo create training and testing datasets for this examination, we employed a leave-one-out approach for our cohort of 17 participants. The dataset was partitioned to assess the model's generalization across diverse individuals. During each iteration, one participant's gait cycles were set aside for testing, while the gait cycles from the remaining 16 participants constituted the training dataset. This process was repeated 17 times, each time excluding a different participant from the training set.\u003c/p\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec8\" class=\"Section3\"\u003e \u003ch2\u003e2.4.2. IMU sensors data windowing and feature extraction\u003c/h2\u003e \u003cp\u003eIn our pursuit of enhancing the accuracy of the learned models and emphasizing the main characteristics of the input data (Laird\u0026amp;Saul, \u003cspan citationid=\"CR36\" class=\"CitationRef\"\u003e1994\u003c/span\u003e), we adopted a feature engineering technique. From each IMU, we took six time series, encompassing triaxial angular velocity and linear acceleration, to extract features. Consequently, we had a total of 42 data vectors from seven IMUs. We organized the input time series data into sequences of consecutive, sliding, and overlapping windows. We selected a window size of 0.75 seconds, as shown to be the most accurate in predicting gait time series (Moghadam et al., \u003cspan citationid=\"CR43\" class=\"CitationRef\"\u003e2023b\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eNext, we employed the Tsfresh (Christ et al., \u003cspan citationid=\"CR12\" class=\"CitationRef\"\u003e2018\u003c/span\u003e) (Time Series FeatuRe Extraction on the basis of Scalable Hypothesis tests) python package to perform feature extraction on the windowed input data (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 2). This process yielded a feature vector \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({\\overrightarrow{x}}_{i} = \\left( {f}_{1}\\right({x}_{1}), {f}_{2}({x}_{2}), . . . , {f}_{m}({x}_{i}\\left)\\right)\\)\u003c/span\u003e\u003c/span\u003e for each vector of input data\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\({(x}_{i})\\)\u003c/span\u003e\u003c/span\u003e. Tsfresh extracted 788 distinct features from each channel of IMU data, resulting in a substantial total of 33,096 features derived from the 42 channels of input data.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec9\" class=\"Section3\"\u003e \u003ch2\u003e2.4.3. Feature selection\u003c/h2\u003e \u003cp\u003eThe presence of irrelevant and noisy features may considerably reduce the performance of the ML model. The process of removing irrelevant features and selecting the most relevant features is called feature selection (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 3). We eliminated all zero-variance features to initiate the process of determining the most important features. Then, the Tsfresh feature selector's built-in function was utilized to remove any non-significant feature, using the Benjamini Hochberg method (Benjamini\u0026amp;Hochberg, \u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e1995\u003c/span\u003e). In the next step, the remaining features were ranked based on their Gini Importance in predicting each target using a Random Forest (RF) regressor (Hasan et al., \u003cspan citationid=\"CR26\" class=\"CitationRef\"\u003e2016\u003c/span\u003e). Then, the top ten features associated with each target were selected. Our previous findings demonstrated that this selection of 10 features per target yields precise estimations in multi-output models (Moghadam et al., \u003cspan citationid=\"CR43\" class=\"CitationRef\"\u003e2023b\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eFinally, two comprehensive feature sets were constructed, each including 150 features. The first merged all the top features related to kinematics targets, forming the basis for a multioutput ML model dedicated to kinematics prediction. The second feature set put all the top features associated with kinetics targets together to develop a multioutput ML model tailored for kinetics prediction. We retained only the features present in the super feature set from all the extracted features for the training dataset (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 4).\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec10\" class=\"Section3\"\u003e \u003ch2\u003e2.4.4. Non-linear regression ML models\u003c/h2\u003e \u003cp\u003eWe developed RF and CNN models to assess their accuracy in predicting lower limb joint kinematics and kinetics during gait (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 5). The hyperparameters for both RF and CNN models were chosen based on previously optimized models (Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e). We employed an RF model comprising 500 trees, each with a maximum depth of 25.\u003c/p\u003e \u003cp\u003eFor the CNN model, we used a multi-output architecture with five hidden layers. The selected features were scaled using the Standard Scaler function from the Sklearn library to ensure all variables fell within the same range (between zero and one). Targets were also scaled, and post-prediction, they were rescaled to their original values using the same scaler. The model's architecture featured an input layer with a size of 150, followed by two convolutional layers, each followed by a max-pooling layer. Both convolutional layers comprised 256 filters with a kernel size of three and employed a \"relu\" activation function. The max-pooling layers had a pool size of two. Subsequently, the data was flattened and passed through a dense output layer with a linear activation function. The number of units in the output layer corresponded to the number of targets (15 for both CNN models utilized for kinematics and kinetics prediction). The 'Adam' solver with a learning rate of 0.01 was used for weight optimization, employing the mean squared error as the loss function. An early stopping mechanism monitored validation loss and halted training if no improvement was observed after five epochs. The batch size was set to 32, and the model was trained for a maximum of 100 epochs to achieve robust results.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec11\" class=\"Section3\"\u003e \u003ch2\u003e2.4.5. Models' evaluation\u003c/h2\u003e \u003cp\u003eTo evaluate the performance of the CNN and RF models, we began by extracting the super feature set from the windowed test dataset (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 6). Subsequently, the trained ML models were employed to predict targets, joint kinematics, and kinetics using the extracted features from test datasets (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e, Step 7). Then, we computed the root mean square error (RMSE) and Normalized RMSE (NRMSE) between the OpenSim outputs and the predicted values generated by each ML model for all targets. The reported RMSEs and NRMSEs for intra-subject and inter-subject examination are average of personalized and generalized models, respectively. After determining the optimal ML model and IMU sensor configuration, we conducted additional analysis by 1) plotting average waveforms from both OpenSim and ML models\u0026rsquo; outputs, 2) calculating R\u003csup\u003e2\u003c/sup\u003e values and creating correlation plots, and 3) generating Bland-Altman (Bland\u0026amp;Altman, \u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e1986\u003c/span\u003e) plots to evaluate agreement between OpenSim outputs and predicted values for the selected model.\u003c/p\u003e \u003c/div\u003e \u003c/div\u003e \u003cdiv id=\"Sec12\" class=\"Section2\"\u003e \u003ch2\u003e2.5. The effect of reducing IMU sensors to feet IMUs\u003c/h2\u003e \u003cp\u003eIn a prior study (Moghadam et al., \u003cspan citationid=\"CR43\" class=\"CitationRef\"\u003e2023b\u003c/span\u003e), we demonstrated the feasibility of accurately estimating gait time series using machine learning models with just two IMUs positioned on the feet. To explore the applicability of this approach to children's data, we replicated the steps described in Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e using two IMUs placed on the feet instead of the full set of 7 IMUs.\u003c/p\u003e \u003c/div\u003e"},{"header":"3. Results","content":"\u003cdiv id=\"Sec14\" class=\"Section2\"\u003e \u003ch2\u003e3.1. Joint kinematics prediction\u003c/h2\u003e \u003cp\u003eThe distribution of predicted joint kinematics RMSE revealed similar predictive accuracy between the RF and CNN models, whether we're looking at the personalized models (intra-subject) or generalized models (inter-subject) (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e). The RF model exhibited, on average, lower prediction errors of 0.22\u0026deg; in intra-subject examinations and 0.20\u0026deg; in inter-subject examinations when compared to the CNN model across all joints and planes of motion.\u003c/p\u003e \u003cp\u003eFor the personalized models, reducing the number of IMUs to only one on each foot didn't alter the prediction of joints kinematics compared to using all seven IMUs (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e(a)). Interestingly, in the inter-subject examination, pelvis rotation, hip rotation, and ankle inversion/eversion angles experienced a decrease in their prediction errors by using only two IMUs; however, it increased the RMSE in the inter-subject evaluation for pelvis tilt and hip flexion/extension (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e(b)).\u003c/p\u003e \u003cp\u003eIndependently of the model and the number of IMUs used, the average RMSE across all joints and planes of motion indicated considerably lower values in the intra-subject examinations compared to the inter-subject examinations. In the inter-subject evaluation, the RMSE spanned from a minimum of 1.0\u0026deg; (Pelvis tilt) to a maximum of 6.7\u0026deg; (ankle inversion/eversion). However, for the inter-subject evaluation, the range of RMSE increased, covering values from 2.1\u0026deg; (hip adduction/abduction) to 17.5\u0026deg; (ankle inversion/eversion).\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eIn our analysis, we found that overall, the RF model gave slightly better results, and the number of IMUs used (two vs seven) did not have an impact on the results. Therefore, we concentrated on the results provided by the RF model with two IMUs for the subsequent analysis. After normalizing the RMSE values to the data range, we observed that the lowest normalized RMSE (NRMSE) was associated with knee flexion/extension angle, and the highest NRMSE value was related to the pelvis tilt angle (Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e). In the hip and ankle joint angles prediction, the lowest error appeared in the sagittal plane; however, in the case of the pelvis, the highest error was associated with the sagittal plane. This finding held true for both intra and inter-subject examinations. Notably, the NRMSE values for all joints and planes of motion in the inter-subject results were nearly twice as high as those observed in the intra-subject examination. Specifically, the average RMSE across all targets increased from 9.5\u0026ndash;19.9% (Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e). When comparing the average NRMSE for children below ten years with children older than ten years, a clear trend emerges. On average, the NRMSE is lower (1.7% in intra-subject and 0.3% in inter-subject examinations) in the older age group when predicting joint kinematics (refer to Appendix Table A1).\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 1\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eThe Normalised RMSE (NMRSE) along with their corresponding standard deviation (SD) values for joint angle prediction across all joints and planes of motion in intra and inter-subject examinations, based on RF models' output using two IMUs.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"3\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/th\u003e \u003cth align=\"left\" colspan=\"2\" nameend=\"c3\" namest=\"c2\"\u003e \u003cp\u003eNRMSE (%)\u0026thinsp;\u0026plusmn;\u0026thinsp;SD\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cb\u003eJoint kinematics target\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u003cb\u003eIntra-subject examination\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e\u003cb\u003eInter-subject examination\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis tilt\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e14.1\u0026thinsp;\u0026plusmn;\u0026thinsp;5.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e33.1\u0026thinsp;\u0026plusmn;\u0026thinsp;20.4\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis obliquity\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e9.6\u0026thinsp;\u0026plusmn;\u0026thinsp;2.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e19.7\u0026thinsp;\u0026plusmn;\u0026thinsp;9.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis rotation\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e13.8\u0026thinsp;\u0026plusmn;\u0026thinsp;2.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e23.0\u0026thinsp;\u0026plusmn;\u0026thinsp;13.1\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip flexion/extension\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e6.1\u0026thinsp;\u0026plusmn;\u0026thinsp;1.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e17.7\u0026thinsp;\u0026plusmn;\u0026thinsp;8.4\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip adduction/abduction\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e8.1\u0026thinsp;\u0026plusmn;\u0026thinsp;1.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e18.4\u0026thinsp;\u0026plusmn;\u0026thinsp;6.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip rotation\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e11.9\u0026thinsp;\u0026plusmn;\u0026thinsp;2.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e21.2\u0026thinsp;\u0026plusmn;\u0026thinsp;7.1\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eKnee flexion/extension\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e5.2\u0026thinsp;\u0026plusmn;\u0026thinsp;1.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e9.6\u0026thinsp;\u0026plusmn;\u0026thinsp;6.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAnkle dorsi/plantar flexion\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e6.7\u0026thinsp;\u0026plusmn;\u0026thinsp;1.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e15.3\u0026thinsp;\u0026plusmn;\u0026thinsp;5.7\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAnkle inversion/eversion\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e10.1\u0026thinsp;\u0026plusmn;\u0026thinsp;2.2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e21.4\u0026thinsp;\u0026plusmn;\u0026thinsp;5.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAverage\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e9.5\u0026thinsp;\u0026plusmn;\u0026thinsp;3.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e19.9\u0026thinsp;\u0026plusmn;\u0026thinsp;6.4\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003eTo understand if the prediction accuracy is consistent across the gait cycle for the intra-subject examination, we performed further analysis for the RF model outputs encompassing: 1) Average range of Motion (ROM) comparison between the OpenSim IK tool and the RF model's output. 2) Correlation plot and R-squared (R\u0026sup2;) Assessment, and 3) Bland-Altman Analysis to provide insights into the agreements between predicted and measured variables.\u003c/p\u003e \u003cp\u003eHip, knee, and ankle joint angles in the sagittal plane are presented in Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e. Additional results for other targets, including pelvis angles in all planes of motion, hip joint angles in the frontal and transverse planes, and ankle joint angles in the frontal plane, are detailed in Appendix Figure A1.\u003c/p\u003e \u003cp\u003ePlotting an average ROM (standard deviation (\u0026plusmn;\u0026thinsp;SD)) across all participants revealed that the predicted waveforms closely followed the measured waveforms obtained from the OpenSim IK tool. The SD area of the predicted values fell within the shaded area representing the measured values, indicating a close fit between the predicted and measured data in the intra-subject examination (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e (a), (d), and (g) and Figure A1 (a), (d), (g), (j), (m), and (p)).\u003c/p\u003e \u003cp\u003eFurthermore, there was a strong correlation between the OpenSim IK outputs and predicted joint angles, with R\u0026sup2; values exceeding 0.83 for pelvis angles in all planes of motion (Figure A1 (b), (e) and (h)), 0.76 for hip angles (Figure A1 (k) and (n) and Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e (b)), 0.97 for knee angle (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e (e)), and 0.77 for ankle joint angles (Figure A1 (q) and Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e (h)). The high performance of the RF model in the sagittal plane was observed at the hip, knee, and ankle.\u003c/p\u003e \u003cp\u003eStrong agreement between the measured and predicted values was evident in the Bland-Altman plots, with the error falling within the range of two standard deviations from the mean value for most participants. No specific pattern in the error values was seen based on these plots; however, the bias between predicted and measured kinematics was around zero for all targets (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e (c), (f), and (i) and Figure A1 (c), (f), (i), (l), (o), and (r)).\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec15\" class=\"Section2\"\u003e \u003ch2\u003e3.2. Joint kinetics prediction\u003c/h2\u003e \u003cp\u003eWhen predicting joint kinetics, the RF model demonstrated slightly superior performance when compared to the CNN model (Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e). The RF model yielded lower prediction error values than the CNN model across all joints and planes of motion, with a reduction of 0.017 Nm/kg RMSE in intra-subject examinations and 0.037 Nm/kg RMSE in inter-subject examinations. The better performance of the RF model was more pronounced in the inter-subject examination (Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e (b)).\u003c/p\u003e \u003cp\u003eIn terms of the number of IMU sensors used for joint kinetics prediction, we found nearly identical results when employing only the feet IMUs as compared to using all 7 IMUs. However, in specific kinetics targets, such as pelvis tilt and hip flexion/extension in the intra-subject examination and pelvis obliquity, hip adduction/abduction, and hip rotation in the inter-subject examination, even lower prediction errors were achieved by utilizing just two IMUs placed on the feet. It's important to highlight that irrespective of the model type and the number of IMUs employed for prediction, the RMSE values in the inter-subject examination were consistently higher than the RMSE in the intra-subject examination.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eAs for the kinematics, we concentrated on the results provided by the RF model with two IMUs for further analysis. After calculating the NRMSE between outputs of the RF model and the OpenSim ID tool, we observed that the highest NRMSE values were associated with the pelvis tilt in the intra-subject examination (similar to the kinematics analysis) and hip flexion/extension in the inter-subject examination. Conversely, ankle dorsi/plantar flexion exhibited the lowest NRMSE for intra-subject examination, while knee flexion/extension displayed the lowest NRMSE for inter-subject examination.\u003c/p\u003e \u003cp\u003eJust like with joint kinematics, the NRMSE values for all joints and planes of motion in the inter-subject results were higher than the intra-subject examination. Specifically, the average RMSE across all targets increased from 10.7\u0026ndash;15.2% (Table\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e). Similar to the prediction of joint kinematics, a consistent trend was noted in the prediction of joint kinetics (refer to Appendix Table A2). Notably, the NRMSE was lower by 1% in intra-subject and 4.3% in inter-subject examinations, for older children (above ten years old) as opposed to their younger counterparts (below ten years old).\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab2\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 2\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003ethe NRMSE values along with their corresponding SD for joint moment prediction across all joints and planes of motion in intra and inter-subject examinations, based on RF models' output using feet IMUs.\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"3\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/th\u003e \u003cth align=\"left\" colspan=\"2\" nameend=\"c3\" namest=\"c2\"\u003e \u003cp\u003eNRMSE (%)\u0026thinsp;\u0026plusmn;\u0026thinsp;SD\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cb\u003eJoint kinetics target\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e\u003cb\u003eIntra-subject examination\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e\u003cb\u003eInter-subject examination\u003c/b\u003e\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis tilt\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e13.7\u0026thinsp;\u0026plusmn;\u0026thinsp;1.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e13.9\u0026thinsp;\u0026plusmn;\u0026thinsp;3.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis obliquity\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e13.2\u0026thinsp;\u0026plusmn;\u0026thinsp;2.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e16.8\u0026thinsp;\u0026plusmn;\u0026thinsp;5.2\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePelvis rotation\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e12.8\u0026thinsp;\u0026plusmn;\u0026thinsp;3.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e13.4\u0026thinsp;\u0026plusmn;\u0026thinsp;3.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip flexion/extension\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e11.8\u0026thinsp;\u0026plusmn;\u0026thinsp;2.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e26.4\u0026thinsp;\u0026plusmn;\u0026thinsp;14.5\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip adduction/abduction\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e8.5\u0026thinsp;\u0026plusmn;\u0026thinsp;2.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e15.1\u0026thinsp;\u0026plusmn;\u0026thinsp;8.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHip rotation\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e9.6\u0026thinsp;\u0026plusmn;\u0026thinsp;2.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e10.9\u0026thinsp;\u0026plusmn;\u0026thinsp;3.3\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eKnee flexion/extension\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e8.5\u0026thinsp;\u0026plusmn;\u0026thinsp;1.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e10.3\u0026thinsp;\u0026plusmn;\u0026thinsp;2.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAnkle dorsi/plantar flexion\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e6.4\u0026thinsp;\u0026plusmn;\u0026thinsp;1.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e11.7\u0026thinsp;\u0026plusmn;\u0026thinsp;9.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAnkle inversion/eversion\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e12.5\u0026thinsp;\u0026plusmn;\u0026thinsp;2.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e18.5\u0026thinsp;\u0026plusmn;\u0026thinsp;7.3\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eAverage\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003e10.7\u0026thinsp;\u0026plusmn;\u0026thinsp;2.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e15.2\u0026thinsp;\u0026plusmn;\u0026thinsp;4.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003eTo understand if the prediction accuracy is consistent across the gait cycle for the intra-subject examination, we performed further analysis for the RF model outputs encompassing: 1) Average normalised moment comparison between the OpenSim IK tool and the RF model's output. 2) Correlation plot and R-squared (R\u0026sup2;) Assessment, and 3) Bland-Altman Analysis to provide insights into the agreements between predicted and measured variables.\u003c/p\u003e \u003cp\u003eThe results for the hip, knee, and ankle joint moments in the sagittal plane are shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e. Additional results for other targets, including pelvis moments in all planes of motion, hip joint moments in the frontal and transverse planes, and ankle joint moment in the frontal plane, are detailed in Appendix Figure A2.\u003c/p\u003e \u003cp\u003ePlotting the average and standard deviation waveforms for joint moments throughout a gait cycle in intra-subject examination, we observed that the RF model's predictions effectively tracked the OpenSim ID tool output. However, the SD area of the predicted values did not consistently fall within the shaded area related to the measured values across the entire gait cycle ((Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e (a), (d), and (g)) and Figure A2 (a), (d), (g), (j), (m), and (p)). Especially toward the end of the stance phase (50\u0026ndash;60% of the gait cycle), the model predicted a lower range of motion in the three joints in the sagittal plane. Also, at the beginning of the stance phase, we can observe some discrepancy in knee flexion and hip extension moment predictions.\u003c/p\u003e \u003cp\u003eCompared to joint angles, the correlation between the measured and predicted joint moments was lower for the pelvis, with R\u003csup\u003e2\u003c/sup\u003e values of 0.43, 0.31, and 0.41 for pelvis tilt, obliquity, and rotation, respectively (Figure A2 (b), (e), and (h)). The R\u003csup\u003e2\u003c/sup\u003e values for other joint kinetics were consistent with the performance seen in joint kinematics prediction. Specifically, the hip joint experienced R\u003csup\u003e2\u003c/sup\u003e higher than 0.73 in all planes of motion (Figure A2 (k), (n), and Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e (b)), the R\u003csup\u003e2\u003c/sup\u003e for the knee joint was 0.80 in the sagittal plane (Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e (e)), and the ankle displayed R\u003csup\u003e2\u003c/sup\u003e values higher than 0.83 in both the frontal (Figure A2 (q)) and sagittal planes (Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e (h)).\u003c/p\u003e \u003cp\u003eAccording to Bland-Altman plots, there was a good agreement between the measured and predicted targets, as the errors were within a range of two SD of the mean value for most participants. Similar to joint kinematics prediction, the bias between measured and predicted variables was around zero for all kinetics targets. An interesting observation was that during the final phase of the gait cycle (swing phase), errors were almost zero for most joint kinetics (Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e (c), (f), and (i) and Figure A1 (c), (f), (i), (l), (o), and (r)).\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e"},{"header":"4. Discussion","content":"\u003cp\u003eThe aim of this study was to investigate the feasibility of using a combination of IMUs\u0026rsquo; data and ML models for predicting joint kinematics and kinetics in school-aged children. To answer this aim, the first objective was to assess the accuracy of RF and CNN ML models by quantifying both intra-subject and inter-subject prediction errors. The second objective was to evaluate the influence of using only an IMU on each foot versus seven IMUs, one on each segment of the lower limb, on kinematics and kinetics prediction performance. We employed a feature engineering technique to extract and select the most important features from the IMUs' acceleration and angular velocity data to enhance the models' performance.\u003c/p\u003e \u003cdiv id=\"Sec17\" class=\"Section2\"\u003e \u003ch2\u003e4.1. ML comparison\u003c/h2\u003e \u003cp\u003eRegarding the first objective, findings suggested that the RF and CNN models demonstrated comparable performance for predicting joint kinematics (9.5% versus 10.6% for personalized and 19.9% versus 22.5% for generalized models respectively) and kinetics (10.7% versus 12.9% for personalized and 15.2% versus 17.9% for generalized models respectively) in TD children. This implies that the complexity of deep neural network structures may not be necessary for gait time series prediction. Consequently, it opens the door to more efficient and easily interpretable modelling approaches, such as the RF model (Breiman, \u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e2001\u003c/span\u003e). Supporting this notion, a separate study found RF models to outperform CNN models in estimating step length, showing an absolute error of 5.09 cm for RF compared to 5.26 cm for CNN (Seifer et al., \u003cspan citationid=\"CR51\" class=\"CitationRef\"\u003e2023\u003c/span\u003e). Furthermore, the superiority of RF models, with an average error of 5.57\u0026deg;, becomes evident in gait trajectory generation, surpassing the neural network model with an average error of 6.00\u0026deg; in another study (Ren et al., \u003cspan citationid=\"CR49\" class=\"CitationRef\"\u003e2019\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eThe higher performance of RF models could be attributed to their resilience against overfitting. This resilience arises from their capacity to amalgamate multiple decision trees trained on bootstrapped data, coupled with the utilization of feature randomization, pruning, and averaging (Breiman, \u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e2001\u003c/span\u003e). On the other hand, CNNs exhibit a notable susceptibility to overfitting, particularly when dealing with smaller datasets (Slijepcevic et al., \u003cspan citationid=\"CR57\" class=\"CitationRef\"\u003e2023\u003c/span\u003e).\u003c/p\u003e \u003cdiv id=\"Sec18\" class=\"Section3\"\u003e \u003ch2\u003e4.1.1. Intra-subject examination\u003c/h2\u003e \u003cp\u003eWe created 17 personalized models for predicting kinematics and kinetics based on customized feature sets specific to each participant. Our results from the RF model using two IMUs data demonstrated strong predictive accuracy, with an average RMSE ranging from 1.61\u0026deg; to 4.16\u0026deg; (NRMSE of 5.2\u0026ndash;14.1%) across all joint kinematics. The RMSE values for joint kinematics stayed well below the 5\u0026deg; error threshold, which is often considered a clinically acceptable level of deviation for assessing joint movements (Slater et al., \u003cspan citationid=\"CR56\" class=\"CitationRef\"\u003e2018\u003c/span\u003e). However, the joint kinematics exhibited a slight increase compared to personalized models developed for adults in other studies, where observed values ranged from 1.38\u0026deg; to 3.96\u0026deg; for all targets (Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e, Yeung et al., \u003cspan citationid=\"CR62\" class=\"CitationRef\"\u003e2023\u003c/span\u003e, Findlow et al., \u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e2008\u003c/span\u003e, Giarmatzis et al., \u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e2020\u003c/span\u003e). Similarly, we found higher RMSE in joint kinetics prediction (0.038 to 0.233 Nm/kg) in comparison to studies focusing on adults, where the RMSE ranged from 0.042 to 0.198 Nm/kg (Mundt et al., \u003cspan citationid=\"CR46\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Dey et al., \u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e2019\u003c/span\u003e, Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e). This elevated error in both kinematics and kinetics prediction in the intra-subject evaluation of children compared to the adult models underscores the greater variability in gait time series within individual children across different trials. Different gait maturity level (Bach et al., \u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e2021\u003c/span\u003e) as well as heightened variability in gait patterns (Kuhtz-Buschbeck et al., \u003cspan citationid=\"CR34\" class=\"CitationRef\"\u003e1996\u003c/span\u003e) and EMG gait waveforms (Granata et al., \u003cspan citationid=\"CR23\" class=\"CitationRef\"\u003e2005\u003c/span\u003e) in children compared to adults has been shown in other studies. This discrepancy may be attributed to the increased susceptibility of children to distractions during walking (Stolze et al., \u003cspan citationid=\"CR59\" class=\"CitationRef\"\u003e1998\u003c/span\u003e) or to the heterogeneity in children's gait cycles compared to adults.\u003c/p\u003e \u003cp\u003eDespite the higher errors in the children's personalized ML model compared to adults, the Bland-Altman plots revealed a notable level of agreement between the measured and predicted values during the intra-subject examination. Most participants exhibited errors within the range of two SD from the mean error value. Additionally, average errors consistently remained near zero for all predicted targets, underlining the good overall agreement between the IMU-based and OMC-based kinematics and kinetics. It is worth noting that no discernible patterns in the error values were observed, indicating a lack of systematic bias in the predictions (Bland\u0026amp;Altman, \u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e1986\u003c/span\u003e). The Bland Altman plot also showed that the errors decreased during the swing phase for most joint moments. This occurrence can be attributed to the biomechanics of the swing phase, where the forces acting on the joints tend to balance out and become zero, resulting in minimal discrepancies between our predictions and OpenSim ID output. These findings emphasize the practicality and suitability of employing this approach, which involves a personalized RF model utilizing IMU data for accurately estimating gait time series in children.\u003c/p\u003e \u003cp\u003eOne interesting finding of personalized modelling (intra-subject examination) was the good model performance within the sagittal plane compared to the other planes of motion for joint kinematics prediction, especially in the case of hip and ankle joint angles. The knee angle, only computed within the sagittal plane, demonstrated a high correlation between the actual and predicted values (R\u003csup\u003e2\u003c/sup\u003e of 0.97). The enhanced performance of the RF model in the sagittal plane (higher R\u003csup\u003e2\u003c/sup\u003e and lower errors) can be attributed to the more prominent joint movements within this plane, which, in turn, yields more distinct signals from the IMUs. Consequently, this clarity in the IMU signals contributes to the model's improved predictive performance in the sagittal plane. While other planes of motion, such as the frontal and transverse planes, contribute to a comprehensive understanding of gait, the sagittal plane takes precedence in gait analysis due to its primary role in capturing the fundamental aspects of forward movement. We\u0026rsquo;ve shown that the proposed personalized method exhibits remarkable accuracy, demonstrating a clinically acceptable level of error, particularly in the sagittal plane. This notable precision positions it as exceptionally valuable for advancing the gait analysis of children.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec19\" class=\"Section3\"\u003e \u003ch2\u003e4.1.2. Inter-subject examination\u003c/h2\u003e \u003cp\u003eIn the inter-subject examination of the RF model, the results were less promising compared to the intra-subject test, with average RMSE ranging from 3.5\u0026deg; to 9.6\u0026deg; (NRMSE of 9.6\u0026ndash;33.1%) for joint kinematics. When comparing the outcomes of ML models designed for children to those developed for adults, it becomes apparent that the RMSE values in adults exhibit lower errors (RMSE between 2.17\u0026deg; and 6.53\u0026deg;) (Dorschky et al., \u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e, Luu et al., \u003cspan citationid=\"CR39\" class=\"CitationRef\"\u003e2014\u003c/span\u003e, Lim et al., \u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Sharifi Renani et al., \u003cspan citationid=\"CR53\" class=\"CitationRef\"\u003e2021\u003c/span\u003e). In our study, the joint kinetics predictions yielded RMSE values ranging from 0.05 to 0.32 Nm/kg (NRMSE of 10.3\u0026ndash;26.4%). These values surpass the range typically observed in inter-subject assessments of adult models, where RMSE ranges from 0.05 to 0.26 (Stetter et al., \u003cspan citationid=\"CR58\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Moghadam et al., \u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e2023a\u003c/span\u003e), and NRMSE falls between 4.54\u0026ndash;10.74% (Lim et al., \u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Giarmatzis et al., \u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e2020\u003c/span\u003e)). In fact, these errors are of such magnitude that they do not provide confidence in the accurate prediction of gait time series in children not included in the training set.\u003c/p\u003e \u003cp\u003eThe primary reason for the elevated error in the children's generalized model compared to adults can be attributed to the diverse gait patterns among individual children, given their ongoing musculoskeletal changes and developmental stages within the specified age range of six to 15 years in this study (Onis et al., \u003cspan citationid=\"CR48\" class=\"CitationRef\"\u003e2007\u003c/span\u003e, Bari et al., \u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e2023\u003c/span\u003e). However, as age advances, there is a reduction in variability within the gait pattern, as demonstrated in our findings revealing higher errors in gait analysis for younger children compared to older ones. When analysing the average (\u0026plusmn;\u0026thinsp;SD) waveforms of targets within a gait cycle, we observed a noticeable standard deviation surrounding the average waveform for the children, reaffirming the high variability of gait patterns among children. This is comparable to a study by Fokuchi et al., where a greater deviation area for younger people compared to the adults' normative gait data is shown (Fukuchi et al., \u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e2018\u003c/span\u003e). The secondary reason for the high error in generalized modelling lies in the limitations of the dataset. Effective ML models typically require access to extensive datasets comprising a wide spectrum of walking patterns. Consequently, the performance of a model trained on a small dataset featuring only 16 participants is inherently limited when applied to new, unseen subjects. The considerable errors observed in generalized modelling render this approach less advisable for children who were not part of the initial training dataset.\u003c/p\u003e \u003c/div\u003e \u003c/div\u003e \u003cdiv id=\"Sec20\" class=\"Section2\"\u003e \u003ch2\u003e4.2. Number of IMUs\u003c/h2\u003e \u003cp\u003eConcerning the second objective, we demonstrated that utilizing two IMUs on the feet, instead of a total of seven IMUs, resulted in similar accuracy of the models, specifically in intra-subject examination. Concerning the inter-subject examination, while there was a slight increase in error for some targets (pelvis tilt, hip flexion/extension angles and moments, and ankle dorsi/plantar moment), reducing the number of IMUs to feet IMUs resulted in decreased errors for specific targets such as pelvis rotation angle, hip rotation angle, ankle inversion/eversion angles, pelvis obliquity moment, hip adduction/abduction moment, and hip rotation moment.\u003c/p\u003e \u003cp\u003eThese findings are consistent with our prior research, which suggested that in adult gait prediction, employing ML models allows us to achieve nearly identical results using only feet IMUs, as opposed to utilizing seven IMUs (one for each segment) (Moghadam et al., \u003cspan citationid=\"CR43\" class=\"CitationRef\"\u003e2023b\u003c/span\u003e). This can be attributed to the proficiency of ML models in establishing a robust relationship between IMU data and targets. Another contributing factor is the identification of alternative features to raw IMU data, thereby augmenting the predictive capabilities of the ML model, even when working with a limited number of IMUs. The feasibility of employing a single IMU on the pelvis (Lim et al., \u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e2020\u003c/span\u003e) or a pair of IMUs on shanks (Sharifi Renani et al., \u003cspan citationid=\"CR54\" class=\"CitationRef\"\u003e2020\u003c/span\u003e, Yeung et al., \u003cspan citationid=\"CR62\" class=\"CitationRef\"\u003e2023\u003c/span\u003e) or feet (Gholami et al., \u003cspan citationid=\"CR21\" class=\"CitationRef\"\u003e2020\u003c/span\u003e) for predicting a diverse range of gait time series has been demonstrated in prior studies. Reducing the number of IMUs streamlines model implementation, decreases data processing time, and lowers sensor-related costs. Additionally, the potential integration of foot IMUs within shoes, rendering them inconspicuous during community use, could enhance patient compliance.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec21\" class=\"Section2\"\u003e \u003ch2\u003e4.3. Limitations and future work\u003c/h2\u003e \u003cp\u003eThis study presents limitations to be addressed by future research. Firstly, the utilization of a generic adult model for scaling and constructing musculoskeletal models for children. The issue lies in the potential discrepancies between generic adult models and the individual anatomical characteristics of children. Developing more precise, subject-specific models would ideally involve leveraging medical imaging data, such as MRI, CT, or X-rays, which can be both time-consuming and financially burdensome(Nolte et al., \u003cspan citationid=\"CR47\" class=\"CitationRef\"\u003e2016\u003c/span\u003e). To address this limitation, future research could explore alternative methods like statistical shape modelling to build children's musculoskeletal models (Carman et al., \u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e2022\u003c/span\u003e).\u003c/p\u003e \u003cp\u003eAnother limitation of this study pertains to the omission of an investigation into the potential impact of slight variations in the placement of IMUs that may occur when different individuals are responsible for placing the IMUs. The concern here is that small variations could influence the data collected and, consequently, affect the accuracy and reliability of the results. Addressing this limitation in future research might involve conducting a sensitivity analysis or implementing standardized procedures for IMU placement to mitigate the potential impact of such variations on the study outcomes. Our study focused on typically developed children to establish the models, which will differ from other populations, such as children with cerebral palsy. The choice of ML model and the number of required IMUs may differ, as children with movement disorders often exhibit more complex and diverse gait patterns. Several research groups have successfully employed regression machine learning models to estimate gait time series in specific patient cohorts. Examples of previous studies on patients include the prediction of knee joint moments during gait in individuals with CP (Kwon et al., \u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e2012\u003c/span\u003e), the estimation of knee joint kinematics in patients with knee osteoarthritis (Tan et al., \u003cspan citationid=\"CR60\" class=\"CitationRef\"\u003e2022\u003c/span\u003e), and the forecasting of gait parameters for patients with osteoarthritis (OA) and those undergoing total knee arthroplasty (TKA) (Sharifi Renani et al., \u003cspan citationid=\"CR54\" class=\"CitationRef\"\u003e2020\u003c/span\u003e). Notably, these investigations demonstrated high correlation coefficients ranging from 0.71 to 0.99, showcasing the viability of gait time series prediction in targeted patient groups using wearable sensors and machine learning models. While the model employed in this study demonstrates robust performance with typically developing (TD) children, its suitability for diverse pathologies warrants exploration. Gait patterns vary significantly across different conditions, making it imprudent to apply the exact same model to a new population. Consequently, our future endeavours will involve evaluating the performance of our algorithm on additional patient cohorts, including children with cerebral palsy.\u003c/p\u003e \u003cp\u003eAnother notable limitation is the computational resources required for the primary feature extraction and selection processes. We utilized high-performance computers with 80GB of RAM memory to address this demand. However, once the model is trained, it can be executed on less powerful computers, focusing solely on extracting the selected features and providing inference from the model.\u003c/p\u003e \u003cp\u003eIt is also important to acknowledge that the accuracy of estimations using data from other labs may not match the precision of our own results. This discrepancy can be related to variations in equipment and sensor usage across different laboratories. However, by incorporating data from multiple labs into the training dataset for our models, we can enhance the models' ability to generalize across different settings.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec22\" class=\"Section2\"\u003e \u003ch2\u003e4.4. Strengths and Contributions\u003c/h2\u003e \u003cp\u003eBy developing an ML model for predicting gait time series in children with diverse gait patterns, we achieved results comparable to studies focused on the adult population, particularly in the context of personalized modelling. We believe that our model offers several advantages over traditional methods that rely on IMUs for gait analysis. For instance, our model can predict a comprehensive set of lower limb joint angles and moments during gait using only two IMUs attached to the feet. To the best of our knowledge, this is the first study tailored to children's gait time series prediction, leveraging a combination of IMU data and ML techniques.\u003c/p\u003e \u003cp\u003eOther methodologies, which would use sensor fusion algorithms rather than ML, require additional normalization steps to calculate each IMU sensors' orientation relative orientation to each body segment, leading to inaccuracies and numerical drift errors. In contrast, our personalized models have good accuracy, can be streamlined, and work independently of the user's expertise. Following a single data collection session in a gait lab, remote patient monitoring becomes feasible by placing IMUs on the patient's feet and feeding the IMU data into the model for inference. Furthermore, this workflow can be utilized in real-time, as the inference time for the RF model is on the order of milliseconds.\u003c/p\u003e \u003c/div\u003e"},{"header":"5. Conclusion","content":"\u003cp\u003eThe current study showed that RF and CNN models exhibit comparable results in the context of gait analysis within a typically developed paediatric population. The practicality of employing only two IMUs placed on the feet for predicting a comprehensive set of lower-limb joint kinematics and kinetics was successfully demonstrated. The presented workflow, employing foot IMUs, not only reduces processing time but also streamlines the integration of wearable sensors in clinical settings. Our forthcoming research endeavours will include increasing the sample size and introducing more variability to the overground walking scenarios to enhance the accuracy of our generalized model. Moreover, future work will be dedicated to developing ML models tailored to a cohort of children with movement disorders, specifically children with CP. This expansion promises to bring valuable insights and tools to the field of paediatric gait analysis, serving as a testament to the potential for advanced technology to benefit those with unique clinical requirements.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e6. Conflict of Interest\u003c/p\u003e\n\u003cp\u003eThe authors declare no conflict of interest.\u003c/p\u003e\n\u003cp\u003e7. Author contribution\u003c/p\u003e\n\u003cp\u003eJ.C. and T.Y. designed the study, S.M.M. and P.O. gathered data from participants, S.M.M. developed the machine learning models and analysed the results. S.M.M. wrote and prepared the initial draft of the manuscript, and J.C., \u0026nbsp;T.Y., and P.O. revised the subsequent version of the manuscript. J.C. and T.Y. provided oversight for the study and secured funding. All authors critically reviewed and approved the manuscript before submission.\u003c/p\u003e\n\u003cp\u003e8. Funding\u003c/p\u003e\n\u003cp\u003eThis study was funded by the Health Research Council NZ, the Aotearoa fellowship, the Friedlander Foundation, and the Science for Technological Innovation NZ.\u003c/p\u003e\n\u003cp\u003e9. Acknowledgment\u003c/p\u003e\n\u003cp\u003eWe express our gratitude to the participants for their valuable contributions to this study. Additionally, we acknowledge the support of the Health Research Council NZ, the Aotearoa fellowship, the Friedlander Foundation, and the Science for Technological Innovation NZ National Science Challenge for funding this research.\u003c/p\u003e\n\u003cp\u003e10. Data Availability Statement\u003c/p\u003e\n\u003cp\u003eThe post-processed data, including joint kinematics, joint kinetics, as well as the raw IMU data utilized for constructing ML models in this study, are accessible on the open-source platform SimTK.org (https://simtk.org/projects/ml_sensors)\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eAl Borno M, O\u0026rsquo;Day J, Ibarra V, Dunne J, Seth A, Habib A, Ong C, Hicks J, Uhlrich S and Delp S (2022). Opensense: An Open-Source Toolbox for Inertial-Measurement-Unit-Based Measurement of Lower Extremity Kinematics over Long Durations. Journal of neuroengineering and rehabilitation, 19 (1), 1\u0026ndash;11.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eAminian K and Najafi B (2004). Capturing Human Motion Using Body-Fixed Sensors: Outdoor Measurement and Clinical Applications. Computer animation and virtual worlds, 15 (2), 79\u0026ndash;94.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBach M M, Daffertshofer A and Dominici N (2021). The Development of Mature Gait Patterns in Children During Walking and Running. European journal of applied physiology, 121 1073\u0026ndash;85.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBakke D and Besier T (2022). Shape-Model Scaled Gait Models Can Neglect Segment Markers without Consequential Change to Inverse Kinematics Results. Journal of Biomechanics, 137 111086.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBari M A, Mir H N, Parrey J A, Ateeq A, Ajhar A, Al Muslem W H, Nuhmani S, Alduhishy A and Alsubaiei M E (2023). Exploring Variations in Gait Patterns and Joint Motion Characteristics in School-Aged Children across Different Walking Speeds: A Comprehensive Motion Analysis Study. Journal of Medicine and Life, 16 (6), 895.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBenjamini Y and Hochberg Y (1995). Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal statistical society: series B (Methodological), 57 (1), 289\u0026ndash;300.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBland J M and Altman D (1986). Statistical Methods for Assessing Agreement between Two Methods of Clinical Measurement. The lancet, 327 (8476), 307\u0026ndash;10.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBreiman L (2001). Random Forests. Machine learning, 45 (1), 5\u0026ndash;32.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eCarman L, Besier T F and Choisne J (2022). Morphological Variation in Paediatric Lower Limb Bones. Scientific Reports, 12 (1), 3251.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChester V L, Biden E N and Tingley M (2005). Gait Analysis. Biomedical instrumentation \u0026amp; technology, 39 (1), 64\u0026ndash;74.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChoisne J, Fourrier N, Handsfield G, Signal N, Taylor D, Wilson N, Stott S and Besier T F (2020). An Unsupervised Data-Driven Model to Classify Gait Patterns in Children with Cerebral Palsy. Journal of clinical medicine, 9 (5), 1432.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChrist M, Braun N, Neuffer J and Kempa-Liehr A W (2018). Time Series Feature Extraction on Basis of Scalable Hypothesis Tests (Tsfresh\u0026ndash;a Python Package). Neurocomputing, 307 72\u0026ndash;77.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eCigali B S, Ulu\u0026ccedil;am E and Bozer C (2011). 3d Motion Analysis of Hip, Knee and Ankle Joints of Children Aged between 7\u0026ndash;11 Years During Gait. \u003cem\u003eBalkan Medical Journal\u003c/em\u003e, 2011 (2), 197\u0026ndash;201.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDavis III R B, Ounpuu S, Tyburski D and Gage J R (1991). A Gait Analysis Data Collection and Reduction Technique. Human movement science, 10 (5), 575\u0026ndash;87.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDelp S L, Anderson F C, Arnold A S, Loan P, Habib A, John C T, Guendelman E and Thelen D G (2007). Opensim: Open-Source Software to Create and Analyze Dynamic Simulations of Movement. IEEE transactions on biomedical engineering, 54 (11), 1940\u0026ndash;50.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDey S, Yoshida T, Ernst M, Schmalz T and Schilling A F. A Random Forest Approach for Continuous Prediction of Joint Angles and Moments During Walking: An Implication for Controlling Active Knee-Ankle Prostheses/Orthoses. 2019 IEEE International Conference on Cyborg and Bionic Systems (CBS), 2019. IEEE, 66\u0026ndash;71.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDorschky E, Nitschke M, Martindale C F, Van den Bogert A J, Koelewijn A D and Eskofier B M (2020). Cnn-Based Estimation of Sagittal Plane Walking and Running Biomechanics from Measured and Simulated Inertial Sensor Data. Frontiers in bioengineering and biotechnology, 8 604.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFindlow A, Goulermas J, Nester C, Howard D and Kenney L (2008). Predicting Lower Limb Joint Kinematics Using Wearable Motion Sensors. Gait \u0026amp; posture, 28 (1), 120\u0026ndash;26.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFukuchi C A, Fukuchi R K and Duarte M (2018). A Public Dataset of Overground and Treadmill Walking Kinematics and Kinetics in Healthy Individuals. PeerJ, 6 e4640.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGanley K J and Powers C M (2005). Gait Kinematics and Kinetics of 7-Year-Old Children: A Comparison to Adults Using Age-Specific Anthropometric Data. Gait \u0026amp; posture, 21 (2), 141\u0026ndash;45.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGholami M, Napier C and Menon C (2020). Estimating Lower Extremity Running Gait Kinematics with a Single Accelerometer: A Deep Learning Approach. Sensors, 20 (10), 2939.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGiarmatzis G, Zacharaki E I and Moustakas K (2020). Real-Time Prediction of Joint Forces by Motion Capture and Machine Learning. Sensors, 20 (23), 6933.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGranata K P, Padua D A and Abel M F (2005). Repeatability of Surface Emg During Gait in Children. Gait \u0026amp; Posture, 22 (4), 346\u0026ndash;50.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGurchiek R D, Cheney N and McGinnis R S (2019). Estimating Biomechanical Time-Series with Wearable Sensors: A Systematic Review of Machine Learning Techniques. Sensors, 19 (23), 5227.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHarrington M, Zavatsky A, Lawson S, Yuan Z and Theologis T (2007). Prediction of the Hip Joint Centre in Adults, Children, and Patients with Cerebral Palsy Based on Magnetic Resonance Imaging. Journal of biomechanics, 40 (3), 595\u0026ndash;602.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHasan M A M, Nasser M, Ahmad S and Molla K I (2016). Feature Selection for Intrusion Detection Using Random Forest. Journal of information security, 7 (3), 129\u0026ndash;40.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eIto T, Noritake K, Ito Y, Tomita H, Mizusawa J, Sugiura H, Matsunaga N, Ochi N and Sugiura H (2022). Three-Dimensional Gait Analysis of Lower Extremity Gait Parameters in Japanese Children Aged 6 to 12 Years. Scientific Reports, 12 (1), 7822.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eJain E, Anthony L, Aloba A, Castonguay A, Cuba I, Shaw A and Woodward J (2016). Is the Motion of a Child Perceivably Different from the Motion of an Adult? ACM Transactions on Applied Perception (TAP), 13 (4), 1\u0026ndash;17.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKamruzzaman J and Begg R K (2006). Support Vector Machines and Other Pattern Recognition Approaches to the Diagnosis of Cerebral Palsy Gait. IEEE Transactions on Biomedical Engineering, 53 (12), 2479\u0026ndash;90.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKhaksar S, Pan H, Borazjani B, Murray I, Agrawal H, Liu W, Elliott C, Imms C, Campbell A and Walmsley C (2021). Application of Inertial Measurement Units and Machine Learning Classification in Cerebral Palsy: Randomized Controlled Trial. JMIR Rehabilitation and Assistive Technologies, 8 (4), e29769.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKnudson D V (2007). Fundamentals of Biomechanics, Springer.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKolaghassi R, Al-Hares M K, Marcelli G and Sirlantzis K (2022). Performance of Deep Learning Models in Forecasting Gait Trajectories of Children with Neurological Disorders. Sensors, 22 (8), 2969.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKolaghassi R, Marcelli G and Sirlantzis K (2023). Deep Learning Models for Stable Gait Prediction Applied to Exoskeleton Reference Trajectories for Children with Cerebral Palsy. IEEE Access, 11 31962\u0026ndash;76.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKuhtz-Buschbeck J, Boczek-Funcke A, Heinrichs H, Illert M and Stolze H (1996). Kinematic Analysis of Prehension in Children. Eur J Neurosci Suppl, 9 131.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKwon S, Park H-S, Stanley C J, Kim J, Kim J and Damiano D L (2012). A Practical Strategy for Semg-Based Knee Joint Moment Estimation During Gait and Its Validation in Individuals with Cerebral Palsy. IEEE Transactions on Biomedical Engineering, 59 (5), 1480\u0026ndash;87.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLaird P and Saul R. Automated Feature Extraction for Supervised Learning. Proceedings of the First IEEE Conference on Evolutionary Computation. IEEE World Congress on Computational Intelligence, 1994. IEEE, 674\u0026thinsp;\u0026ndash;\u0026thinsp;79.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLim H, Kim B and Park S (2020). Prediction of Lower Limb Kinetics and Kinematics During Walking by a Single Imu on the Lower Back Using Machine Learning. Sensors, 20 (1), 130.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLu T-W and O\u0026rsquo;connor J (1999). Bone Position Estimation from Skin Marker Co-Ordinates Using Global Optimisation with Joint Constraints. Journal of biomechanics, 32 (2), 129\u0026ndash;34.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLuu T P, Low K, Qu X, Lim H and Hoon K (2014). An Individual-Specific Gait Pattern Prediction Model Based on Generalized Regression Neural Networks. Gait \u0026amp; posture, 39 (1), 443\u0026ndash;48.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMadgwick S O, Harrison A J and Vaidyanathan R. Estimation of Imu and Marg Orientation Using a Gradient Descent Algorithm. 2011 IEEE international conference on rehabilitation robotics, 2011. IEEE, 1\u0026ndash;7.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMantoan A, Pizzolato C, Sartori M, Sawacha Z, Cobelli C and Reggiani M (2015). Motonms: A Matlab Toolbox to Process Motion Data for Neuromusculoskeletal Modeling and Simulation. Source code for biology and medicine, 10 (1), 1\u0026ndash;14.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMoghadam S M, Yeung T and Choisne J (2023a). A Comparison of Machine Learning Models\u0026rsquo; Accuracy in Predicting Lower-Limb Joints\u0026rsquo; Kinematics, Kinetics, and Muscle Forces from Wearable Sensors. Scientific Reports, 13 (1), 5046.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMoghadam S M, Yeung T and Choisne J (2023b). The Effect of Imu Sensor Location, Number of Features, and Window Size on a Random Forest Model\u0026rsquo;s Accuracy in Predicting Joint Kinematics and Kinetics During Gait. IEEE Sensors Journal:\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMorbidoni C, Cucchiarelli A, Agostini V, Knaflitz M, Fioretti S and Di Nardo F (2021). Machine-Learning-Based Prediction of Gait Events from Emg in Cerebral Palsy Children. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 29 819\u0026ndash;30.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMundt M, Johnson W R, Potthast W, Markert B, Mian A and Alderson J (2021). A Comparison of Three Neural Network Approaches for Estimating Joint Angles and Moments from Inertial Measurement Units. Sensors, 21 (13), 4535.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMundt M, Thomsen W, Witter T, Koeppe A, David S, Bamer F, Potthast W and Markert B (2020). Prediction of Lower Limb Joint Angles and Moments During Gait Using Artificial Neural Networks. Medical \u0026amp; biological engineering \u0026amp; computing, 58 (1), 211\u0026ndash;25.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eNolte D, Tsang C K, Zhang K Y, Ding Z, Kedgley A E and Bull A M (2016). Non-Linear Scaling of a Musculoskeletal Model of the Lower Limb Using Statistical Shape Models. Journal of biomechanics, 49 (14), 3576\u0026ndash;81.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eOnis M d, Onyango A W, Borghi E, Siyam A, Nishida C and Siekmann J (2007). Development of a Who Growth Reference for School-Aged Children and Adolescents. Bulletin of the World health Organization, 85 (9), 660\u0026ndash;67.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRen S, Wang W, Hou Z-G, Chen B, Liang X, Wang J and Peng L (2019). Personalized Gait Trajectory Generation Based on Anthropometric Features Using Random Forest. Journal of Ambient Intelligence and Humanized Computing, 1\u0026ndash;12.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSabatini A M (2006). Quaternion-Based Extended Kalman Filter for Determining Orientation by Inertial and Magnetic Sensing. IEEE transactions on Biomedical Engineering, 53 (7), 1346\u0026ndash;56.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSeifer A-K, K\u0026uuml;derle A, Dorschky E, Moradi H, Hannemann R and Eskofier B (2023). Step Length and Gait Speed Estimation Using a Hearing Aid Integrated Accelerometer: A Comparison of Different Algorithms.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSenden R, Marcellis R, Meijer K, Willems P, Lenssen T, Staal H, Janssen Y, Groen V, Vermeulen R J and Witlox M (2023). Dataset of 3d Gait Analysis in Typically Developing Children Walking at Three Different Speeds on an Instrumented Treadmill in Virtual Reality. Data in Brief, 48 109142.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSharifi Renani M, Eustace A M, Myers C A and Clary C W (2021). The Use of Synthetic Imu Signals in the Training of Deep Learning Models Significantly Improves the Accuracy of Joint Kinematic Predictions. Sensors, 21 (17), 5876.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSharifi Renani M, Myers C A, Zandie R, Mahoor M H, Davidson B S and Clary C W (2020). Deep Learning in Gait Parameter Prediction for Oa and Tka Patients Wearing Imu Sensors. Sensors, 20 (19), 5553.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSivakumar S, Gopalai A A, Lim K H and Gouwanda D (2019). Artificial Neural Network Based Ankle Joint Angle Estimation Using Instrumented Foot Insoles. Biomedical Signal Processing and Control, 54 101614.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSlater A A, Hullfish T J and Baxter J R (2018). The Impact of Thigh and Shank Marker Quantity on Lower Extremity Kinematics Using a Constrained Model. BMC Musculoskeletal Disorders, 19 (1), 1\u0026ndash;10.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSlijepcevic D, Zeppelzauer M, Unglaube F, Kranzl A, Breiteneder C and Horsak B (2023). Explainable Machine Learning in Human Gait Analysis: A Study on Children with Cerebral Palsy. \u003cem\u003eIEEE Access\u003c/em\u003e:\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eStetter B J, Krafft F C, Ringhof S, Stein T and Sell S (2020). A Machine Learning and Wearable Sensor Based Approach to Estimate External Knee Flexion and Adduction Moments During Various Locomotion Tasks. Frontiers in bioengineering and biotechnology, 8:\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eStolze H, Kuhtz-Buschbeck J, Mondwurf C, J\u0026ouml;hnk K and Friege L (1998). Retest Reliability of Spatiotemporal Gait Parameters in Children and Adults. Gait \u0026amp; posture, 7 (2), 125\u0026ndash;30.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTan J-S, Tippaya S, Binnie T, Davey P, Napier K, Caneiro J, Kent P, Smith A, O\u0026rsquo;Sullivan P and Campbell A (2022). Predicting Knee Joint Kinematics from Wearable Sensor Data in People with Knee Osteoarthritis and Clinical Considerations for Future Machine Learning Models. Sensors, 22 (2), 446.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eVigneron V, Dorizzi B, Khouri N and Desailly E (2017). Predicting Postoperative Gait in Cerebral Palsy. Gait \u0026amp; posture, 52 45\u0026ndash;51.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eYeung T, Cantamessa A, Kempa-Liehr A W, Besier T and Choisne J (2023). Personalised Machine Learning Approach to Estimating Knee Kinematics Using Only Shank-Mounted Imu. IEEE Sensors Journal:\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhang B-l, Zhang Y and Begg R K (2009). Gait Classification in Children with Cerebral Palsy by Bayesian Approach. Pattern Recognition, 42 (4), 581\u0026ndash;86.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhang Y and Ma Y (2019). Application of Supervised Machine Learning Algorithms in the Classification of Sagittal Gait Patterns of Cerebral Palsy Children with Spastic Diplegia. Computers in biology and medicine, 106 33\u0026ndash;39.\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":false,"highlight":"","institution":"University of Auckland","isAcceptedByJournal":true,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"3D gait analysis, inertial measurement units, machine learning, paediatric, joint kinematics, and joint kinetics","lastPublishedDoi":"10.21203/rs.3.rs-3898246/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-3898246/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eChildren's walking patterns evolve with age, exhibiting less repetitiveness at a young age and more variability than adults. Three-dimensional gait analysis (3DGA) is crucial for understanding and treating lower limb movement disorders in children, traditionally performed using Optical Motion Capture (OMC). Inertial Measurement Units (IMUs) offer a cost-effective alternative to OMC, although challenges like drift errors persist. Machine learning (ML) models can mitigate these issues in adults, prompting an investigation into their applicability to a heterogeneous paediatric population. This study aimed at identifying an optimal ML model tailored for children's gait, enabling accurate predictions from IMUs.\u003c/p\u003e\n\u003cp\u003eSeventeen typically developed (TD) children, aged 6 to 15, participated in data collection involving OMC, force plates, and IMU sensors. Joint kinematics and kinetics were computed from OMC and force plates' data using OpenSim. Tsfresh, a Python package, extracted features from raw IMU data. Each target's ten most important features were input in the development of personalized and generalized random forest (RF) and convolutional neural networks (CNN) models.\u003c/p\u003e\n\u003cp\u003eFindings suggested that the RF and CNN models demonstrated comparable performance. RF predicted joint kinematics with a 9.5% and 19.9% NRMSE for personalized and generalized models, respectively, and joint kinetics with an NRMSE of 10.7% for personalized and 15.2% for generalized models in TD children. Personalized models provided accurate estimations from IMU data in children, while generalized models lacked accuracy due to the limited dataset. This study proposed a promising approach for gait time series prediction in children, involving an RF model and two IMUs on the feet.\u003c/p\u003e","manuscriptTitle":"3D Gait Analysis in Children Using Wearable Sensors: Feasibility of Predicting Joint Kinematics and Kinetics with Personalized Machine Learning Models and Inertial Measurement Units","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-01-29 21:34:06","doi":"10.21203/rs.3.rs-3898246/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"b2049670-2769-452a-b930-c004bc8a7526","owner":[],"postedDate":"January 29th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[{"id":28378542,"name":"Biotechnology and Bioengineering"}],"tags":[],"updatedAt":"2024-03-28T01:56:57+00:00","versionOfRecord":{"articleIdentity":"rs-3898246","link":"https://doi.org/10.3389/fbioe.2024.1372669","journal":{"identity":"frontiers-in-bioengineering-and-biotechnology","isVorOnly":true,"title":"Frontiers in Bioengineering and Biotechnology"},"publishedOn":"2024-03-20 00:00:00","publishedOnDateReadable":"March 20th, 2024"},"versionCreatedAt":"2024-01-29 21:34:06","video":"","vorDoi":"10.3389/fbioe.2024.1372669","vorDoiUrl":"https://doi.org/10.3389/fbioe.2024.1372669","workflowStages":[]},"version":"v1","identity":"rs-3898246","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-3898246","identity":"rs-3898246","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-22T02:00:06.705733+00:00
License: CC-BY-4.0