diff options
author | Reynold Xin <rxin@apache.org> | 2014-01-13 18:45:20 -0800 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-01-13 18:45:20 -0800 |
commit | 8e5c7324303ee9a9a61ad35e94ada5638ca0cf70 (patch) | |
tree | 772e77a4b5a988dd1fecfa4ebe3cda45b46daefe /graphx/src/test/scala | |
parent | 1dce9ce446dd248755cd65b7a6a0729a4dca2d62 (diff) | |
download | spark-8e5c7324303ee9a9a61ad35e94ada5638ca0cf70.tar.gz spark-8e5c7324303ee9a9a61ad35e94ada5638ca0cf70.tar.bz2 spark-8e5c7324303ee9a9a61ad35e94ada5638ca0cf70.zip |
Moved SVDPlusPlusConf into SVDPlusPlus object itself.
Diffstat (limited to 'graphx/src/test/scala')
-rw-r--r-- | graphx/src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphx/src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala b/graphx/src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala index a4a1cdab18..e173c652a5 100644 --- a/graphx/src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala +++ b/graphx/src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala @@ -18,7 +18,7 @@ class SVDPlusPlusSuite extends FunSuite with LocalSparkContext { val fields = line.split(",") Edge(fields(0).toLong * 2, fields(1).toLong * 2 + 1, fields(2).toDouble) } - val conf = new SVDPlusPlusConf(10, 2, 0.0, 5.0, 0.007, 0.007, 0.005, 0.015) // 2 iterations + val conf = new SVDPlusPlus.Conf(10, 2, 0.0, 5.0, 0.007, 0.007, 0.005, 0.015) // 2 iterations var (graph, u) = SVDPlusPlus.run(edges, conf) graph.cache() val err = graph.vertices.collect.map{ case (vid, vd) => |