For linear models, the constructors are now public. You can save the
weights to HDFS, then load the weights back and use the constructor to
create the model. -Xiangrui

On Mon, Aug 11, 2014 at 10:27 PM, XiaoQinyu <xiaoqinyu_sp...@outlook.com> wrote:
> hello:
>
> I want to know,if I use history data to training model and I want to use
> this model in other app.How should I do?
>
> Should I save this model in disk? And when I use this model then load it
> from disk.But I don't know how to save the mllib model,and reload it?
>
> I will be very pleasure,if anyone can give some tips.
>
> Thanks
>
> XiaoQinyu
>
>
>
> --
> View this message in context: 
> http://apache-spark-user-list.1001560.n3.nabble.com/How-to-save-mllib-model-to-hdfs-and-reload-it-tp11953.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

Reply via email to