Skip to content

Commit

Permalink
Updated min weight for edges pruning. Dynamic patterns generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mizvol committed Jul 3, 2017
1 parent 19e1d1b commit c5876d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/WikiBrainHebbStatic.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit c5876d1

Please sign in to comment.