Github user holdenk commented on a diff in the pull request:
https://github.com/apache/spark/pull/12675#discussion_r82468590
--- Diff: python/pyspark/ml/tests.py ---
@@ -1070,6 +1070,21 @@ def test_logistic_regression_summary(self):
sameSummary = model.evaluate(df)
self.assertAlmostEqual(sameSummary.areaUnderROC, s.areaUnderROC)
+ def test_gaussian_mixture_summary(self):
+ from pyspark.mllib.linalg import Vectors
+ df =
self.spark.read.format("libsvm").load("data/mllib/sample_kmeans_data.txt")
--- End diff --
I think its ok to load a dataset which is already used for testing else
where.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]