Re: Can't load a RandomForestClassificationModel in Spark job

2017-02-16 Thread Russell Jurney
> > > > > On the other hand, if we run in the local, everything works fine. > > > > Just want to know, if there is any successful case that run machine > learning models on the workers. > > > > > > Thanks, > > Jianhong > > > > >

RE: Can't load a RandomForestClassificationModel in Spark job

2017-02-16 Thread Jianhong Xia
rsday, January 12, 2017 6:20 PM To: ayan guha mailto:guha.a...@gmail.com>>; user@spark.apache.org<mailto:user@spark.apache.org> Subject: Re: Can't load a RandomForestClassificationModel in Spark job Yes, I save it to S3 in a different process. It is actually the RandomForestClassifi

Re: Can't load a RandomForestClassificationModel in Spark job

2017-02-14 Thread Hollin Wilkins
rning models on the workers. > > > > > > Thanks, > > Jianhong > > > > > > *From:* Sumona Routh [mailto:sumos...@gmail.com] > *Sent:* Thursday, January 12, 2017 6:20 PM > *To:* ayan guha ; user@spark.apache.org > *Subject:* Re: Can't load a Rand

RE: Can't load a RandomForestClassificationModel in Spark job

2017-02-14 Thread Jianhong Xia
x27;t load a RandomForestClassificationModel in Spark job Yes, I save it to S3 in a different process. It is actually the RandomForestClassificationModel.load method (passed an s3 path) where I run into problems. When you say you load it during map stages, do you mean that you are able to dir

Re: Can't load a RandomForestClassificationModel in Spark job

2017-01-12 Thread Sumona Routh
Yes, I save it to S3 in a different process. It is actually the RandomForestClassificationModel.load method (passed an s3 path) where I run into problems. When you say you load it during map stages, do you mean that you are able to directly load a model from inside of a transformation? When I try t

Re: Can't load a RandomForestClassificationModel in Spark job

2017-01-12 Thread ayan guha
Hi Given training and predictions are two different applications, I typically save model objects to hdfs and load it back during prediction map stages. Best Ayan On Fri, 13 Jan 2017 at 5:39 am, Sumona Routh wrote: > Hi all, > I've been working with Spark mllib 2.0.2 RandomForestClassificationMo

Can't load a RandomForestClassificationModel in Spark job

2017-01-12 Thread Sumona Routh
Hi all, I've been working with Spark mllib 2.0.2 RandomForestClassificationModel. I encountered two frustrating issues and would really appreciate some advice: 1) RandomForestClassificationModel is effectively not serializable (I assume it's referencing something that can't be serialized, since