Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Brian Christian, Tom Griffiths

Rating No ratings yet

No description

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical tour of the handful of algorithms that quietly govern everyday decisions—when to stop searching, when to explore versus exploit, how to sort and schedule, and how to stay flexible in an uncertain world. Best for readers who want computer-science thinking applied to work, love, and life without wading through proofs. 【Book Arc】 - **Opening (~0%–10%)**: Optimal stopping. The secretary problem, the 37% rule, and the "look-then-leap" strategy frame when to commit—dating, hiring, selling a house, parking—and why full information changes the threshold. - **Early (~10%–32%)**: Explore vs. exploit. Multi-armed bandits, the Gittins index, "win-stay, lose-shift," A/B testing, and clinical trials show how to balance novelty against proven payoff as remaining time shrinks. - **Middle (~32%–50%)**: Sorting and caching. Big-O, bubble/insertion sort, merge sort, bucket sort, and the "larger scale, greater pain" insight, plus memory hierarchies and why forgetting is a feature. - **Late (~50%–75%)**: Scheduling, Bayes, overfitting, relaxation. Prioritizing tasks, priority inversion, Bayesian prediction, the dangers of complexity, and how to loosen an over-constrained problem. - **Ending (~75%–100%)**: Randomness, networks, game theory. Simulated annealing, packet switching and exponential backoff, congestion control, equilibrium, mechanism design, and information cascades—closing on "computational kindness." 【Key Takeaways】 - **Optimal stopping has a counterintuitive answer** (Opening): survey roughly the first 37% without committing, then take the first option better than all prior ones—accepting that even the best strategy fails most of the time. - **Information changes the rule** (Early): when you can rank candidates fully, you skip the observation phase and set a threshold, raising success from 37% to about 58%. - **Explore early, exploit late** (Early): the value of trying new things falls as remaining time shrinks; the Gittins index shows an untried option can beat a proven one. - **Sorting is fundamentally superlinear** (Middle): comparison sorting cannot beat O(n log n), and naive methods hit O(n²)—so reduce what you sort and choose the right algorithm. - **Caching and forgetting are strategic** (Middle): memory hierarchies and archival decisions trade speed against completeness; forgetting curves mirror sensible cache eviction. - **Scheduling is about priorities and interruption** (Late): deadlines, priority inversion, and context switching explain why "doing more" often means finishing less. - **Complexity invites overfitting** (Late): more data and more parameters can hurt; cross-validation and penalizing complexity are the antidotes. - **Randomness and feedback tame hard problems** (Ending): simulated annealing escapes local maxima, while exponential backoff and flow control keep networks—and relationships—stable. 【Reading Tips】 - Deep-read the opening two chapters on optimal stopping and explore/exploit; they carry the book's most actionable advice. - Skim the sorting and caching chapters if you already know Big-O—focus on the everyday analogies (socks, libraries, Hollywood sequels). - Treat the Bayes, overfitting, and relaxation chapters as a unit on decision-making under uncertainty. - Pause at each "what would I do?" example and apply the rule to a real pending decision before moving on. - The ending on networks and game theory is more conceptual; read for vocabulary (congestion, equilibrium, cascades) rather than step-by-step tactics. 【Coverage Limits】 This guide is based on stratified excerpts covering the table of contents and roughly the first half of the book in detail; later chapters (randomness, networks, game theory) are summarized from headings and partial text, so specific examples there may be thinner than the excerpts suggest.
Excerpt 1
个面试过程中,只要不是已有申请人当中的最优秀人选,你都不会接受。但是,仅仅达到“目前最佳”这个条件,还不足以说服面试官。比如说,第一名申请人毫无疑问就符合这个条件。一般而言,我们有理由相信,随着面试程序不断进行下去,出现“目前最佳”申请人的概率将不断下降。例如,第二名申请人是截至目前最优秀申请人的可能性是50%,...
View in text
Excerpt 2
功率只有一半的生手,情况会怎么样?第一次去偷盗时,你本来就身无分文,因此无须担心有任何损失,但是之后就不要再去碰运气了。 尽管别列佐夫斯基是最优停止问题方面的专家,但是他的结局仍然十分凄惨。2013年3月,一名保镖在他位于伯克郡的住所里发现了他的尸体。他死在锁着的浴室里,脖子上系着绳子。官方在尸检之后宣布他死于自...
View in text
Excerpt 3
,而是要等到实验结束,参与者才知道他们是否押中。)这个实验纯粹就是探索与利用之间的对抗,信息的获取与信息的利用正好矛盾。在大多数情况下,参与者都采取了一种明智的策略:先观察一段时间,然后把赌注押在看似最好的结果上,但是他们用来观察的次数总是太多了。到底多了多少?在一次实验中,两盏灯打开的时间比分别是60%和40%...
View in text
Excerpt 4
伯克利分校的主图书馆和墨菲特图书馆,进行了一次实地考察。这些图书馆的书架长度加起来至少有52英里,所有的书都靠人工整理。归还到图书馆的书首先被放到后台,然后根据美国国会图书馆藏书书目,重新放回到不同的书架上。例如,一组书架上放有一堆最近归还的书籍,藏书书目都在PS3000到PS9999之间。然后,学生助手将这些图...
View in text
Excerpt 5
,这将最大限度地减少信息传输的线路长度。今天的处理器周期是以千兆赫来衡量的,也就是说,它们执行运算所需的时间不到1纳秒。这相当于光传播几英寸 [1] 的时间——因此计算机内部的物理布局是人们高度关注的焦点。而且,在一个更大的规模上应用同样的原理,实际的地理位置对网络的运行至关重要,因为网络长度不是以英寸为单位的,...
View in text
Excerpt 6
则在大厅中间。让实验人员吃惊的是,人们立即拿起身边的水桶,一路将它拎到另一边,径直路过可以让他们少走一段路的另一个水桶。正如研究者所写:“这个看似理性的选择反映了一种趋势——超前主义,这是我们新提出的一个术语,是指完成任务时为了加速子目标的完成,甚至牺牲额外的体力。”推迟主要项目的工作,去完成各种琐碎的小任务也与...
View in text
Excerpt 7
也被称为“高斯”分布(这是以德国数学家卡尔·弗里德里希·高斯命名的),同时因其分布的形状特征也被形象地称为“钟形曲线”。这种形状能很好地表现人类的寿命,例如,美国男性的平均寿命集中在76岁左右,曲线顶端的两边呈现急剧下降的趋势。正态分布往往都有一个适当的比例:一位数的寿命往往会被认为是悲惨的,三位数的寿命是非凡的...
View in text
Excerpt 8
中的关键技能。现代击剑运动员使用柔性叶片,使他们可以向对手身上的按钮“甩尾”,只要触碰的力量足够就可以被记录下来并得分。结果,他们看起来更像是在甩一个金属鞭子,而不是用剑切或插。它本是一种令人兴奋的运动,但运动员因为奇怪的计分工具而对策略过度拟合,因此灌输真实的剑术技能就变得不那么重要了。 但是,也许没有哪个领域...
View in text
Tags
AI categories
AlgorithmDataTechnology
ISBN: 7508686888
Publisher: 中信出版社
Publish Year: 2018
Language: Chinese
Pages: 376
File Format: EPUB
File Size: 1.4 MB