The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.03 - 2004-05-17

  • The double-loop inside the predict() method has been turned inside-out, so that the outer loop is now over the new attributes, rather than over the different labels in the training set.
  • Some internal changes for making customization easier: moved the model-creation code to new internal classes, making it easier to write additional classes that handle model creation differently.
  • Moved some of the numerical utility functions to a Algorithm::NaiveBayes::Util module.
  • We now use sum() and max() from List::Util rather than implementing our own. The ones in List::Util are considerably faster.
  • Added a copyright and license statement. [Spotted by Alexey Tourbin]


Bayesian prediction of categories


in lib/Algorithm/NaiveBayes/Model/
in lib/Algorithm/NaiveBayes/Model/
in lib/Algorithm/NaiveBayes/Model/
in lib/Algorithm/NaiveBayes/