huaxingao commented on a change in pull request #27679: [SPARK-30776][ML]
Support FValueSelector for continuous features and continuous labels
URL: https://github.com/apache/spark/pull/27679#discussion_r386599078
##########
File path: mllib/src/main/scala/org/apache/spark/ml/stat/FValueTest.scala
##########
@@ -22,18 +22,17 @@ import org.apache.commons.math3.distribution.FDistribution
import org.apache.spark.annotation.Since
import org.apache.spark.ml.linalg.{Vector, Vectors, VectorUDT}
import org.apache.spark.ml.util.SchemaUtils
-import org.apache.spark.sql.{DataFrame, Row}
+import org.apache.spark.sql.{DataFrame, Dataset, Row}
import org.apache.spark.sql.functions._
-
/**
* FValue test for continuous data.
*/
@Since("3.1.0")
object FValueTest {
/** Used to construct output schema of tests */
- private case class FValueResult(
+ case class FValueResult(
Review comment:
will put back ```private```
----------------------------------------------------------------
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]