spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yanbo Liang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-7132) Add fit with validation set to spark.ml GBT
Date Tue, 01 Sep 2015 07:02:45 GMT

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

Yanbo Liang edited comment on SPARK-7132 at 9/1/15 7:02 AM:
------------------------------------------------------------

I will work on this issue.
[~josephkb]
I propose another way to resolve this issue.
The GBT Estimator remains take 1 input {code|DataFrame}, and we will split it into training
and validation dataset internal.
Because the runWithValidation interface will take RDD[LabeledPoint] as input, it's easy to
handle this.
And at the end of the GBT Estimator, we can also union these two dataset.


was (Author: yanboliang):
I will work on this issue.
[~josephkb]
I propose another way to resolve this issue.
The GBT Estimator remains take 1 input {DataFrame}, and we will split it into training and
validation dataset internal.
Because the runWithValidation interface will take RDD[LabeledPoint] as input, it's easy to
handle this.
And at the end of the GBT Estimator, we can also union these two dataset.

> Add fit with validation set to spark.ml GBT
> -------------------------------------------
>
>                 Key: SPARK-7132
>                 URL: https://issues.apache.org/jira/browse/SPARK-7132
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> In spark.mllib GradientBoostedTrees, we have a method runWithValidation which takes a
validation set.  We should add that to the spark.ml API.
> This will require a bit of thinking about how the Pipelines API should handle a validation
set (since Transformers and Estimators only take 1 input DataFrame).  The current plan is
to include an extra column in the input DataFrame which indicates whether the row is for training,
validation, etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message