igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] trying to understand edge betweeness community detection im


From: Enzo Tagliazucchi
Subject: Re: [igraph] trying to understand edge betweeness community detection implemented in igraph (re-send)
Date: Fri, 22 May 2009 02:04:06 -0400

Gábor,

it seems you got it. Now the modularities are what should be. I'll check tomorrow with more detail the membership vectors i'm getting, but the problem seems fixed.

Thanks!!!

Enzo.

On Fri, May 22, 2009 at 1:43 AM, Gábor Csárdi <address@hidden> wrote:
Ok, I don't have time to check this carefully, but a quick tip: igraph
numbers vertices from zero, so with this input file you will have an
isolate vertex in your graph (#0), could you try to subtract one from
the numbers in your edge list file?

G.

On Fri, May 22, 2009 at 7:30 AM, Enzo Tagliazucchi <address@hidden> wrote:
> Dear Gabor,
>
> I've tested this code in Ubuntu linux (version 8.04) and in Kubuntu linux
> (version 7.10, recently updated to latest version).
>
> I compile the code using:
>
> gcc community.c -I/usr/local/include/igraph  -L/usr/local/lib -ligraph
>
> I just updated gcc to the latest version - the problem persists (according
> to ubuntu's package manager, the version is 4:4.2.3-1ubuntu6).
>
> The igraph version I'm using is 0.5.2.
>
> In the attachments you'll find the karate graph I'm using, and the code I'm
> using (the one which generates the weird community values).
>
> I've checked and cross-checked everything as much as I could. I might be
> overlooking something or making some stupid mistake, I hope this isn't the
> case...
>
> (no problem about the delay, this is by no means urgent, I just need to get
> it working from here to some time in the future)
>
> thanks a lot, again!
>
> Enzo
>
>
>
>
>
>
>
> On Fri, May 22, 2009 at 1:08 AM, Gábor Csárdi <address@hidden> wrote:
>>
>> Enzo, I have just run your code, and both programs print the same
>> values, so this is quite strange. You might have a broken or old
>> igraph installation. Please try to give me all information that I
>> might need to reproduce this:
>>
>> - igraph version
>> - operating system and compiler version
>> - how did you compile the programs (i.e. gcc options if you use gcc)
>> - send me the karate.txt file as an attachment
>>
>> Thanks,
>> G.
>>
>> ps. I will be offline for most of the following three days, and might
>> answer on Monday only, sorry about that.
>>
>> On Thu, May 21, 2009 at 11:39 PM, Enzo Tagliazucchi <address@hidden>
>> wrote:
>> > Gabor,
>> >
>> > I don't get the same values. When running the following code (which
>> > prints
>> > the modularity values obtained by the merges, without constructing the
>> > membership vector),
>> >
>> [...]
>> >
>> > All this implies to me that either:
>> > a)  something is going wrong with the algorithms or my code (unlikely to
>> > me)
>> > b)  I've problems interpretating the results of the algorithms  (this
>> > might
>> > be the case)
>> [...]
>>
>> --
>> Gabor Csardi <address@hidden>     UNIL DGM
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



--
Gabor Csardi <address@hidden>     UNIL DGM


_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

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