[ 
https://issues.apache.org/jira/browse/SPARK-20199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15967574#comment-15967574
 ] 

pralabhkumar commented on SPARK-20199:
--------------------------------------

Shouldn't there be a parameter in GBMParameters() 

val gbmParams = new GBMParameters()
gbmParams._featuresubsetStrategy="auto"

and then in 

private[ml] def train(data: RDD[LabeledPoint],
      oldStrategy: OldStrategy): DecisionTreeRegressionModel = {

we should have
oldStrategy.getStrategy() and set it in

val trees = RandomForest.run(data, oldStrategy, numTrees = 1, 
featureSubsetStrategy = oldStrategy.getStrategy(), seed = $(seed), instr = 
Some(instr), parentUID = Some(uid))

> GradientBoostedTreesModel doesn't have  Column Sampling Rate Paramenter
> -----------------------------------------------------------------------
>
>                 Key: SPARK-20199
>                 URL: https://issues.apache.org/jira/browse/SPARK-20199
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib
>    Affects Versions: 2.1.0
>            Reporter: pralabhkumar
>
> Spark GradientBoostedTreesModel doesn't have Column  sampling rate parameter 
> . This parameter is available in H2O and XGBoost. 
> Sample from H2O.ai 
> gbmParams._col_sample_rate
> Please provide the parameter . 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to