zhengruifeng opened a new pull request #28045: [SPARK-31283][ML] Simplify ChiSq by adding a common method URL: https://github.com/apache/spark/pull/28045 ### What changes were proposed in this pull request? add a common method `computeChiSq` and reuse it in both `chiSquaredDenseFeatures` and `chiSquaredSparseFeatures` ### Why are the changes needed? to simplify ChiSq ### 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]
