If you want to train offline and predict online, you can use the current LR implementation to train a model and then apply model.predict on the dstream. -Xiangrui
On Sun, Dec 7, 2014 at 6:30 PM, Nasir Khan <nasirkhan.onl...@gmail.com> wrote: > I am new to spark. > Lets say i want to develop a machine learning model. which trained on normal > method in MLlib. I want to use that model with classifier Logistic > regression and predict the streaming data coming from a file or socket. > > > Streaming data -> Logistic Regression -> binary label prediction. > > Is it possible? since there is no streaming logistic regression algo like > streaming linear regression. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/MLlib-Logistic-Regression-Spark-Streaming-tp20564.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org