Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mizvol committed May 27, 2017
1 parent 0804b3e commit 1156069
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/WikiBrainHebb.scala
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ object WikiBrainHebb {
val idsTitlesMap = idsDF.collect.map(pair => pair{0} -> pair{1}).toMap

val graphWithIds = cleanGraph.mapVertices((vId, v) => idsTitlesMap(v).toString.replace('&', ' ').replace("""\n""", ""))
// val graphWithIds = getLargestConnectedComponent(cleanGraph.mapVertices((vId, v) => idsTitlesMap(v).toString.replace('&', 'n').replace('\"', ' ')))

println(graphWithIds.vertices.count() + " vertices left.")

Expand Down

0 comments on commit 1156069

Please sign in to comment.