%0 Computer Program
%A van Dijk, Marit
%D 2021
%T Machine learning-based classification model corresponding to the paper 'Machine learning to improve orientation estimation in sports situations challenging for inertial sensor use'
%U https://data.4tu.nl/articles/software/Machine_learning-based_classification_model_corresponding_to_the_paper_Machine_learning_to_improve_orientation_estimation_in_sports_situations_challenging_for_inertial_sensor_use_/14883927/1
%R 10.4121/14883927.v1
%K Madgwick filter
%K Inertial Measurement Unit
%K orientation estimation
%K kinematics
%K machine learning
%K sports
%X Machine learning model as used in 'Machine learning to improve orientation estimation in sports situations challenging for inertial sensor use'. The model to run the Extended Madgwick filter is based on a random forest algorithm and can be used as explained in Figure 3 in the paper.
Explanation for use:The model can be loaded and executed in Python using the following code- RFmodel = pickle.load(open([filename_RFmodel], 'rb'))- y = RFmodel.predict_proba(X)[:,1]- if y > 0.5 EFcorrect = 1 else EFcorrect = 0 X are (normalized) input variablesy are probabilities for EFcorrect (see paper)
%I 4TU.ResearchData