zhengruifeng opened a new pull request #27461: [SPARK-30736][ML] One-Pass 
ChiSquareTest
URL: https://github.com/apache/spark/pull/27461
 
 
   ### What changes were proposed in this pull request?
   1, distributedly collect matrix `contingency` of each feature
   2, distributedly compute the results and then collect them back to the driver
   
   ### Why are the changes needed?
   existing impl is not efficient:
   1, it directly collect matrix `contingency` of partial featues to driver and 
compute the corresponding result one pass;
   2, a matrix  `contingency` of a featues is of size numDistinctValues X 
numDistinctLabels, so only 1000 can be collect on one pass;
   
   
   ### 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