2

I would like to use Spark/graphx implementation of Louvain modularity algorithm. https://github.com/Sotera/spark-distributed-louvain-modularity

  1. Is there a way to apply it on a graph with weighted edges?

  2. It seems that an input file can contain 2 or 3 columns. If it is 2, then the first one is the source and the second is the destination. What is the third column? Weights?

Dzmitry Haikov
  • 199
  • 1
  • 2
  • 6

1 Answers1

1

Yes, you can apply it to weighted graphs and the third column is the edge weight.

Here you have a description of the expected data format.

Javier Alba
  • 381
  • 1
  • 3
  • 11