Using Algorithm::NaiveBayes Properly
am 18.01.2008 17:06:26 von inventorHi and thanks to the author for writing this module. I read thru the
docs a few times and I think I understand how to use it, but I do not
see how the predict function works. You supply a hash which contains
an outcome event, and it returns a value from 0 to 1 corresponding to
the likelyhood of that hash occurring.
To use that I would have to sweep through the values of the expected
outcome and track which outcomes were probable, and I guess list or
plot them or something. Is that the way an expected outcome of say
two variables can be found?
Thanks in advance for your help.