Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/460#discussion_r12010640
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/recommendation/ALS.scala ---
@@ -91,7 +93,7 @@ case class Rating(val user: Int, val product: Int, val
rating: Double)
* indicated user
* preferences rather than explicit ratings given to items.
*/
-class ALS private (
+class ALS (
--- End diff --
Users don't need to use this default constructor. We have a public
constructor with no arguments:
~~~
def this() = this(-1, 10, 10, 0.01, false, 1.0)
~~~
So we can leave it private.
---
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.
---