You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2015/04/28 16:03:27 UTC
flink git commit: [docs] [ml] Fixes wrong ALS example code
Repository: flink
Updated Branches:
refs/heads/master 64607433d -> b0df4f4d9
[docs] [ml] Fixes wrong ALS example code
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/b0df4f4d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/b0df4f4d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/b0df4f4d
Branch: refs/heads/master
Commit: b0df4f4d9c7b30d544476e06c54693c3a577965d
Parents: 6460743
Author: Till Rohrmann <tr...@apache.org>
Authored: Tue Apr 28 16:02:57 2015 +0200
Committer: Till Rohrmann <tr...@apache.org>
Committed: Tue Apr 28 16:02:57 2015 +0200
----------------------------------------------------------------------
docs/libs/ml/als.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/b0df4f4d/docs/libs/ml/als.md
----------------------------------------------------------------------
diff --git a/docs/libs/ml/als.md b/docs/libs/ml/als.md
index 7a4a5d5..951fc3c 100644
--- a/docs/libs/ml/als.md
+++ b/docs/libs/ml/als.md
@@ -144,7 +144,7 @@ val als = ALS()
// Set the other parameters via a parameter map
val parameters = ParameterMap()
.add(ALS.Lambda, 0.9)
-.add(ALS.Seed, 42)
+.add(ALS.Seed, 42l)
// Calculate the factorization
val factorization = als.fit(inputDS, parameters)