I want to know how to get several performance measurements of a generated WEKA model. Note that I am predicting a two-class variable, Alive
or Dead
and I use the developer version 3.7.10
in my own Java project.
Confusion matrix
I know this is a simple question but am I correct that the one below is a direct equivalent of a traditional confusion matrix?
=== Confusion Matrix === a b <-- classified as 13735 216 | a = Alive 392 657 | b = Dead
As in:
TP | FN FP | TN
Sensitivity and specificity
Given a part of the WEKA result buffer below, below contains the ROC, specificity (or
Recall
) and sensitivity (orPrecision
) measurements but depending on a given class.=== Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure MCC ROC Area PRC Area Class 0.985 0.374 0.972 0.985 0.978 0.665 0.974 0.998 Alive 0.626 0.015 0.753 0.626 0.684 0.665 0.974 0.775 Dead Weighted Avg. 0.959 0.349 0.957 0.959 0.958 0.665 0.974 0.982
Poor Felix asked the questions "WEKA Specificity and Sensitivity for global Rule Model" in (a), (b) and (c) similar to the one I have right now but still didn't get the exact answer.
Now, is it right to interpret that the overall ROC, specificity and sensitivity of the whole model are the ones in the
Weighted Avg.
row?