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

Reply via email to