aboutsummaryrefslogtreecommitdiff
path: root/mllib/src/main
diff options
context:
space:
mode:
authorJoseph K. Bradley <joseph@databricks.com>2017-03-21 11:01:25 -0700
committerJoseph K. Bradley <joseph@databricks.com>2017-03-21 11:01:25 -0700
commitae4b91d1f5734b9d66f3b851b71b3c179f3cdd76 (patch)
tree0454a5baf94bfaca9f211d5ff61c2ac2181bcb62 /mllib/src/main
parent4c0ff5f58565f811b65f1a11b6121da007bcbd5f (diff)
downloadspark-ae4b91d1f5734b9d66f3b851b71b3c179f3cdd76.tar.gz
spark-ae4b91d1f5734b9d66f3b851b71b3c179f3cdd76.tar.bz2
spark-ae4b91d1f5734b9d66f3b851b71b3c179f3cdd76.zip
[SPARK-20039][ML] rename ChiSquare to ChiSquareTest
## What changes were proposed in this pull request? I realized that since ChiSquare is in the package stat, it's pretty unclear if it's the hypothesis test, distribution, or what. This PR renames it to ChiSquareTest to clarify this. ## How was this patch tested? Existing unit tests Author: Joseph K. Bradley <joseph@databricks.com> Closes #17368 from jkbradley/SPARK-20039.
Diffstat (limited to 'mllib/src/main')
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquareTest.scala (renamed from mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquare.scala)2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquare.scala b/mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquareTest.scala
index c3865ce6a9..21eba9a498 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquare.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/stat/ChiSquareTest.scala
@@ -37,7 +37,7 @@ import org.apache.spark.sql.functions.col
*/
@Experimental
@Since("2.2.0")
-object ChiSquare {
+object ChiSquareTest {
/** Used to construct output schema of tests */
private case class ChiSquareResult(