You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by xiaoyan yu <xi...@gmail.com> on 2014/11/14 23:54:42 UTC

Client application that calls Spark and receives an MLlib model Scala Object and then predicts without Spark installed on hadoop

I had the same need as those documented back to July archived at
http://qnalist.com/questions/5013193/client-application-that-calls-spark-and-receives-an-mllib-model-scala-object-not-just-result
.

I wonder if anyone would like to share any successful stories.


Thanks,
Xiaoyan

Re: Client application that calls Spark and receives an MLlib model Scala Object and then predicts without Spark installed on hadoop

Posted by Xiangrui Meng <me...@gmail.com>.
If Spark is not installed on the client side, you won't be able to
deserialize the model. Instead of serializing the model object, you
may serialize the model weights array and implement predict on the
client side. -Xiangrui

On Fri, Nov 14, 2014 at 2:54 PM, xiaoyan yu <xi...@gmail.com> wrote:
> I had the same need as those documented back to July archived at
> http://qnalist.com/questions/5013193/client-application-that-calls-spark-and-receives-an-mllib-model-scala-object-not-just-result.
>
> I wonder if anyone would like to share any successful stories.
>
>
> Thanks,
> Xiaoyan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org