Here is the original confusion matrix:
| Yes | No | ----------------- The top right corner: False Negative Yes|1000 | 200 | The top left corner: True Positive ----------------- The bottom right corner:True Negative No|200 | 500 | The bottom left corner: False Positive
I expect to get these :
Basically, I am looking for an option or command in the classifier that can enforce WEKA not misclassifying the 200 TP instances to the FN section. In other words, the number of TP instances will be 1000 + 200 = 1200, and number of FN instances will be 0 or 100% precision.
| Yes | No | ------------------- Yes| 1200 | 0 | ------------------- No | 200 | 500 |
Same idea for the second part, all the FP instances are moved to TN section or 100% recall.
| Yes | No | ------------------- Yes| 1000 | 200 | ------------------- No | 0 | 500 |
Is there any way to implement this idea in WEKA?
Contents
hide
Best Answer
Have you tried playing with the Cost Matrix (Cost-sensitive evaluation)? It can not guarantee a priori your outcome, but can force Weka to be more sensitive to a particular type or error.
Similar Posts:
- Solved – How to find TP,TN, FP and FN values from 8×8 Confusion Matrix
- Solved – Manual and automated calculation of false positive rate in confusion matrix do not agree
- Solved – Calculating Specificity from Weka output
- Solved – confusion matrix for 2 classes
- Solved – Are the total false positives and false negatives of a large confusion matrix equal