spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samarth Mailinglist <mailinglistsama...@gmail.com>
Subject Probability in Naive Bayes
Date Tue, 18 Nov 2014 06:40:50 GMT
I am trying to use Naive Bayes for a project of mine in Python and I want
to obtain the probability value after having built the model.

Suppose I have two classes - A and B. Currently there is an API to to find
which class a sample belongs to (predict). Now, I want to find the
probability of it belonging to Class A or Class B.

Can you please provide any details about how I can obtain the probability
values for it belonging to the either class A or class B?

Mime
View raw message