zhengruifeng opened a new pull request #27979: [SPARK-31138][ML][FOLLOWUP] 
ANOVA optimization
URL: https://github.com/apache/spark/pull/27979
 
 
   ### What changes were proposed in this pull request?
   1, remove unused var `numFeatures`;
   2, remove the computation of `numSamples` and `numClasses`, since they can 
be directly infered by `counts: Map[Double, Long]`
   
   
   ### Why are the changes needed?
   remove a unnecessary job to compute `numSamples` and `numClasses`
   
   
   ### Does this PR introduce any user-facing change?
   No
   
   
   ### How was this patch tested?
   existing testsuites

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