Github user mengxr commented on a diff in the pull request: https://github.com/apache/spark/pull/597#discussion_r12363021 --- 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 -- The part starting from `-- which doesn't quite fit` is a little confusing. I think it is okay to end the comment at `at all".` Also we need some comments for the evaluation part.
--- 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. ---