Github user mengxr commented on a diff in the pull request: https://github.com/apache/spark/pull/597#discussion_r12334516 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala --- @@ -88,7 +92,11 @@ object MovieLensALS { val ratings = sc.textFile(params.input).map { line => val fields = line.split("::") - Rating(fields(0).toInt, fields(1).toInt, fields(2).toDouble) + if (params.implicitPrefs) { + Rating(fields(0).toInt, fields(1).toInt, fields(2).toDouble - 2.5) --- End diff -- Could you summarize our discussion and put a comment here explaining why we use `- 2.5`?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---