From 8e5c7324303ee9a9a61ad35e94ada5638ca0cf70 Mon Sep 17 00:00:00 2001 From: Reynold Xin Date: Mon, 13 Jan 2014 18:45:20 -0800 Subject: Moved SVDPlusPlusConf into SVDPlusPlus object itself. --- .../src/test/scala/org/apache/spark/graphx/lib/SVDPlusPlusSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphx/src/test') 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) => -- cgit v1.2.3