• 请不要在回答技术问题时复制粘贴 AI 生成的内容
jsq2627
V2EX  ›  程序员

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

  •  
  •   jsq2627 ·
    stackia · Nov 17, 2014 · 3590 views
    This topic created in 4279 days ago, the information mentioned may be changed or developed.
    今天做了个有趣的实验,写了个爬虫,把自己的QQ小号好友列表抓出来(只有两个人),然后依次访问列表里每个人的QQ空间留言板,把留过言的人也添加到列表里去(只取第一页结果,最多20条),继续访问他们的留言板……这样一直访问下去,广度优先,到了第十层,你们猜总用户数达到多少了?

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


    满有趣的一个实验,还可以顺手把个人信息也取一份回来,只不过暂时还没这么做 :-)
    5 replies    2014-11-18 00:57:49 +08:00
    ljc
        1
    ljc  
       Nov 17, 2014   ❤️ 1
    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.
    R4rvZ6agNVWr56V0
        2
    R4rvZ6agNVWr56V0  
       Nov 17, 2014
    cool
    onlyice
        3
    onlyice  
       Nov 18, 2014 via Android
    界面做得好精致……
    Chipper
        4
    Chipper  
       Nov 18, 2014
    界面蛮不错的
    staticor
        5
    staticor  
       Nov 18, 2014
    想当年以前在sina 微博时测过了好友\关注间的人脉关系计算, 结果发现所谓的"leader"节点真是影响蛮大的, 有无这样一个节点几乎造成了+- .5度的变化.

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


    weibo > qq > qq zone, qq + qq zone > weibo
    后来数据质量下降的厉害, 得把关系强度提升一下才可以用了.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4857 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.