We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
src/main/java/com/gg/ml/NaiveBayesDemo.java:48: error: cannot find symbol
symbol: variable filter
location: class com.gg.ml.NaiveBayesDemo
filter.setInputFormat(dataSet);
^
src/main/java/com/gg/ml/NaiveBayesDemo.java:49: error: cannot find symbol
symbol: variable filter
location: class com.gg.ml.NaiveBayesDemo
dataSet = Filter.useFilter(dataSet, filter);
^
Why that code eror, when I run for more than 5time?
i used Weka Explorer to test your data. the result is not the same. my result :
....
Correctly Classified Instances 4 57.1429 %
Incorrectly Classified Instances 3 42.8571 %
...
i got 57% correct clasified and 42 % incorrect.
why the result not the same when i use weka GUI?
super
"naive-train.arff";
"naive-test.arff";
"naive-confused.arff";
Where are those file?
Can I get those file?
I see sample dataset have only 3 hams and 4spams why you calculate 7hams and 10spams
Hii Gowgi,
Thankyou for your article about Weka. helpfull
where are there files !! naive-train.arff and..can you give there to us