GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/11757
[SPARK-13927][MLLIB] add row/column iterator to local matrices
## What changes were proposed in this pull request?
Add row/column iterator to local matrices to simplify tasks like
BlockMatrix => RowMatrix conversion. It handles dense and sparse matrices
properly.
## How was this patch tested?
Unit tests on sparse and dense matrix.
cc: @dbtsai
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-13927
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11757.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 #11757
----
commit fa4389e9e123164619ae77622453baa54ba3a3e3
Author: Xiangrui Meng <[email protected]>
Date: 2016-03-16T06:44:21Z
add rowIter/colIter to Matrix
commit 3d76781f0c530cb31fc16e2b32dc8dc0c38aa481
Author: Xiangrui Meng <[email protected]>
Date: 2016-03-16T06:56:41Z
add mima excludes
----
---
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]