[mlpack-git] [mlpack] Fix classification error (#492)
Pavel
notifications at github.com
Thu Dec 10 08:53:11 EST 2015
Change "invVar" to "variance" matrix when calculating testProbs.
By using "invVar" you have variances product in numenator, but it needs to be in denominator.
In addition there was potential problem with accuracy when calculate exponents and then calculate logarithm.
I fixed it too.
You can view, comment on, or merge this pull request online at:
https://github.com/mlpack/mlpack/pull/492
-- Commit Summary --
* Fix classification error
-- File Changes --
M src/mlpack/methods/naive_bayes/naive_bayes_classifier_impl.hpp (6)
-- Patch Links --
https://github.com/mlpack/mlpack/pull/492.patch
https://github.com/mlpack/mlpack/pull/492.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20151210/f26f37c8/attachment-0001.html>
More information about the mlpack-git
mailing list