spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holden Karau <hol...@pigscanfly.ca>
Subject Re: pyspark 1.5 0 save model ?
Date Mon, 18 Jul 2016 18:09:39 GMT
If you used RandomForestClassifier from mllib you can use the save method
described in
http://spark.apache.org/docs/1.5.0/api/python/pyspark.mllib.html#module-pyspark.mllib.classification
which will write out some JSON metadata as well as parquet for the actual
model.
For the newer ml pipeline one it seems that the writable traits were added
on April 8th to master - so it isn't available yet.

On Mon, Jul 18, 2016 at 2:58 AM, pseudo oduesp <pseudo20140@gmail.com>
wrote:

> Hi,
> how i can save model under pyspakr 1.5.0  ?
>  i use RandomForestClassifier()
> thanks in advance.
>



-- 
Cell : 425-233-8271
Twitter: https://twitter.com/holdenkarau

Mime
View raw message