spark git commit: rmse was wrongly calculated
Repository: spark Updated Branches: refs/heads/branch-1.5 0ed6d9cf3 -> 4b8dc2556 rmse was wrongly calculated It was multiplying with U instaed of dividing by U Author: Viveka Kulharia Closes #9771 from vivkul/patch-1. (cherry picked from commit 1429e0a2b562469146b6fa06051c85a00092e5b8) Signed-off-by: Sean Owen Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4b8dc255 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4b8dc255 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4b8dc255 Branch: refs/heads/branch-1.5 Commit: 4b8dc25562e150e5ebc46b03a105c55de3098a1a Parents: 0ed6d9c Author: Viveka Kulharia Authored: Wed Nov 18 09:10:15 2015 + Committer: Sean Owen Committed: Wed Nov 18 09:10:43 2015 + -- examples/src/main/python/als.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/4b8dc255/examples/src/main/python/als.py -- diff --git a/examples/src/main/python/als.py b/examples/src/main/python/als.py index 1c3a787..205ca02 100755 --- a/examples/src/main/python/als.py +++ b/examples/src/main/python/als.py @@ -36,7 +36,7 @@ np.random.seed(42) def rmse(R, ms, us): diff = R - ms * us.T -return np.sqrt(np.sum(np.power(diff, 2)) / M * U) +return np.sqrt(np.sum(np.power(diff, 2)) / (M * U)) def update(i, vec, mat, ratings): - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: rmse was wrongly calculated
Repository: spark Updated Branches: refs/heads/master 9631ca352 -> 1429e0a2b rmse was wrongly calculated It was multiplying with U instaed of dividing by U Author: Viveka Kulharia Closes #9771 from vivkul/patch-1. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1429e0a2 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1429e0a2 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1429e0a2 Branch: refs/heads/master Commit: 1429e0a2b562469146b6fa06051c85a00092e5b8 Parents: 9631ca3 Author: Viveka Kulharia Authored: Wed Nov 18 09:10:15 2015 + Committer: Sean Owen Committed: Wed Nov 18 09:10:15 2015 + -- examples/src/main/python/als.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/1429e0a2/examples/src/main/python/als.py -- diff --git a/examples/src/main/python/als.py b/examples/src/main/python/als.py index 1c3a787..205ca02 100755 --- a/examples/src/main/python/als.py +++ b/examples/src/main/python/als.py @@ -36,7 +36,7 @@ np.random.seed(42) def rmse(R, ms, us): diff = R - ms * us.T -return np.sqrt(np.sum(np.power(diff, 2)) / M * U) +return np.sqrt(np.sum(np.power(diff, 2)) / (M * U)) def update(i, vec, mat, ratings): - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: rmse was wrongly calculated
Repository: spark Updated Branches: refs/heads/branch-1.6 34ded83ed -> 48bfe3f89 rmse was wrongly calculated It was multiplying with U instaed of dividing by U Author: Viveka Kulharia Closes #9771 from vivkul/patch-1. (cherry picked from commit 1429e0a2b562469146b6fa06051c85a00092e5b8) Signed-off-by: Sean Owen Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/48bfe3f8 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/48bfe3f8 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/48bfe3f8 Branch: refs/heads/branch-1.6 Commit: 48bfe3f894c321bee7f1868b1d07939b59f8ba77 Parents: 34ded83 Author: Viveka Kulharia Authored: Wed Nov 18 09:10:15 2015 + Committer: Sean Owen Committed: Wed Nov 18 09:10:28 2015 + -- examples/src/main/python/als.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/48bfe3f8/examples/src/main/python/als.py -- diff --git a/examples/src/main/python/als.py b/examples/src/main/python/als.py index 1c3a787..205ca02 100755 --- a/examples/src/main/python/als.py +++ b/examples/src/main/python/als.py @@ -36,7 +36,7 @@ np.random.seed(42) def rmse(R, ms, us): diff = R - ms * us.T -return np.sqrt(np.sum(np.power(diff, 2)) / M * U) +return np.sqrt(np.sum(np.power(diff, 2)) / (M * U)) def update(i, vec, mat, ratings): - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
spark git commit: rmse was wrongly calculated
Repository: spark Updated Branches: refs/heads/branch-1.4 073c89f06 -> e12fbd80c rmse was wrongly calculated It was multiplying with U instaed of dividing by U Author: Viveka Kulharia Closes #9771 from vivkul/patch-1. (cherry picked from commit 1429e0a2b562469146b6fa06051c85a00092e5b8) Signed-off-by: Sean Owen Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e12fbd80 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e12fbd80 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e12fbd80 Branch: refs/heads/branch-1.4 Commit: e12fbd80c33dc119b0b336b43495a0afd952dea9 Parents: 073c89f Author: Viveka Kulharia Authored: Wed Nov 18 09:10:15 2015 + Committer: Sean Owen Committed: Wed Nov 18 09:10:54 2015 + -- examples/src/main/python/als.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/spark/blob/e12fbd80/examples/src/main/python/als.py -- diff --git a/examples/src/main/python/als.py b/examples/src/main/python/als.py index 1c3a787..205ca02 100755 --- a/examples/src/main/python/als.py +++ b/examples/src/main/python/als.py @@ -36,7 +36,7 @@ np.random.seed(42) def rmse(R, ms, us): diff = R - ms * us.T -return np.sqrt(np.sum(np.power(diff, 2)) / M * U) +return np.sqrt(np.sum(np.power(diff, 2)) / (M * U)) def update(i, vec, mat, ratings): - To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org