Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/460#discussion_r11985263
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala ---
@@ -627,6 +684,37 @@ object ALS {
* @param blocks level of parallelism to split computation into
* @param alpha confidence parameter (only applies when
immplicitPrefs = true)
* @param seed random seed
+ * @param nonnegative Whether to impose nonnegativity upon the user and
product factors
+ */
+ def trainImplicit(
+ ratings: RDD[Rating],
+ rank: Int,
+ iterations: Int,
+ lambda: Double,
+ blocks: Int,
+ alpha: Double,
+ seed: Long,
+ nonnegative: Boolean
--- End diff --
Ditto.
---
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.
---