Skip to main content
. 2018 Apr 16;18(4):1215. doi: 10.3390/s18041215

Figure 7.

Figure 7

Visualising the switching AR posterior state probabilities for data from a single walking test. The log of the input state probabilities pz1,,pzT is projected into 2D using linear discriminant analysis (LDA), and projections are denoted with pzt* where the pzt is a K+ dimensional vector and pzt* is 2D. Input projections are labeled with adherence (red) and violation (blue). The “linear” structure can be explained with the fact that typically, a data point xt is associated with high probability to only one of the K+ AR states in the behavioral segmentation (and low probability for the remaining AR states) so that the input vector pzt is sparse. The decision boundary of the multinomial naive Bayes classifier is also projected (using the same LDA coefficients) into 2D (black line). A few outlier projections pzt* are outside the plot axis limits, but they do not significantly affect the decision boundary and yet reduce the visual interpretability of the projection of the bulk of the data.