You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by holdenk <gi...@git.apache.org> on 2016/10/07 20:59:46 UTC
[GitHub] spark pull request #12675: [SPARK-14894][PySpark] Add result summary api to ...
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org