huaxingao opened a new pull request #26154: [SPARK-29232][ML] Update the 
parameter maps of the DecisionTreeRegression/Classification Models
URL: https://github.com/apache/spark/pull/26154
 
 
   ### What changes were proposed in this pull request?
   The trees (Array[```DecisionTreeRegressionModel```]) in 
```RandomForestRegressionModel``` only contains the default parameter value. 
Need to update the parameter maps for these trees. 
   Same issues in ```RandomForestClassifier```, ```GBTClassifier``` and 
```GBTRegressor```
   
   
   ### Why are the changes needed?
   User wants to access each individual tree and build the trees back up for 
the random forest estimator. This doesn't work because trees don't have the 
correct parameter values
   
   ### Does this PR introduce any user-facing change?
   Yes. Now the trees in ```RandomForestRegressionModel```, 
```RandomForestClassifier```, ```GBTClassifier``` and ```GBTRegressor``` have 
the correct parameter values. 
   
   
   ### How was this patch tested?
   Add tests
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to