spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Mistroni <mmistr...@gmail.com>
Subject Re: RandomForestClassifier
Date Wed, 20 Jul 2016 17:24:46 GMT
Hi
 afaik yes (other pls override ). Generally, in RandomForest and
DecisionTree you have a column which you are trying to 'predict' (the
label) and a set of features that are used to predict the outcome.
i would assume that if you specify thelabel column and the 'features'
columns, everything else is ignored...

kr

On Wed, Jul 20, 2016 at 6:03 PM, pseudo oduesp <pseudo20140@gmail.com>
wrote:

> hi ,
>  we have parmaters named
>
>
> labelCol="labe"
>
>
> ,featuresCol="features",
>
> when i precise the value here (label and features)  if  train my model on
> data frame with other columns  tha algorithme choos only label columns and
> features columns ?
>
> thanks
>

Mime
View raw message