GitHub user GeorgeDittmar opened a pull request:
https://github.com/apache/spark/pull/6112
[Spark-7422][MLLIB] Add argmax to Vector, SparseVector
Modifying Vector, DenseVector, and SparseVector to implement argmax
functionality. This work is to set the stage for changes to be done in
Spark-7423.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/GeorgeDittmar/spark SPARK-7422
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6112.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 #6112
----
commit 04677afaeb214c814df84677a9462b763ad7fca2
Author: George <[email protected]>
Date: 2015-05-11T06:30:29Z
initial work on adding argmax to Vector and SparseVector
commit 3cffed45fa6265c0e258adb0efcfe99a8e06f3ae
Author: George <[email protected]>
Date: 2015-05-12T05:37:35Z
Adding unit tests for argmax functions for Dense and Sparse vectors
commit df9538a51d02e35ea12a0759726975ecb1a89981
Author: George <[email protected]>
Date: 2015-05-12T06:00:09Z
Added argmax to sparse vector and added unit test
----
---
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]