huaxingao opened a new pull request #27882: [SPARK-31127][ML] Add abstract 
Selector
URL: https://github.com/apache/spark/pull/27882
 
 
   
   ### What changes were proposed in this pull request?
   Add abstract ```Selector```. Put the common code between ```ChiSqSelector``` 
and ```FValueSelector``` to ```Selector```.
   
   
   ### Why are the changes needed?
   Code reuse.
   
   
   ### Does this PR introduce any user-facing change?
   Yes.
   Add ```pValues``` and ```statistics``` to ```SelectorModel```
   
   
   ### How was this patch tested?
   New and existing 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