kages/randomForest/randomForest.pdf
>
> mytry=3
>
> ntree=500
>
> importance=TRUE
>
> maxnodes = NULL
>
> On May 31, 2016 7:03 AM, "Sun Rui" wrote:
>>
>> I mean train random forest model (not using R) and use it for prediction
together using Spark M
packages/randomForest/randomForest.pdf>
mytry=3
ntree=500
importance=TRUE
maxnodes = NULL
On May 31, 2016 7:03 AM, "Sun Rui" wrote:
I mean train random forest model (not using R) and use it for prediction
together using Spark ML.
On May 30, 2016, at 20:15, Neha Mehta wrote:
Th
> Regards,
> Yuhao
>
> 2016-06-01 21:18 GMT+08:00 Neha Mehta :
>
>> Hi,
>>
>> I am performing Regression using Random Forest. In my input vector, I
>> want the algorithm to ignore certain columns/features while training the
>> classifier and also whi
Hi,
I am performing Regression using Random Forest. In my input vector, I want
the algorithm to ignore certain columns/features while training the
classifier and also while prediction. These are basically Id columns. I
checked the documentation and could not find any information on the same.
Requ
t; Subject: Re: Can we use existing R model in Spark
> To: Sun Rui
> Cc: Neha Mehta , user
>
>
> Try to invoke a R script from Spark using rdd pipe method , get the work
> done & and receive the model back in RDD.
>
>
> for ex :-
> . rdd.pipe(&quo
Hi,
I have an existing random forest model created using R. I want to use that
to predict values on Spark. Is it possible to do the same? If yes, then how?
Thanks & Regards,
Neha
rdd = sc.parallelize(arr)
>
> val prdd = rdd.map(a => (a._1,a))
> val totals = prdd.groupByKey.map(a => (a._1, a._2.size))
>
> var n1 = rdd.map(a => ((a._1, a._2), 1) )
> var n2 = n1.reduceByKey(_+_).map(a => (a._1._1, (a._1._2, a._2)))
> var n3 = n2.join(to
C$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:112)
at
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:114)
at
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:116)
..
Thanks for the help.
Regards,
Neha Mehta
C$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:112)
at
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:114)
at
$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.(:116)
..
Thanks for the help.
Regards,
Neha Mehta