igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] python betweenness and closeness normalization


From: David Robinson
Subject: Re: [igraph] python betweenness and closeness normalization
Date: Thu, 12 Dec 2013 14:28:13 -0800 (PST)

I took your advice and checked by trying something (e.g. a star graph) in both R and Python. The defaults are different for each version of igraph.  It appears that in python the closeness has default normalized=TRUE , while betweenness has default normalized=FALSE.   In R, the defaults are both normalized=FALSE.  

On Thursday, December 12, 2013 9:39:07 AM UTC-7, David Robinson wrote:
Gabor, Thanks for the quick response! I had looked at the Reference Manuals before asking, but I've mis-interpreted the RM in the past and wanted to make sure.  

Thanks again.

On Thursday, December 12, 2013 9:28:24 AM UTC-7, Gábor Csárdi wrote:
On Thu, Dec 12, 2013 at 11:11 AM, David Robinson <address@hidden> wrote:
> In the R version of igraph there are flags for turning on/off normalization
> of both betweenness and closeness. Are such options available in the python
> version of igraph?

http://igraph.sourceforge.net/doc/python/igraph.GraphBase-class.html#betweenness
http://igraph.sourceforge.net/doc/python/igraph.GraphBase-class.html#closeness

Apparently not, in the current version. closeness will have this
option in the next version.

> The R default values for normalization appears to be FALSE (no
> normalization) for both metrics.  Is the default normalization for the
> python metrics also FALSE?

I am fairly sure that it is, because it just called the C layer which
has no normalization. But you can just try it, actually.

Gabor

>
> Thanks!
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>

reply via email to

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