From c5876d167919d72ac064715bc1f4f9a98fdc5eda Mon Sep 17 00:00:00 2001 From: Volodymyr Miz Date: Mon, 3 Jul 2017 11:44:53 +0200 Subject: [PATCH] Updated min weight for edges pruning. Dynamic patterns generation --- src/main/scala/WikiBrainHebbStatic.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/WikiBrainHebbStatic.scala b/src/main/scala/WikiBrainHebbStatic.scala index 2d692fe..238bbe5 100644 --- a/src/main/scala/WikiBrainHebbStatic.scala +++ b/src/main/scala/WikiBrainHebbStatic.scala @@ -39,7 +39,7 @@ object WikiBrainHebbStatic { val trainedGraph = graph.mapTriplets(trplt => compareTimeSeries(trplt.dstAttr._2, trplt.srcAttr._2, start = OCT_START, stop = APR_END, isFiltered = true)) - val prunedGraph = removeLowWeightEdges(trainedGraph, minWeight = 100.0) + val prunedGraph = removeLowWeightEdges(trainedGraph, minWeight = 1.0) log.info("Vertices in trained graph: " + prunedGraph.vertices.count()) log.info("Edges in trained graph: " + prunedGraph.edges.count())