zhengruifeng opened a new pull request, #58725:
URL: https://github.com/apache/spark/pull/58725

   ### What changes were proposed in this pull request?
   
   This is a follow-up to #58454.
   
   This pull request aligns the local column and UDF names in
   `DecisionTreeRegressionModel.transform` with the other tree regression 
models and removes the
   unused `predictVariance` method. The variance prediction logic was moved 
directly into the
   transform UDF by #58454.
   
   ### Why are the changes needed?
   
   The old helper became unused after the transform closure optimization, and 
consistent local names
   make the related tree regression transform implementations easier to compare 
and maintain.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   The following checks passed:
   
   ```
   build/sbt mllib/compile
   git diff --check upstream/master...HEAD
   ```
   
   Changed-file line-length and non-ASCII checks also passed.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: OpenAI Codex (GPT-5)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to