Learn more
These promotions will be applied to this item:
Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.
Audiobook Price: $21.88$21.88
Save: $14.39$14.39 (66%)
- Highlight, take notes, and search in the book
- In this edition, page numbers are just like the physical edition
Your Memberships & Subscriptions

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Algorithms to Live By: The Computer Science of Human Decisions 1st Edition, Kindle Edition
An exploration of how computer algorithms can be applied to our everyday lives to solve common decision-making problems and illuminate the workings of the human mind.
What should we do, or leave undone, in a day or a lifetime? How much messiness should we accept? What balance of the new and familiar is the most fulfilling? These may seem like uniquely human quandaries, but they are not. Computers, like us, confront limited space and time, so computer scientists have been grappling with similar problems for decades. And the solutions they’ve found have much to teach us.
In a dazzlingly interdisciplinary work, Brian Christian and Tom Griffiths show how algorithms developed for computers also untangle very human questions. They explain how to have better hunches and when to leave things to chance, how to deal with overwhelming choices and how best to connect with others. From finding a spouse to finding a parking spot, from organizing one’s inbox to peering into the future, Algorithms to Live By transforms the wisdom of computer science into strategies for human living.
- ISBN-109781627790376
- ISBN-13978-1627790369
- Edition1st
- PublisherHenry Holt and Co.
- Publication dateApril 19, 2016
- LanguageEnglish
- File size5.8 MB
Kindle E-Readers
- Kindle Paperwhite
- Kindle Paperwhite (5th Generation)
- Kindle Touch
- Kindle Voyage
- Kindle
- Kindle Oasis
- All new Kindle paperwhite
- All New Kindle E-reader
- Kindle Paperwhite (10th Generation)
- Kindle Oasis (9th Generation)
- Kindle Paperwhite (11th Generation)
- Kindle Scribe (1st Generation)
- All New Kindle E-reader (11th Generation)
- Kindle (10th Generation)
- Kindle Oasis (10th Generation)
Fire Tablets

Explore your book, then jump right back to where you left off with Page Flip.
View high quality images that let you zoom in to take a closer look.
Enjoy features only possible in digital – start reading right away, carry your library with you, adjust the font, create shareable notes and highlights, and more.
Discover additional details about the events, people, and places in your book, with Wikipedia integration.
Customers who read this book also read
- Summary of Algorithms to Live By: by Brian Christian and Tom Griffiths | Includes AnalysisSummaries, Instaread,Kindle Edition
- Exploration in itself has value, since trying new things increases our chances of finding the best. So taking the future into account, rather than focusing just on the present, drives us toward novelty.Highlighted by 3,357 Kindle readers
- “To try and fail is at least to learn; to fail to try is to suffer the inestimable loss of what might have been.”Highlighted by 3,039 Kindle readers
- This is the first and most fundamental insight of sorting theory. Scale hurts.Highlighted by 2,027 Kindle readers
Editorial Reviews
Review
“Practical, everyday advice which will easily provoke an interest in computer science.”—ValueWalk
“All of this information is presented in an interesting, humorous, and thought-provoking way, including quotes that really make you contemplate the meaning of ‘life, the universe, and everything.’”—EE Times
“An important study in how to make better decisions. If you like nerding out about mental models, thinking in stages, game theory, etc., then you’ll probably like [this book].”—Epeak World News,101 Best Audiobooks of All Time
About the Author
TOM GRIFFITHS is a professor of psychology and cognitive science at UC Berkeley, where he directs the Institute of Cognitive and Brain Sciences.
Excerpt. © Reprinted by permission. All rights reserved.
Algorithms to Live By
The Computer Science of Human Decisions
By Brian Christian, Tom GriffithsHenry Holt and Company
Copyright © 2016 Brian Christian and Tom GriffithsAll rights reserved.
ISBN: 978-1-62779-036-9
Contents
Title Page,Copyright Notice,
Dedication,
Introduction,
Algorithms to Live By,
1 Optimal Stopping Optimal Stopping When to Stop Looking,
2 Explore/Exploit The Latest vs. the Greatest,
3 Sorting Making Order,
4 Caching Forget About It,
5 Scheduling First Things First,
6 Bayes's Rule Predicting the Future,
7 Overfitting When to Think Less,
8 Relaxation Let It Slide,
9 Randomness When to Leave It to Chance,
10 Networking How We Connect,
11 Game Theory The Minds of Others,
Conclusion,
Computational Kindness,
Notes,
Bibliography,
Index,
Acknowledgments,
Also by Brian Christian,
About the Authors,
Copyright,
CHAPTER 1
Optimal Stopping
When to Stop Looking
Though all Christians start a wedding invitation by solemnly declaring their marriage is due to special Divine arrangement, I, as a philosopher, would like to talk in greater detail about this ... — JOHANNES KEPLER
If you prefer Mr. Martin to every other person; if you think him the most agreeable man you have ever been in company with, why should you hesitate? — JANE AUSTEN, EMMA
It's such a common phenomenon that college guidance counselors even have a slang term for it: the "turkey drop." High-school sweethearts come home for Thanksgiving of their freshman year of college and, four days later, return to campus single.
An angst-ridden Brian went to his own college guidance counselor his freshman year. His high-school girlfriend had gone to a different college several states away, and they struggled with the distance. They also struggled with a stranger and more philosophical question: how good a relationship did they have? They had no real benchmark of other relationships by which to judge it. Brian's counselor recognized theirs as a classic freshman-year dilemma, and was surprisingly nonchalant in her advice: "Gather data."
The nature of serial monogamy, writ large, is that its practitioners are confronted with a fundamental, unavoidable problem. When have you met enough people to know who your best match is? And what if acquiring the data costs you that very match? It seems the ultimate Catch-22 of the heart.
As we have seen, this Catch-22, this angsty freshman cri de coeur, is what mathematicians call an "optimal stopping" problem, and it may actually have an answer: 37%.
Of course, it all depends on the assumptions you're willing to make about love.
The Secretary Problem
In any optimal stopping problem, the crucial dilemma is not which option to pick, but how many options to even consider. These problems turn out to have implications not only for lovers and renters, but also for drivers, homeowners, burglars, and beyond.
The 37% Rule derives from optimal stopping's most famous puzzle, which has come to be known as the "secretary problem." Its setup is much like the apartment hunter's dilemma that we considered earlier. Imagine you're interviewing a set of applicants for a position as a secretary, and your goal is to maximize the chance of hiring the single best applicant in the pool. While you have no idea how to assign scores to individual applicants, you can easily judge which one you prefer. (A mathematician might say you have access only to the ordinal numbers — the relative ranks of the applicants compared to each other — but not to the cardinal numbers, their ratings on some kind of general scale.) You interview the applicants in random order, one at a time. You can decide to offer the job to an applicant at any point and they are guaranteed to accept, terminating the search. But if you pass over an applicant, deciding not to hire them, they are gone forever.
The secretary problem is widely considered to have made its first appearance in print — sans explicit mention of secretaries — in the February 1960 issue of Scientific American, as one of several puzzles posed in Martin Gardner's beloved column on recreational mathematics. But the origins of the problem are surprisingly mysterious. Our own initial search yielded little but speculation, before turning into unexpectedly physical detective work: a road trip down to the archive of Gardner's papers at Stanford, to haul out boxes of his midcentury correspondence. Reading paper correspondence is a bit like eavesdropping on someone who's on the phone: you're only hearing one side of the exchange, and must infer the other. In our case, we only had the replies to what was apparently Gardner's own search for the problem's origins fiftysome years ago. The more we read, the more tangled and unclear the story became.
Harvard mathematician Frederick Mosteller recalled hearing about the problem in 1955 from his colleague Andrew Gleason, who had heard about it from somebody else. Leo Moser wrote from the University of Alberta to say that he read about the problem in "some notes" by R. E. Gaskell of Boeing, who himself credited a colleague. Roger Pinkham of Rutgers wrote that he first heard of the problem in 1955 from Duke University mathematician J. Shoenfield, "and I believe he said that he had heard the problem from someone at Michigan."
"Someone at Michigan" was almost certainly someone named Merrill Flood. Though he is largely unheard of outside mathematics, Flood's influence on computer science is almost impossible to avoid. He's credited with popularizing the traveling salesman problem (which we discuss in more detail in chapter 8), devising the prisoner's dilemma (which we discuss in chapter 11), and even with possibly coining the term "software." It's Flood who made the first known discovery of the 37% Rule, in 1958, and he claims to have been considering the problem since 1949 — but he himself points back to several other mathematicians.
Suffice it to say that wherever it came from, the secretary problem proved to be a near-perfect mathematical puzzle: simple to explain, devilish to solve, succinct in its answer, and intriguing in its implications. As a result, it moved like wildfire through the mathematical circles of the 1950s, spreading by word of mouth, and thanks to Gardner's column in 1960 came to grip the imagination of the public at large. By the 1980s the problem and its variations had produced so much analysis that it had come to be discussed in papers as a subfield unto itself.
As for secretaries — it's charming to watch each culture put its own anthropological spin on formal systems. We think of chess, for instance, as medieval European in its imagery, but in fact its origins are in eighth-century India; it was heavy-handedly "Europeanized" in the fifteenth century, as its shahs became kings, its viziers turned to queens, and its elephants became bishops. Likewise, optimal stopping problems have had a number of incarnations, each reflecting the predominating concerns of its time. In the nineteenth century such problems were typified by baroque lotteries and by women choosing male suitors; in the early twentieth century by holidaying motorists searching for hotels and by male suitors choosing women; and in the paper-pushing, male-dominated mid-twentieth century, by male bosses choosing female assistants. The first explicit mention of it by name as the "secretary problem" appears to be in a 1964 paper, and somewhere along the way the name stuck.
Whence 37%?
In your search for a secretary, there are two ways you can fail: stopping early and stopping late. When you stop too early, you leave the best applicant undiscovered. When you stop too late, you hold out for a better applicant who doesn't exist. The optimal strategy will clearly require finding the right balance between the two, walking the tightrope between looking too much and not enough.
If your aim is finding the very best applicant, settling for nothing less, it's clear that as you go through the interview process you shouldn't even consider hiring somebody who isn't the best you've seen so far. However, simply being the best yet isn't enough for an offer; the very first applicant, for example, will of course be the best yet by definition. More generally, it stands to reason that the rate at which we encounter "best yet" applicants will go down as we proceed in our interviews. For instance, the second applicant has a 50/50 chance of being the best we've yet seen, but the fifth applicant only has a 1-in-5 chance of being the best so far, the sixth has a 1-in-6 chance, and so on. As a result, best-yet applicants will become steadily more impressive as the search continues (by definition, again, they're better than all those who came before) — but they will also become more and more infrequent.
Okay, so we know that taking the first best-yet applicant we encounter (a.k.a. the first applicant, period) is rash. If there are a hundred applicants, it also seems hasty to make an offer to the next one who's best-yet, just because she was better than the first. So how do we proceed?
Intuitively, there are a few potential strategies. For instance, making an offer the third time an applicant trumps everyone seen so far — or maybe the fourth time. Or perhaps taking the next best-yet applicant to come along after a long "drought" — a long streak of poor ones.
But as it happens, neither of these relatively sensible strategies comes out on top. Instead, the optimal solution takes the form of what we'll call the Look-Then-Leap Rule: You set a predetermined amount of time for "looking" — that is, exploring your options, gathering data — in which you categorically don't choose anyone, no matter how impressive. After that point, you enter the "leap" phase, prepared to instantly commit to anyone who outshines the best applicant you saw in the look phase.
We can see how the Look-Then-Leap Rule emerges by considering how the secretary problem plays out in the smallest applicant pools. With just one applicant the problem is easy to solve — hire her! With two applicants, you have a 50/50 chance of success no matter what you do. You can hire the first applicant (who'll turn out to be the best half the time), or dismiss the first and by default hire the second (who is also best half the time).
Add a third applicant, and all of a sudden things get interesting. The odds if we hire at random are one-third, or 33%. With two applicants we could do no better than chance; with three, can we? It turns out we can, and it all comes down to what we do with the second interviewee. When we see the first applicant, we have no information — she'll always appear to be the best yet. When we see the third applicant, we have no agency — we have to make an offer to the final applicant, since we've dismissed the others. But when we see the second applicant, we have a little bit of both: we know whether she's better or worse than the first, and we have the freedom to either hire or dismiss her. What happens when we just hire her if she's better than the first applicant, and dismiss her if she's not? This turns out to be the best possible strategy when facing three applicants; using this approach it's possible, surprisingly, to do just as well in the three-applicant problem as with two, choosing the best applicant exactly half the time.
Enumerating these scenarios for four applicants tells us that we should still begin to leap as soon as the second applicant; with five applicants in the pool, we shouldn't leap before the third.
As the applicant pool grows, the exact place to draw the line between looking and leaping settles to 37% of the pool, yielding the 37% Rule: look at the first 37% of the applicants, choosing none, then be ready to leap for anyone better than all those you've seen so far.
As it turns out, following this optimal strategy ultimately gives us a 37% chance of hiring the best applicant; it's one of the problem's curious mathematical symmetries that the strategy itself and its chance of success work out to the very same number. The table above shows the optimal strategy for the secretary problem with different numbers of applicants, demonstrating how the chance of success — like the point to switch from looking to leaping — converges on 37% as the number of applicants increases.
A 63% failure rate, when following the best possible strategy, is a sobering fact. Even when we act optimally in the secretary problem, we will still fail most of the time — that is, we won't end up with the single best applicant in the pool. This is bad news for those of us who would frame romance as a search for "the one." But here's the silver lining. Intuition would suggest that our chances of picking the single best applicant should steadily decrease as the applicant pool grows. If we were hiring at random, for instance, then in a pool of a hundred applicants we'd have a 1% chance of success, and in a pool of a million applicants we'd have a 0.0001% chance. Yet remarkably, the math of the secretary problem doesn't change. If you're stopping optimally, your chance of finding the single best applicant in a pool of a hundred is 37%. And in a pool of a million, believe it or not, your chance is still 37%. Thus the bigger the applicant pool gets, the more valuable knowing the optimal algorithm becomes. It's true that you're unlikely to find the needle the majority of the time, but optimal stopping is your best defense against the haystack, no matter how large.
Lover's Leap
The passion between the sexes has appeared in every age to be so nearly the same that it may always be considered, in algebraic language, as a given quantity. — THOMAS MALTHUS
I married the first man I ever kissed. When I tell this to my children they just about throw up. — BARBARA BUSH
Before he became a professor of operations research at Carnegie Mellon, Michael Trick was a graduate student, looking for love. "It hit me that the problem has been studied: it is the Secretary Problem! I had a position to fill [and] a series of applicants, and my goal was to pick the best applicant for the position." So he ran the numbers. He didn't know how many women he could expect to meet in his lifetime, but there's a certain flexibility in the 37% Rule: it can be applied to either the number of applicants or the time over which one is searching. Assuming that his search would run from ages eighteen to forty, the 37% Rule gave age 26.1 years as the point at which to switch from looking to leaping. A number that, as it happened, was exactly Trick's age at the time. So when he found a woman who was a better match than all those he had dated so far, he knew exactly what to do. He leapt. "I didn't know if she was Perfect (the assumptions of the model don't allow me to determine that), but there was no doubt that she met the qualifications for this step of the algorithm. So I proposed," he writes.
"And she turned me down."
Mathematicians have been having trouble with love since at least the seventeenth century. The legendary astronomer Johannes Kepler is today perhaps best remembered for discovering that planetary orbits are elliptical and for being a crucial part of the "Copernican Revolution" that included Galileo and Newton and upended humanity's sense of its place in the heavens. But Kepler had terrestrial concerns, too. After the death of his first wife in 1611, Kepler embarked on a long and arduous quest to remarry, ultimately courting a total of eleven women. Of the first four, Kepler liked the fourth the best ("because of her tall build and athletic body") but did not cease his search. "It would have been settled," Kepler wrote, "had not both love and reason forced a fifth woman on me. This one won me over with love, humble loyalty, economy of household, diligence, and the love she gave the stepchildren."
"However," he wrote, "I continued."
Kepler's friends and relations went on making introductions for him, and he kept on looking, but halfheartedly. His thoughts remained with number five. After eleven courtships in total, he decided he would search no further. "While preparing to travel to Regensburg, I returned to the fifth woman, declared myself, and was accepted." Kepler and Susanna Reuttinger were wed and had six children together, along with the children from Kepler's first marriage. Biographies describe the rest of Kepler's domestic life as a particularly peaceful and joyous time.
Both Kepler and Trick — in opposite ways — experienced firsthand some of the ways that the secretary problem oversimplifies the search for love. In the classical secretary problem, applicants always accept the position, preventing the rejection experienced by Trick. And they cannot be "recalled" once passed over, contrary to the strategy followed by Kepler.
In the decades since the secretary problem was first introduced, a wide range of variants on the scenario have been studied, with strategies for optimal stopping worked out under a number of different conditions. The possibility of rejection, for instance, has a straightforward mathematical solution: propose early and often. If you have, say, a 50/50 chance of being rejected, then the same kind of mathematical analysis that yielded the 37% Rule says you should start making offers after just a quarter of your search. If turned down, keep making offers to every best-yet person you see until somebody accepts. With such a strategy, your chance of overall success — that is, proposing and being accepted by the best applicant in the pool — will also be 25%. Not such terrible odds, perhaps, for a scenario that combines the obstacle of rejection with the general difficulty of establishing one's standards in the first place.
(Continues...)Excerpted from Algorithms to Live By by Brian Christian, Tom Griffiths. Copyright © 2016 Brian Christian and Tom Griffiths. Excerpted by permission of Henry Holt and Company.
All rights reserved. No part of this excerpt may be reproduced or reprinted without permission in writing from the publisher.
Excerpts are provided by Dial-A-Book Inc. solely for the personal use of visitors to this web site.
Product details
- ASIN : B015CKNWJI
- Publisher : Henry Holt and Co.; 1st edition (April 19, 2016)
- Publication date : April 19, 2016
- Language : English
- File size : 5.8 MB
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Enabled
- Print length : 369 pages
- Best Sellers Rank: #23,150 in Kindle Store (See Top 100 in Kindle Store)
- Customer Reviews:
About the authors
Brian Christian is the author of the acclaimed bestsellers "The Most Human Human," a New York Times editors’ choice and a New Yorker favorite book of the year, and "Algorithms to Live By" (with Tom Griffiths), a #1 Audible bestseller, Amazon best science book of the year and MIT Technology Review best book of the year.
Christian’s writing has appeared in The New Yorker, The Atlantic, Wired, and The Wall Street Journal, as well as peer-reviewed journals such as Cognitive Science. He has been featured on The Daily Show and Radiolab, and has lectured at Google, Facebook, Microsoft, the Santa Fe Institute, and the London School of Economics. His work has won several awards, including publication in Best American Science & Nature Writing, and has been translated into nineteen languages.
Christian holds degrees in computer science, philosophy, and poetry from Brown University and the University of Washington. A Visiting Scholar at the University of California, Berkeley, he lives in San Francisco.
Tom Griffiths is a professor of psychology and computer science at Princeton, where he directs the Computational Cognitive Science Lab. He has published scientific papers on topics ranging from cognitive psychology to cultural evolution, and has received awards from the National Academy of Sciences, the Sloan Foundation, the American Psychological Association, and the Psychonomic Society, among others. He lives in Princeton, New Jersey.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book thought-provoking and informative. They appreciate the humor and witty writing style. Many consider it a good value for money, covering a wide range of topics. However, opinions differ on readability - some find it easy to understand and legible, while others feel it gets too technical.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book thought-provoking and interesting. They appreciate how it combines computer science with everyday situations and provides optimal solutions. The information is immediately applicable in their lives and work as therapists. Readers mention it has sparked interest in new topics like optimal stopping. The writing is lively, the examples are clear, and there's serious brain.
"...This book describes how computers solve their problems and at the same time it shows us how the problems computers solve are just like the ones we..." Read more
"...Overall, I’d call this a good-but-not-great book. I think it’s conceptually useful, but I also feel like I want to go off and dig into more about..." Read more
"...The talk was fascinating, and contained a nice mixture of computer science, statistics, and humor to win the crowd over, and Christian managed to do..." Read more
"Amazing insight into decision making strategies, biases and lack of them...." Read more
Customers enjoy the book's humor. They find it witty and engaging, with funny pearls of wisdom that make them laugh. The book is described as neither too serious nor too frilly, making it an enjoyable read.
"...a nice mixture of computer science, statistics, and humor to win the crowd over, and Christian managed to do so without coming across as too &#..." Read more
"...make decisions, all while being not too technical and injecting a little bit of humor." Read more
"...of topics, writing and organization are first rate The authors are good humored without pandering to the reader...." Read more
"...are applied to daily life and offer interesting, fun, and often funny pearls of wisdom that you may or may not have already encountered throughout..." Read more
Customers find the book provides good value for money. They say it's a great read with useful information on mathematics, statistics, and economics.
"...decisions and improve the rest of your life, the money and time spent on this book are cheap. Explore/Exploit comes immediately to mind...." Read more
"...This one deserves its five stars equally for pure practical value. Highly recommended." Read more
"It was a book that my daughter needed for class. The book was a good price on Amazon. It arrived on time." Read more
"The book is good insight into the cost of computation. The algorithms discussed have practical applications. It is an interesting read." Read more
Customers appreciate the book's depth. They find it covers a wide range of material and tasks, including making a call schedule and finding the best parking spot. The choice of topics, writing, and organization are also praised.
"...This book has great depth. Remarkably, it has even greater range...." Read more
"...It covers a huge amount of material, and provides an authoritative first look at any of its topics the reader has not previously encountered...." Read more
"...It covers all sorts of tasks—making a call schedule, finding the best parking spot, managing children or adults who are challenge limits or are..." Read more
"...The choice of topics, writing and organization are first rate The authors are good humored without pandering to the reader...." Read more
Customers have different views on the book's readability. Some find it an easy-to-read introduction to information networks, with clear explanations and legible text. Others find the content too technical and difficult to absorb, with limited mathematics and theories getting blander as the book progresses.
"...recent election, and the chapter on networking gave a great, easy-to-read introduction to how information networks differ from telephony...." Read more
"...By doing so, the authors hope to destigmatize the word and get people to see the concept differently...." Read more
"...Well, I wasn’t 100% wrong. It was hard. However, I understood and I learned. Yes, I hit replay dozens of times, but I got it...." Read more
"Text is legible and printed the same size unlike other reviews, but the book odds a little unwieldy...." Read more
Reviews with images

Could be better for sure
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on September 8, 2017I got the audio version of this book a year ago. Every time I thought to dive in, I felt a mild quaking in my soul. Gah, this is gonna be so hard, I worried. As a mere mortal without any background in computer science, advanced mathematics, logic, or statistics and risk, I feared my reach exceeded my ability to grasp.
Well, I wasn’t 100% wrong. It was hard. However, I understood and I learned. Yes, I hit replay dozens of times, but I got it. (Of course, after I ran through the audio version twice, I ordered the book because I just had to have it in my library.)
I did not expect the multidisciplinary palette from which the authors created this work. While teaching me about optimization problems in computer science, I came better to understand mean-variance portfolio optimization, game theory, equilibrium strategies, and caching, just to name a very few. This book has great depth. Remarkably, it has even greater range.
When examining the algorithmic dances that computers do nanosecond by nanosecond, we are also examining how we make decisions every day. Should I stay on this jammed expressway? How long should I wait for a table at my favorite eatery? Is it better to do three small laundry loads per week or have one big laundry day? How should I best arrange all of these books on my shelves? If you are like me, you have experienced that frustrating little circle, spinning and spinning, as your computer tries to wrest a result from the digital universe or just from your hard drive. When you are waiting for a taxi or a train, you are experiencing a life-size version that little spinning circle. When do you chalk it and look for Plan B?
This book describes how computers solve their problems and at the same time it shows us how the problems computers solve are just like the ones we deal with and solve, day in and day out. This isn’t too shocking, since humans set up the computer decision-making trees in the first place. Still, when I am synthesizing many possibilities, or struggling with family schedule optimization problems, I really can’t wait to apply terms like “simulated annealing” and “the price of anarchy”.
At the end of the day, when my family members are all doing the equivalent of sticking a thumb drive in my ear and starting their respective downloads, instead of objecting with: “Wait a minute, one at a time, I have to think!”, it will bring me joy to say, “Don’t trigger a Bufferbloat, guys, no one wants a Tail Drop.”
Most fun fact I learned:
“In contrast to the widely held view that less processing reduces accuracy, the study of heuristics shows that less information, computation, and time can in fact improve accuracy.” My translation? Don’t forget to ask grandma what she thinks, it’s likely to be spot on.
I really loved this book. It is one I will return to often.
- Reviewed in the United States on November 6, 2024Annie Duke recommended this book (I forget if it was Thinking in Bets or Quit) and it sounded right up my alley. The nickel tour is that it was presented as attempting to apply various CS algorithms onto everyday life, to help us better interact with the world. Honestly, I have mixed feelings about the book - it’s trying to straddle between computer science and psychology, and it sort of ends up failing at both.
So you get a high level super fast intro to various algorithms, and then frequently an even faster handwavy concept of how you might be able to use those things in your life. I found myself wanting more of both sides - I wanted a richer explanation of the algorithms, and I definitely wanted more clear applications of them. Some of the chapters were better than others - the initial one on Optimal Stopping provided very concrete examples of dealing with the Secretary Problem, the intros to Bayes’s Rule was useful, though I felt everything in that chapter was too quick. But towards the end of the book, both the chapters on Overfitting and Relaxation, as well as Randomness were rather insightful in some of the strategies they were proposing and how they can be useful. The final chapter on game theory did bring it all home nicely. I was nominally offended by how quickly he glossed over bucket sort, because it’s a pretty awesome algorithm. Its even cooler cousin, and my favorite, radix sort wasn’t mentioned at all. Heaps are probably too difficult to construct in the real world, but there was a fair bit of time dedicated to how stacks of papers on your desk is an optimal sorting strategy, so I felt ahead of the game in that regard.
Overall, I’d call this a good-but-not-great book. I think it’s conceptually useful, but I also feel like I want to go off and dig into more about how to use these algorithms in the real world. I mean, I know tons of algorithms, but I hadn’t really encountered anything explicitly encouraging their use outside of software. I’m sure I use the knowledge in the real world, but I feel like it’s a little buried under the surface, so maybe this’ll help bring it out a little more. So I think I may have some follow up homework to do, but this was a nice intro. Recommended.
Top reviews from other countries
-
Moises Rangel SilvaReviewed in Mexico on December 30, 2022
5.0 out of 5 stars Gracias muy buen libro.
Buen enfoque de las decisiones humanas con la ciencia de computación.
- Manesh KumarReviewed in the Netherlands on December 9, 2024
5.0 out of 5 stars Good Quality
Really good book, I gifted to my wife to read it, she is not IT engineer but she understands the logic and design of the software.
- SandyReviewed in India on April 20, 2024
5.0 out of 5 stars Not for faint hearted but your world view will change after reading
This is not a easy read. I completed the book and it took me some mental calisthenics to do so, but once you cross the bridge, you feel, the "epiphany". The topic are varied and covers many maths and computer science related problems but they are actually real world issues. Topics like prisoners dilemma and Game theory are actually applied during difficult negotiations. Vickey auction is especially useful then the bidders don't have a complete understanding of underling cost involved in running the business aka cost of capital for eg the cost of exploring an oil field or the cost of building a telecom network (often leading to under bidding). Win lose switch strategy, may be a good option when releasing a under trail drug which save lives but is not fully tested(case in the book was ECMO saving lives of children).
Randomness, caching memory, overfitting are all discussed.
My favourite chapter was ofcourse, Bayesian probability. Did you know the Bayes never published what would become his most famous accomplishment; his notes were edited and published posthumously by Richard Price. Furthermore it was de Laplace who came up with formula for probability ( r + 1 ) / ( n + 2 ).
I sometimes wonder the life of a statistician where one sees probabilities and optimizations everywhere. In fact there is mention of how Tom leaves his socks lying near the bed to optimize caching, only to be admonished by his wife, for making a mess.
All in all its a fantastic read, it will take some time to digest the material but once you internalize the concept your world view will change for ever. Happy reading
-
swordironReviewed in France on August 8, 2023
5.0 out of 5 stars Excellent
Pleins de bonnes idées et de bons concepts à la limite entre la philosophie et l'informatique. Je recommande très fortement.
-
NicReviewed in Italy on March 16, 2023
5.0 out of 5 stars Algoritmi per vivere: La scienza informatica delle decisioni umane
"Algorithms to live by" è un libro davvero illuminante che ci mostra come la scienza informatica può aiutarci a prendere decisioni migliori nella vita quotidiana. Gli autori, Brian Christian e Tom Griffiths, applicano i principi dell'informatica e dell'ottimizzazione al mondo reale, aiutandoci a risolvere problemi come la gestione del tempo, la scelta della casa ideale, la decisione di lasciare o meno un lavoro e molto altro ancora. La scrittura è chiara e accessibile, e gli esempi sono divertenti ed istruttivi. Se sei interessato ad applicare la logica delle scienze informatiche alla vita quotidiana, questo libro è una lettura obbligatoria. Lo consiglio vivamente a chiunque abbia una mente curiosa e aperta.