[
https://issues.apache.org/jira/browse/SPARK-6158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14348828#comment-14348828
]
Manoj Kumar commented on SPARK-6158:
------------------------------------
I'm sorry. I'm closing this. I think of the most complex ways to solve simple
issues. Have a look at the evaluateEachIteration PR that I sent.
> Move private method boost in GradientBoostedTrees from Object to Class
> ----------------------------------------------------------------------
>
> Key: SPARK-6158
> URL: https://issues.apache.org/jira/browse/SPARK-6158
> Project: Spark
> Issue Type: Improvement
> Components: MLlib
> Reporter: Manoj Kumar
> Priority: Minor
>
> 1. a] When an instance of GradientBoostedTrees class is called and run, the
> boost method in the GradientBoostedTrees object is called ultimately. b] When
> a GradientBoostedTrees object is created and train is called, an instance of
> GradientBoostedTrees is created internally and this calls the boost method in
> a newly instantiated GradientBoostedTrees object which is confusing!
> 2. I require the finally trained models in the private method boost, for this
> (https://issues.apache.org/jira/browse/SPARK-6025) (to prevent repeated
> training). Thus it makes sense to move boost to the class
> GradientBoostedTrees where runWithValidation is already present.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]