igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] q values from community_fastgreedy() method


From: Gabor Csardi
Subject: Re: [igraph] q values from community_fastgreedy() method
Date: Mon, 21 Jul 2008 11:05:16 -0500
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Venura, 

according to the docs, there is nothing wrong with using the 
GraphBase version, it just does not return the same nice form as
the Graph version. Actually, the Graph version is just a wrapper 
to the GraphBase version.

Best,
Gabor

On Mon, Jul 21, 2008 at 04:53:11PM +0100, address@hidden wrote:
> Hi,
> 
> Ive been trying to generate a dendogram by clustering my data. The
> method community_fastgreedy(self, weights=None) appears to be a good
> choice- well am still in the stage of experimenting! And when I run the
> plot method it produces a dendogram. However I would also like to get
> hold of the q values (Network modularity for each split as described in
> the ref paper) to get an idea of the best community structure for my
> data. 
> This method only appears to return the final q value. The class GaphBase
> appears to have exactly what Im after in the method
> (community_fastgreedy(weights=None, return_q=True)- according to the
> docs this returns a tuple of merges and Q values. However the
> documentation suggests I should use only the method from Graph and as
> far as I can tell this doesn't retrun q values of each merge.
> 
> I'd appreciate any help/comments
> 
> Thanks,
> Venura 
> 
> British Telecommunications plc
> Registered office: 81 Newgate Street London EC1A 7AJ
> Registered in England no. 1800000 
> This electronic message contains information from British
> Telecommunications plc which may be privileged or confidential. The
> information is intended to be for the use of the individual(s) or entity
> named above. If you are not the intended recipient be aware that any
> disclosure, copying, distribution or use of the contents of this
> information is prohibited. If you have received this electronic message
> in error, please notify us by telephone or email (to the numbers or
> address above) immediately.
> Activity and use of the British Telecommunications plc email system is
> monitored to secure its effective operation and for other lawful
> business purposes. Communications using this system will also be
> monitored and may be recorded to secure effective operation and for
> other lawful business purposes.
> 
> 
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help

-- 
Csardi Gabor <address@hidden>    UNIL DGM




reply via email to

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