Re: Logistic Regression using ML Pipeline

2016-02-19 Thread Ajinkya Kale
Please take a look at the example here http://spark.apache.org/docs/latest/ml-guide.html#example-pipeline On Thu, Feb 18, 2016 at 9:27 PM Arunkumar Pillai <arunkumar1...@gmail.com> wrote: > Hi > > I'm trying to build logistic regression using ML Pipeline > > val lr = n

Logistic Regression using ML Pipeline

2016-02-18 Thread Arunkumar Pillai
Hi I'm trying to build logistic regression using ML Pipeline val lr = new LogisticRegression() lr.setFitIntercept(true) lr.setMaxIter(100) val model = lr.fit(data) println(model.summary) I'm getting coefficients but not able to get the predicted and probability values