Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2015-08-20 | 626 Bytes | |
Naive_Bayes_Classification2.rar | 2015-08-20 | 15.0 MB | |
Totals: 2 Items | 15.0 MB | 0 |
>> To run simply type: java -cp classes NaiveBayes in the command window. Keep in mind the present working directory. >> The execution may take several minutes, depending on the system. >> There are two variants for Naive Bayes Model: one is Bernoulli model, which means whether the specific word occurs in this document or not, the other is multinomial model, which means how many words occur. >> Two model are the same, just need to calculate their probability and multiply them together and calculate its posterior probability, and compare the two cases, which one is bigger, then the prediction.