We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8abddc commit 9401b16Copy full SHA for 9401b16
examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala
@@ -106,9 +106,11 @@ object MovieLensALS {
106
107
Logger.getRootLogger.setLevel(Level.WARN)
108
109
+ val implicitPrefs = params.implicitPrefs
110
+
111
val ratings = sc.textFile(params.input).map { line =>
112
val fields = line.split("::")
- if (params.implicitPrefs) {
113
+ if (implicitPrefs) {
114
/*
115
* MovieLens ratings are on a scale of 1-5:
116
* 5: Must see
0 commit comments