igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] community detection


From: Gábor Csárdi
Subject: Re: [igraph] community detection
Date: Wed, 15 Aug 2012 15:38:16 -0400

On Wed, Aug 15, 2012 at 3:24 PM, Sam Steingold <address@hidden> wrote:
> On Wed, Aug 15, 2012 at 3:17 PM, Gábor Csárdi <address@hidden> wrote:
>> On Wed, Aug 15, 2012 at 12:54 PM, Sam Steingold <address@hidden> wrote:
>> [...]
>>> Error in spinglass.community(mygr10, gamma = 10, spins = 1000) :
>>>   At clustertool.cpp:258 : Invalid number of spins, Invalid value
>>
>> I guess you set the maximum number of spins (=communities) higher than
>> the number of vertices in the graph.
>
> nope, I have 6k vertexes there.

It seems that there is an internal limit of 500 communities, I am not
sure why. You can modify the source code to eliminate it, just remove
the check in line 258 of clustertool.cpp.

G.

>
> --
> Sam Steingold <http://sds.podval.org> <http://www.childpsy.net/>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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