igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Working with large networks and how to sample from a graph?


From: 何伟
Subject: Re: [igraph] Working with large networks and how to sample from a graph?
Date: Thu, 5 Apr 2012 10:32:32 +0800

Perhaps you can try community network for visualization of those big network, in which a vertex represent a community.

evan

在 2012年4月5日 上午1:46,Peter Flom <address@hidden>写道:
Thanks

These big networks are hard! My past experience is with networks of a couple
hundred nodes, at most
-----Original Message-----
From: igraph-help-bounces+peterflomconsulting=address@hidden
[mailto:igraph-help-bounces+peterflomconsulting=address@hidden]
On Behalf Of Gábor Csárdi
Sent: Wednesday, April 04, 2012 1:34 PM
To: Help for igraph users
Subject: Re: [igraph] Working with large networks and how to sample from a
graph?

On Wed, Apr 4, 2012 at 7:26 AM, Tamás Nepusz <address@hidden> wrote:
>> One idea I had was to take a small random sample from the network (say
5,000 nodes) but I am not sure exactly how to do this in igraph.
>
> Well, it depends on how you want to do it. You can try selecting 5000
nodes randomly from the entire network and then take the subgraph; this is
relatively simple:
>
> library(igraph)
> vs <- sample.int(vcount(g), 5000)-1
> g2 <- subgraph(g, vs)
>
> However, if your graph is large and sparse enough, there is a chance that
the resulting graph will not be connected at all, and then your estimates
will bear no resemblance at all to the "real" betweenness values.

Well, I'm not convinced that there is any kind of sampling that will tell
you much about betweenness values in the original network.
(Unless you network structure is special and you can use this fact in the
sampling.) I would recommend doing some simulations first, with
(say) snowball sampling.

Gabor

[...]
--
Gabor Csardi <address@hidden>     MTA KFKI RMKI

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


_______________________________________________
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]