We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

oualidalyiou • 7 months ago

where are there files !! naive-train.arff and..can you give there to us

Dwi Lestari • 1 year ago

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?

Mi Kon Chan • 1 year ago

I see sample dataset have only 3 hams and 4spams why you calculate 7hams and 10spams

Vian Qu • 2 years ago

Hii Gowgi,

Thankyou for your article about Weka. helpfull

Vian Qu • 1 year ago

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?