mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Palumbo <ap....@outlook.com>
Subject Re: Negative probabilities
Date Thu, 12 May 2016 02:40:42 GMT
Hello, the elements of the vector are not actually probabilities, they are scores,  the classification
is a winner takes all approach, assigning the classification to the class with the max score.

See: http://mahout.apache.org/users/algorithms/spark-naive-bayes.html for an overview of the
algorithm.

Thanks

________________________________________
From: Nantia Makrynioti <nantiamakr@gmail.com>
Sent: Wednesday, May 11, 2016 10:33:29 PM
To: user@mahout.apache.org
Subject: Negative probabilities

Hello,

I am using the classifyFullInstance method on a Naive Bayes model, but when
I print the elements of the generated vector, the probabilities are
negative. What might be the reason for this?

Thanks a lot,
Nantia

Mime
View raw message