spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <>
Subject Re: MLlib Naive Bayes classifier confidence
Date Mon, 10 Nov 2014 13:15:09 GMT
It's hacky, but you could access these fields via reflection. It'd be
better to propose opening them up in a PR.

On Mon, Nov 10, 2014 at 9:25 AM, jatinpreet <> wrote:
> Thanks for the answer. The variables brzPi and brzTheta are declared private.
> I am writing my code with Java otherwise I could have replicated the scala
> class and performed desired computation, which is as I observed  a
> multiplication of brzTheta  with test vector and adding this value to brzPi.
> Any suggestions of a way out other than replicating the whole functionality
> of Naive Baye's model in Java? That would be a time consuming process.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message