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 = 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. > > Please help > > -- > Thanks and Regards > Arun >