zero323 commented on a change in pull request #30413:
URL: https://github.com/apache/spark/pull/30413#discussion_r527329687
##########
File path: python/pyspark/mllib/stat/__init__.py
##########
@@ -21,8 +21,9 @@
from pyspark.mllib.stat._statistics import Statistics,
MultivariateStatisticalSummary
from pyspark.mllib.stat.distribution import MultivariateGaussian
-from pyspark.mllib.stat.test import ChiSqTestResult
+from pyspark.mllib.stat.test import ChiSqTestResult,
KolmogorovSmirnovTestResult
from pyspark.mllib.stat.KernelDensity import KernelDensity
-__all__ = ["Statistics", "MultivariateStatisticalSummary", "ChiSqTestResult",
+__all__ = ["Statistics", "MultivariateStatisticalSummary",
+ "ChiSqTestResult", "KolmogorovSmirnovTestResult",
Review comment:
These modifications where made, to add test documentation in the stats
section. Additionally, it is rather inconsistent to export one test result
class and not other.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]