diff options
author | Michelangelo D'Agostino <mdagostino@civisanalytics.com> | 2014-11-07 22:53:01 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-11-07 22:53:22 -0800 |
commit | 427d7911f527e00e75dec0498b4bbdbe164db7ca (patch) | |
tree | 59f03936200f7a6a5502a5bf70e94631c03c63c7 /network/common/pom.xml | |
parent | 3b07c483aa98965ac9dc8fdcc40e593e4edb97fd (diff) | |
download | spark-427d7911f527e00e75dec0498b4bbdbe164db7ca.tar.gz spark-427d7911f527e00e75dec0498b4bbdbe164db7ca.tar.bz2 spark-427d7911f527e00e75dec0498b4bbdbe164db7ca.zip |
[MLLIB] [PYTHON] SPARK-4221: Expose nonnegative ALS in the python API
SPARK-1553 added alternating nonnegative least squares to MLLib, however it's not possible to access it via the python API. This pull request resolves that.
Author: Michelangelo D'Agostino <mdagostino@civisanalytics.com>
Closes #3095 from mdagost/python_nmf and squashes the following commits:
a6743ad [Michelangelo D'Agostino] Use setters instead of static methods in PythonMLLibAPI. Remove the new static methods I added. Set seed in tests. Change ratings to ratingsRDD in both train and trainImplicit for consistency.
7cffd39 [Michelangelo D'Agostino] Swapped nonnegative and seed in a few more places.
3fdc851 [Michelangelo D'Agostino] Moved seed to the end of the python parameter list.
bdcc154 [Michelangelo D'Agostino] Change seed type to java.lang.Long so that it can handle null.
cedf043 [Michelangelo D'Agostino] Added in ability to set the seed from python and made that play nice with the nonnegative changes. Also made the python ALS tests more exact.
a72fdc9 [Michelangelo D'Agostino] Expose nonnegative ALS in the python API.
(cherry picked from commit 7e9d975676d56ace0e84c2200137e4cd4eba074a)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
Diffstat (limited to 'network/common/pom.xml')
0 files changed, 0 insertions, 0 deletions