Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Naive Bayes Classifier Using Laplacian Smoothing

by blakew (Monk)
on Nov 17, 2011 at 19:33 UTC ( #938674=note: print w/replies, xml ) Need Help??


in reply to Naive Bayes Classifier Using Laplacian Smoothing

Very nice. I refreshed my understanding of the model to check your code - the only nit I found is that it seems that "Laplace smoothing" refers specifically to the case where $k=1.

An interesting extension might be to try out Text::DoubleMetaphone

  • Comment on Re: Naive Bayes Classifier Using Laplacian Smoothing

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://938674]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2018-06-19 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (115 votes). Check out past polls.

    Notices?