spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pralabhkumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20199) GradientBoostedTreesModel doesn't have Column Sampling Rate Paramenter
Date Thu, 13 Apr 2017 13:22:41 GMT

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message