spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkbradley <...@git.apache.org>
Subject [GitHub] spark pull request: [WIP][SPARK-7380][MLLIB] pipeline stages shoul...
Date Fri, 15 May 2015 00:39:29 GMT
Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6088#discussion_r30377480
  
    --- Diff: python/pyspark/ml/tests.py ---
    @@ -94,16 +89,13 @@ def test_pipeline(self):
             pipeline = Pipeline() \
                 .setStages([estimator0, transformer1, estimator2, transformer3])
             pipeline_model = pipeline.fit(dataset, {estimator0.fake: 0, transformer1.fake:
1})
    -        self.assertEqual(0, estimator0.dataset_index)
    -        self.assertEqual(0, estimator0.fake_param_value)
    -        model0 = estimator0.model
    +        model0, transformer1, model2, transformer3 = pipeline_model.stages
             self.assertEqual(0, model0.dataset_index)
    --- End diff --
    
    Why no longer test for fake_param_value?


---
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


Mime
View raw message