Click here to get back home

Using Algorithm::NaiveBayes Properly

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Using Algorithm::NaiveBayes Properly Inventor 01-18-2008
Posted by Inventor on January 18, 2008, 11:06 am
Please log in for more thread options
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.


Similar ThreadsPosted
Suggested module: Algorithm::SVM::Simple June 26, 2008, 4:19 am
use DBI - how to properly get the data out October 15, 2004, 1:02 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap