igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] compare community detection with "ground truth"


From: Tamás Nepusz
Subject: Re: [igraph] compare community detection with "ground truth"
Date: Tue, 26 Mar 2013 15:23:14 +0100

> Do I understand correctly that the 'danan' algorithm will consider the 
> similarity of these clusterings as "low"?
No, it would indicate that the correspondence is perfect:

In [1]: cl1=Clustering([0,0,1,2,2])
In [2]: cl2=Clustering([2,2,0,1,1])
In [3]: compare_communities(cl1, cl2, method="danon")
Out[3]: 1.0

FWIW, all the other comparison methods also work this way.

-- 
T.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]