Github user jkbradley commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5707#discussion_r29821465
  
    --- Diff: python/pyspark/mllib/tests.py ---
    @@ -789,6 +790,29 @@ def test_model_transform(self):
             self.assertEqual(model.transform([1.0, 2.0, 3.0]), 
DenseVector([1.0, 2.0, 3.0]))
     
     
    +class MLUtilsTests(MLlibTestCase):
    +    def test_append_bias(self):
    +        data = [1.0, 2.0, 3.0]
    --- End diff --
    
    First value should not be 1.0 since it could be confused with the appended 
bias


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

Reply via email to