(a) Confusion matrices for the different algorithms for the 3-class problem, constructed using combined test sets from all rats. (b) Confusion matrices for the different algorithms for the 2-class problem. Note that the classification accuracies shown in (a,b) are slightly different than mean classification accuracies reported in Section 3.2 because they are computed using a combined test set rather than by averaging the classification accuracies for each rat. The last row and column of each confusion matrix show the recall and precision per class, respectively. Class 1 – Dorsiflexion, Class 2 – Plantarflexion, Class 3 – Pricking of the heel.