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 <jatinpr...@gmail.com> 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: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org