I have created the issue: "In MLlib, implementation for Naive Bayes in Spark 0.9.1 is having an implementation bug" Have a look at it.
Thanks, On Thu, Jul 10, 2014 at 8:37 PM, Bertrand Dechoux <decho...@gmail.com> wrote: > A patch proposal on the apache JIRA for Spark? > https://issues.apache.org/jira/browse/SPARK/ > > Bertrand > > > On Thu, Jul 10, 2014 at 2:37 PM, Rahul Bhojwani < > rahulbhojwani2...@gmail.com> wrote: > >> And also that there is a small bug in implementation. As I mentioned this >> earlier also. >> >> This is my first time I am reporting some bug. So I just wanted to ask, >> that do your name come somewhere or do you get something after >> correcting/reporting some bug. So that i can mention that in my >> profile/resume( as I am moving towards my final year undergrad and will be >> sitting for company interviews.). If there is something like that which I >> can mention then I can go for the procedure you mentioned earlier. >> >> Otherwise I can simply mention the error here on the mailing list itself. >> Its a small bug (Bug according to me.) >> >> I m not trying to be selfish. Its just that if I get something that can >> help make my profile look strong then I shouldn't miss it at this stage. >> >> Thanks, >> >> >> >> On Thu, Jul 10, 2014 at 5:54 PM, Rahul Bhojwani < >> rahulbhojwani2...@gmail.com> wrote: >> >>> Ya thanks. I can see that lambda is used as the parameter. >>> >>> >>> >>> On Thu, Jul 10, 2014 at 1:40 PM, Sean Owen <so...@cloudera.com> wrote: >>> >>>> Have a look at the code maybe? >>>> >>>> https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala >>>> >>>> Yes there is a smoothing parameter, and yes from the looks of it it is >>>> simply additive / Laplace smoothing. It's been in there for a while. >>>> >>>> >>>> On Thu, Jul 10, 2014 at 6:55 AM, Rahul Bhojwani < >>>> rahulbhojwani2...@gmail.com> wrote: >>>> >>>>> The discussion is in context for spark 0.9.1 >>>>> Does MLlib Naive Bayes implementation incorporates Laplase smoothing? >>>>> Or any other smoothing? Or it doesn't encorporates any smoothing?? Please >>>>> inform? >>>>> >>>>> Thanks, >>>>> -- >>>>> Rahul K Bhojwani >>>>> 3rd Year B.Tech >>>>> Computer Science and Engineering >>>>> National Institute of Technology, Karnataka >>>>> >>>> >>>> >>> >>> >>> -- >>> Rahul K Bhojwani >>> 3rd Year B.Tech >>> Computer Science and Engineering >>> National Institute of Technology, Karnataka >>> >> >> >> >> -- >> Rahul K Bhojwani >> 3rd Year B.Tech >> Computer Science and Engineering >> National Institute of Technology, Karnataka >> > > -- Rahul K Bhojwani 3rd Year B.Tech Computer Science and Engineering National Institute of Technology, Karnataka