Skip to content
Snippets Groups Projects
Commit 2a8c2a67 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Minor formatting fixes

parent 5d473f05
No related branches found
No related tags found
No related merge requests found
......@@ -75,8 +75,8 @@ object SparkALS {
(0 to 5).map(i => {
i match {
case a if a < args.length => Option(args(a))
case _ => Option(null)
case a if a < args.length => Some(args(a))
case _ => None
}
}).toArray match {
case Array(host_, m, u, f, iters, slices_) => {
......
......@@ -68,4 +68,4 @@ if __name__ == "__main__":
error = rmse(R, ms, us)
print "Iteration %d:" % i
print "\nRMSE: %5.4f\n" % error
\ No newline at end of file
print "\nRMSE: %5.4f\n" % error
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment