Using Algorithm::NaiveBayes Properly

Hi 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.
inventor [ Fr, 18 Januar 2008 17:06 ] [ ID #1911696 ]
Perl » comp.lang.perl.modules » Using Algorithm::NaiveBayes Properly

Vorheriges Thema: How to increase performance BerkeleyDB?
Nächstes Thema: Tk::Browser, "Can't locate object method 'Construct'"