| NDOF ← # of DOFs | |
| DOF ← {set of all DOFs} | |
| MC ← {set of discrete and dual combined motion classes} | |
|
| |
| f ← # of features | |
| X ← features measurements at each window; ∈ ℝf | |
| for i=1:NDOF | |
|
| |
| OUTPUT_CLASSi = arg max(p(X|TRAIN_CLASSES)) | |
| end | |
| if sum(OUTPUT_CLASS > 1) > 2 | |
| CLASS(1) = arg max(p(X|OUTPUT_CLASSES)) | |
| CLASS(2) = arg max(p(X|OUTPUT_CLASS ≠ CLASS1)) | |
| else | |
| RETURN(OUTPUT_CLASS) | |
| end |