| 1 |
Revision history for Perl extension Algorithm::NaiveBayes. |
| 2 |
|
| 3 |
- Fixed a runtime error in the Gaussian model - the code died looking |
| 4 |
for a rescale() function, which I had forgotten to import. [Manju Putcha] |
| 5 |
|
| 6 |
- Added save_state() and restore_state() methods, which will help |
| 7 |
consumers (like AI::Categorizer) avoid a pesky "can't find method" |
| 8 |
error when using a restored model. |
| 9 |
|
| 10 |
0.03 Mon May 17 22:11:00 CDT 2004 |
| 11 |
|
| 12 |
- The double-loop inside the predict() method has been turned |
| 13 |
inside-out, so that the outer loop is now over the new attributes, |
| 14 |
rather than over the different labels in the training set. |
| 15 |
|
| 16 |
- Some internal changes for making customization easier: moved the |
| 17 |
model-creation code to new internal classes, making it easier to |
| 18 |
write additional classes that handle model creation differently. |
| 19 |
|
| 20 |
- Moved some of the numerical utility functions to a |
| 21 |
Algorithm::NaiveBayes::Util module. |
| 22 |
|
| 23 |
- We now use sum() and max() from List::Util rather than implementing |
| 24 |
our own. The ones in List::Util are considerably faster. |
| 25 |
|
| 26 |
- Added a copyright and license statement. [Spotted by Alexey Tourbin] |
| 27 |
|
| 28 |
|
| 29 |
0.02 Fri May 23 13:36:48 CDT 2003 |
| 30 |
|
| 31 |
- The do_purge() method was called during training regardless of |
| 32 |
whether the 'purge' flag was set. This has been fixed. |
| 33 |
|
| 34 |
|
| 35 |
0.01 Tue Mar 18 18:45:34 2003 |
| 36 |
|
| 37 |
- original version; created by extracting the NaiveBayes code out of |
| 38 |
AI::Categorizer::Learner::NaiveBayes |
| 39 |
|