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

Joseph K. Bradley commented on SPARK-6158:
------------------------------------------

I'm also not clear on what you're saying about multiple object creations.  The 
GradientBoostedTrees object is a static object which is only created once.  Do 
you mean instances of some class?

> 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]

Reply via email to