sun lina wrote:
hello, recently I have used -p option in order to
preditions on some test set using the J48 and NaiveBayes classifiers.
(for example, "java weka.classifiers.bayes.NaiveBayes -t
.\data\car.arff -T .\data\car.arff -p 0")
I notice that you use the same file for training and testing.
You should use a different file for testing, since the resubstitution error
is not a good predictor for the performance (or accuracy) of a
To some extent most of the probabilities will be close
to 1 and it
seems that most algorithms in terms of being overly 'sure' about it's
I also did some tests on other data sets like iris.arff and sick.arff
with the same results.
Have anyone met similar questions like this? And if so, could you give
any example of how to interpret the result of -p option or or are
there technical problems specific to weka with this option?
You will be appreciated for any response!
Wekalist mailing list