This question has already been asked, but I did not understand the answer, so I am sending the question again, please answer.
I have a weka model, for example: j48 I prepared this model for my data set, and now I need to test the model with a single instance in which it should return the class label. How to do it?
I tried the following methods:
1) When I give my test instance a, b, c, class for a class like ?. It shows a problem with classifier rating. Test and test incompatible
2) When do I list all class labels and do I put them? for the class label for the test instance as follows:
@attribute class {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27} @data 1,2,............,?
It does not show any results, such as
=== Evaluation on test set === === Summary === Total Number of Instances 0 Ignored Class Unknown Instances 1 === Detailed Accuracy By Class === TP Rate FP Rate Precision Recall F-Measure ROC Area Class 0 0 0 0 0 ? 1 0 0 0 0 0 ? 2 0 0 0 0 0 ? 3 Weighted Avg. NaN NaN NaN NaN NaN NaN
confusion matrix is ​​null
What to do?