I am using GUI version of WEKA and I am classifying using the Naive Bayes. Can anyone please let me know how to find out which instances are misclassified.
Similarly, incorrectly classified instances means the sum of FP and FN. The total number of correctly instances divided by total number of instances gives the accuracy. In weka, % of correctly classified instances give the accuracy of the model.
In WEKA GUI go to Explorer, open your ARFF file and then go to Classify-->More options-->Output predictions-->Choose. There choose a format to see the classifications for your test set. Try first with PlainText, WEKA will output the predictions for each of the test instances.
Accuracy is calculated as the total of two correct predictions (TP + TN) divided by the total number of data sets (P + N). The best accuracy is 1.0 and the worst is 0.0. Sensitivity is calculated as the number of correct positive predictions (TP) divided by the total number of positive (P).
Setting Test DataUnder cross-validation, you can set the number of folds in which entire data would be split and used during each iteration of training. In the percentage split, you will split the data between training and testing using the set split percentage. Next, you will select the classifier.
Hope that helps.
I faced this very same problem earlier and I tackle it just fine now. What I do, is the following:
Hope this helps someone. Good Luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With