Skip to Content
复杂性思考:复杂性科学和计算模型(原书第2 版)
book

复杂性思考:复杂性科学和计算模型(原书第2 版)

by Allen B. Downey
March 2020
Intermediate to advanced
200 pages
3h 12m
Chinese
China Machine Press
Content preview from 复杂性思考:复杂性科学和计算模型(原书第2 版)
无标度网络
53
>>> pmf_fb.Mean(), pmf_fb.Std()
(43.691, 52.414)
WS 模型也做了相同的工作:
>>> pmf_ws = Pmf(degrees(ws))
>>> pmf_ws.mean(), pmf_ws.std()
(44.000, 1.465)
可以使用 thinkplot 模块来绘制结果:
thinkplot.Pdf(pmf_fb, label='Facebook')
thinkplot.Pdf(pmf_ws, label='WS graph')
4-1 分别显示了 Facebook 网络数据集与 WS 图中节点的度的平均值和标
准差的分布。它们差别较大。
0.025
0.020
0.015
0.010
0.005
0.000
0.30
0.25
0.20
0.15
0.10
0.05
0.00
0 200 400 600 800 1000
38 40 42 44 45 48
DegreeDegree
Facebook
WS graph
PMF
4-1:在 Facebook 数据集和 WS 模型中的节点度的 PMF
WS 模型中,大多数用户大约有 44 位好友;最小值为 38,最大值为 50
变化不大。在数据集中,有许多用户只有 1 位或 2 位好友,其中只有一位好
友的用户有 1000 多个!
这种分布称为
重尾分布
,其特征是有许多小的值和一些非常大的值。
4.4 重尾分布
在复杂性科学的很多领域中,重尾分布是一个常见特征,它们将是本书反复
54
4
出现的一个主题。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据驱动力:企业数据分析实战

数据驱动力:企业数据分析实战

Carl Anderson
精通模块化JavaScript

精通模块化JavaScript

Nicolás Bevacqua
流畅的Python

流畅的Python

Luciano Ramalho

Publisher Resources

ISBN: 9787111647348