猜猜你的十度人脉大概是什么数量级?

2014-11-17 23:04:50 +08:00
 jsq2627
今天做了个有趣的实验,写了个爬虫,把自己的QQ小号好友列表抓出来(只有两个人),然后依次访问列表里每个人的QQ空间留言板,把留过言的人也添加到列表里去(只取第一页结果,最多20条),继续访问他们的留言板……这样一直访问下去,广度优先,到了第十层,你们猜总用户数达到多少了?

这是第七层搜索到一半时的情况


满有趣的一个实验,还可以顺手把个人信息也取一份回来,只不过暂时还没这么做 :-)
3036 次点击
所在节点    程序员
5 条回复
ljc
2014-11-17 23:06:44 +08:00
http://en.wikipedia.org/wiki/Six_degrees_of_separation

Six degrees of separation is the theory that everyone and everything is six or fewer steps away, by way of introduction, from any other person in the world, so that a chain of "a friend of a friend" statements can be made to connect any two people in a maximum of six steps. It was originally set out by Frigyes Karinthy in 1929 and popularized by a 1990 play written by John Guare.
GeekGao
2014-11-17 23:35:42 +08:00
cool
onlyice
2014-11-18 00:00:37 +08:00
界面做得好精致……
Chipper
2014-11-18 00:50:15 +08:00
界面蛮不错的
staticor
2014-11-18 00:57:49 +08:00
想当年以前在sina 微博时测过了好友\关注间的人脉关系计算, 结果发现所谓的"leader"节点真是影响蛮大的, 有无这样一个节点几乎造成了+- .5度的变化.

另外用这个 degree可以用来衡量大规模social network活跃的情况 :


weibo > qq > qq zone, qq + qq zone > weibo
后来数据质量下降的厉害, 得把关系强度提升一下才可以用了.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/147294

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX