huaxingao commented on a change in pull request #27895: [SPARK-31138][ML] Add 
ANOVA Selector for continuous features and categorical labels
URL: https://github.com/apache/spark/pull/27895#discussion_r392717974
 
 

 ##########
 File path: mllib/src/main/scala/org/apache/spark/ml/stat/FValueTest.scala
 ##########
 @@ -44,7 +44,7 @@ object FValueTest {
    * @return DataFrame containing the test result for every feature against 
the label.
    *         This DataFrame will contain a single Row with the following 
fields:
    *          - `pValues: Vector`
-   *          - `degreesOfFreedom: Array[Int]`
+   *          - `degreesOfFreedom: Array[Long]`
 
 Review comment:
   DoF = ```numSamples - 2```, so it could be very large. 

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