Fig. 5 | Scientific Reports

Fig. 5

From: Pain classification using functional near infrared spectroscopy and assessment of virtual reality effects in cancer pain management

Fig. 5

A confusion matrix for classifying perceived pain severity levels in 129 test samples was obtained by applying the leave-one-participant-out cross-validation technique. This figure illustrates the performance of the MLR model in classifying pain severity into three classes: class 1 (no pain or mild pain), class 2 (moderate pain), and class 3 (severe pain). Panel A displays the confusion matrix, which shows the actual versus predicted labels for the test samples. Panel B shows a confusion matrix with percentages.

Back to article page