distributed_clustering

distributed_clustering(graph: TGraph, beta, rounds=None, patience=3, min_samples=2)[source]

Distributed clustering algorithm

Implements algorithm of [1] with gpu support

Parameters:
  • graph – input graph

  • beta\(\beta\) value of the algorithm (controls the number of seeds)

  • rounds – number of iteration rounds (default: 3*int(log(graph.num_nodes)))

  • patience – number of rounds without label changes before early stopping (default: 3)

  • min_samples – minimum number of seed nodes (default: 2)

Reference