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 streaming to get real time feed and then
predict result against model created in step1

3. My question is, how can I do it in synchronous way? 

For e.g. lets say if some customer logs in to my site, then according to his
data, I want to personalize his site. I want to send his attributes to 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-predict-against-model-for-real-time-data-tp28222.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to