Re: Is there synchronous way to predict against model for real time data

2016-12-15 Thread vincent gromakowski
model > and get prediction before rendering anything on page. > > How can I do this synchronously? > > Regards, > > Suyog > > > > -- > View this message in context: http://apache-spark-user-list. > 1001560.n3.nabble.com/Is-there-synchronous-way-to-

Is there synchronous way to predict against model for real time data

2016-12-15 Thread suyogchoudh...@gmail.com
prediction before rendering anything on page. How can I do this synchronously? Regards, Suyog -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Is-there-synchronous-way-to-predict-against-model-for-real-time-data-tp28222.html Sent from the Apache Spark User

Is there synchronous way to predict against model for real time data

2016-12-15 Thread suyog choudhari
Hi, I have question about, how can I real time make decision using a model I have created with Spark ML. 1. I have some data and created model using it. // Train the model val model = new LogisticRegressionWithLBFGS().setNumClasses(2).run( trainingData) 2. I believe, I can use spark