You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by ma...@apache.org on 2013/10/09 08:45:12 UTC
[05/10] git commit: Fixing closing brace indentation
Fixing closing brace indentation
Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/6a7836cd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/6a7836cd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/6a7836cd
Branch: refs/heads/master
Commit: 6a7836cddcf3ae0322e76cd5f79f6dd9ea73a09c
Parents: 0bd9b37
Author: Nick Pentreath <ni...@gmail.com>
Authored: Fri Oct 4 13:33:01 2013 +0200
Committer: Nick Pentreath <ni...@gmail.com>
Committed: Fri Oct 4 13:33:01 2013 +0200
----------------------------------------------------------------------
.../java/org/apache/spark/mllib/recommendation/JavaALSSuite.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/6a7836cd/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
----------------------------------------------------------------------
diff --git a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java b/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
index ec545ef..c8e59f7 100644
--- a/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
+++ b/mllib/src/test/java/org/apache/spark/mllib/recommendation/JavaALSSuite.java
@@ -90,8 +90,8 @@ public class JavaALSSuite implements Serializable {
double err = confidence * (truePref - prediction) * (truePref - prediction);
sqErr += err;
denom += 1.0;
- }
}
+ }
double rmse = Math.sqrt(sqErr / denom);
Assert.assertTrue(String.format("Confidence-weighted RMSE=%2.4f above threshold of %2.2f",
rmse, matchThreshold), Math.abs(rmse) < matchThreshold);