GitHub user zero323 opened a pull request:
https://github.com/apache/spark/pull/12511
[SPARK-14739][WIP][PYTHON][ML]
## What changes were proposed in this pull request?
Fix parsing empty dense and sparse vectors, correct dead parsing tests.
## How was this patch tested?
Fixed parsing tests, added tests specific to SPARK-14739
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zero323/spark SPARK-14739
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12511.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12511
----
commit 0433338f5c20f94f1dceee3ac01fe9ff32cf4496
Author: zero323 <[email protected]>
Date: 2016-04-19T23:32:17Z
Add tests for SPARK-14739
commit f46da1b76fbdfc46ced8133b69fcb08a003ee308
Author: zero323 <[email protected]>
Date: 2016-04-19T23:20:22Z
Fix parsing for empty DenseVector
commit 6e50f77a56549dda296f4c7bfb75942e344d4890
Author: zero323 <[email protected]>
Date: 2016-04-20T00:01:54Z
Fix pre-existing tests
commit be9809a214e61faba0305254df8f9e867a70a229
Author: zero323 <[email protected]>
Date: 2016-04-19T23:26:39Z
Fix parsing of an empty SparseVector
----
---
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]