Showing posts with label data science. Show all posts
Showing posts with label data science. Show all posts

Tuesday, August 04, 2015

Hacking Zebrafish thoughts

The last lab from Scalable Machine Learning with Spark features a guest lecture by Jeremy Freeman, a professor of neuroscience at Janelia Farm Research Campus.

His group produced this gorgeous video of a living zebrafish brain. Little fish thoughts sparkle away, made visible by a technique called light-sheet flourescent microscopy in which engineered proteins that light up when the neurons fire are engineered into the fish.

The lab covers principal component analysis in a lively way. Principal components are extracted from time-series data and mapped onto an HSV color wheel and used to color an image of the zebrafish brain. In the process, we use some fun matrix manipulation to aggregate the time series data in two different ways - by time relative to the start of a visual stimulus and by the directionality of the stimulus (shown below).

The whole series of labs from the Spark classes was nicely done, but this was an especially fun way to finish it out.

Check out the Freeman Lab's papers:

Tuesday, July 21, 2015

Machine learning on music data

The 3rd lab from Scalable Machine Learning with Spark has you predict the year a song was published based on features from the Million Song Dataset. How much farther could you take machine analysis of music? Music has so much structure that's so apparent to our ears. Wouldn't it be cool to be able to parse out that structure algorithmically? Turns out, you can.

Apparently The International Society for Music Information Retrieval (ISMIR) is the place to go for this sort of thing. A few papers, based on minutes of rigorous research (aka random googling):

In addition to inferring a song's internal structure, you might want to relate it's acoustic features to styles, moods or time periods (as we did in the lab). For that, you'll want music metadata from sources like:

There's a paper on The Million Song Dataset paper by two researchers at Columbia's EE department and two more at the Echo Nest.

Even Google is interested in the topic: Sharing Learned Latent Representations For Music Audio Classification And Similarity.

Tangentially related, a group out of Cambridge and Stanford say Musical Preferences are Linked to Cognitive Styles. I fear what my musical tastes would reveal about my warped cognitive style.

Wednesday, July 08, 2015

Scalable Machine Learning with Spark class on edX

Introduction to Big Data with Apache Spark is an online class hosted on edX that just finished. Its follow-up Scalable Machine Learning with Spark just got started.

If you want to learn Spark - and who doesn't? - sign up.

Spark is a successor to Hadoop that comes out of the AMPLab at Berkeley. It's faster for many operations due to keeping data in memory, and the programming model feels more flexible in comparison to Hadoops rigid framework. The AMPLab provides a suite of related tools including support for machine learning, graphs, SQL and streaming. While Hadoop is most at home with batch processing, Spark is a little better suited to interactive work.

The first class was quick and easy, covering Spark and RDDs through PySpark. No brain stretching on the order of Daphne Koller's Probabilistic Graphical Models to be found here. The lectures stuck to the "applied" aspects, but that's OK. You can always hit the papers to go deeper. The labs were fun and effective at getting you up to speed:

Labs for the first class:

  • Word count, the hello world of map-reduce
  • Analysis of web server log files
  • Entity resolution using a bag-of-words approach
  • Collaborative filtering on a movie ratings database. Apparently, I should watch these: Seven Samurai, Annie Hall, Akira, Stop Making Sense, Chungking Express.

The second installment looks to very cool, delving deeper into mllib the AMPLab's machine learning library for Spark. Its labs cover:

  • Musicology: predict the release year of a song given a set of audio features
  • Prediction of click-through rates
  • Neuroimaging Analysis on brain activity of zebrafish (which I suspect is the phase "Just keep swimming" over and over) done in collaboration with Jeremy Freeman of the Janelia Research Campus.

The labs for both classes are authored as IPython notebooks in the amazingly cool Jupyter framework where prose, graphics and executable code fit combine to make a really nice learning environment.

Echoing my own digital hoarder tendencies, the first course is liberally peppered with links, which I've dutifully culled and categorized for your clicking compulsion:

Big Data Hype

Papers

Data Cleaning

Background

etc

The Data Science Process

In case you're still wondering what data scientists actually do, here it is according to...

Jim Gray

  • Capture
  • Curate
  • Communicate

Ben Fry

  • Acquire
  • Parse
  • Filter
  • Mine
  • Represent
  • Refine
  • Interact

Jeff Hammerbacher

  • Identify problem
  • Intrumenting data sources
  • Collect data
  • Prepare data (integrate, transform, clean, filter, aggregate)
  • Build model
  • Evaluate model
  • Communicate results

...and don't forget: Jeffrey Leek and Hadley Wickham.

Wednesday, December 03, 2014

Lee Edlefsen on Big Data in R

Lee Edlefsen, Chief Scientist at Revolution Analytics, spoke about Big Data in R at the FHCRC a week or two back. He introduced the PEMA or parallel external memory algorithm.

“Parallel external memory algorithms (PEMA's) allow solution of both capacity and speed problems, and can deal with distributed and streaming data.”

When a problem is too big to fit in memory, external memory algorithms come into play. The data to be processed is chunked and loaded into memory a chunk at a time and partial results from each chunk combined into a final result:

  1. initialize
  2. process chunk
  3. update results
  4. process results

Edlefsen made a couple of nice observations about these steps. Processing an individual chunk can often be done independently of other chunks. In this case, it's possible to parallelize. If updating results can be done as new data arrives, you get streaming.

Revolution has developed a framework for writing parallel external memory algorithms in R, RevoPemaR, making use of R reference classes.

I couldn't find Edlefsen's exact slides, but these decks on parallel external memory algorithms and another from UseR 2011 on Scalable data analysis in R seem to cover everything he talked about.

Friday, January 24, 2014

Online class on Statistical Learning

Trevor Hastie and Robert Tibshirani are teaching an online class on Statistical Learning starting this week.

The first week is introduction and overview, so it's not too late to join up.

They've also published a new book, An Introduction to Statistical Learning, as a more accessible companion to their widely revered The Elements of Statistical Learning. Like it's older sibling, the new book is availabe for free download as a PDF.

The class overlaps a bit with Andrew Ng's Machine Learning class, but I'm looking forward to a different perspective, new material on penalized regression, resampling methods and non-linear fitting and random forest, and more practice.

The Statistical Learning class is taught with examples in R, which is great.

Amir Sadoughi is starting a community driven solution guide to the exercises.

If you prefer Python, some folks at Boston startup DataRobot is planning to follow the class with a series of blog posts that show how "statistical learning techniques presented in the course can be applied using tools from the Python ecosystem: “numpy”, “scipy”, “pandas”, “matplotlib”, “scikit-learn”, and “statsmodels”". Awesome!

Those interested may also like Yaser Abu-Mostafa's MOOC Learning from Data which ran "live" last year but is now available in "take at your own pace" mode. I haven't taken it, but have heard glowing recommendations. Students for that course produced a truely impressive solutions guide with code in R, Python, Octave, Haskell and several other languages.

For those who want and have a budget for the in-person experience Hastie and Tibshirani are teaching a 2 day seminar in Palo Alto on March 20-21.

Saturday, July 06, 2013

Automate This!

The invention of the printing press by German blacksmith Johannes Gutenberg in 1439, the foundational event of the infomation age, is a common touchstone for technology stories, appearing in the opening chapter of both Nate Silver's The Signal and the Noise and Viktor Mayer-Schonberger and Kenneth Cukier's Big Data.

Automate This!, by Christopher Steiner, comes at current technology trends from a more mathy angle, tracing roots back to Leibniz and Gauss. Here, it's algorithms rather than data that take center stage. Data and algorithms are two sides of the same coin, really. But, it's nice to some of the heros of CS nerds everywhere get their due: Al Khwarizmi, Fibonacci, Pascal, the Bernoullis, Euler, George Boole, Ada Lovelace and Claude Shannon.

Automate This! is more anecdotal than Big Data, avoiding sweeping conclusions except the one announced in bold letters as the title of the last chapter: "The future belongs to the algorithms and their creators." The stories, harvested from Steiner's years as a tech journalist at Forbes, cover finance and the start-up scene, but also medicine, music and analysis of personality.

Many of the same players from Nate Silver's book or from Big Data make an appearance here as well: Moneyball baseball manager Billy Beane, game-theorist and political scientist Bruce Bueno de Mesquita, and Facebook data scientist and Cloudera founder Jeff Hammerbacher.

Finance

In the chapter on algorithmic trading we meet hungarian-born electronic-trading pioneer Thomas Peterffy, who built financial models in software in the 80's before it was cool by hacking a NASDAQ terminal.

In the same chapter, I gained new respect for financial commentator Jim Cramer. In contrast to his buffoonish on-screen persona, his real-time analysis of the May 2010 flash-crash was both "uncharacteristically calm" and uncannily accurate. As blue-chip stocks like JNJ dived to near-zero, he made the savvy assessment, "That's not a real price. Just go and buy it!" and, as prices recovered only minutes later, "You'll never know what happened here." There's little doubt that algorithmic trading was the culprit, but the unanswered question is whether it was a bot run amok or an intentional strategy that worked a little too well. Too bad, if you did buy they probably canceled it.

Music

Less scarily, algorithms can rate a pop song's chances of becoming a hit single. Serious composer and professor of music David Cope uses hand-coded (in LiSP) programs to compose music, pushing boundaries in automating the creative process.

Medicine

Having mastered Jeopardy, IBM's Watson is gearing up to take a crack at medical diagnostics, which is a field Hammerbacher thinks is ripe for hacking.

Psych and soc

Computers are beginning to understand people, which gives them a leg up on me, I'd have to say. Taibi Kahler developed a classification system for personality types based on patterns in language usage. Used by NASA psychiatrist Terry McGuire to compose well-balanced flight crews, the system divides personality into six bins: emotions-driven, thoughts-based, actions-driven, reflection-driven, opinions-driven, and reactions-based. If you know people more than superficially, they probably don't fit neatly into one of those categories, but some do (by which I mean they have me pretty well pegged).

At Cornell, Jon Kleinberg's research provides clues to the natural pecking order that emerges among working or social relationships - Malcolm Gladwell's influencers detected programmatically. One wonders if corporate hierarchies were better aligned with such psychological factors would the result be a harmonious workplace where everyone knows and occupies their right place? Or a brave new world of speciation into some technological caste system?

What next?

Perhaps surprisingly, Steiner cites the Kaufmann Foundation's Financialization and Its Entrepreneurial Consequences on "the damage wrought by wall street" - the brain drain toward finance and away from actual productive activity. The book ends with the hopeful message that the decline of finance will set quantitative minds free to work on creative entrepreneurial projects. For the next generation, there's a plea for urgently needed improvements in quantitative education, especially at the high-school level.

Automate This! is a quick and fun read. Steiner's glasses are bit rose-tinted at times and his book will make you feel like a chump if you haven't made a fortune algorithmically gaming the markets or disrupting some backwards corner of the economy. As my work-mates put it, we're living proof that tech-skills are a necessary but not sufficient condition.

Links

Kahler's personality types

  • Emotions-driven: form relationships, get to know people, tense situations -> dramatic, overreative
  • Thoughts-based: do away with pleasantries, straight to the facts. Rigid pragmatism, humorless, pedantic, controlling
  • Actions-driven: crave action, progress, always, pushing, charming. Pressure -> impulsive, irrational, vengeful
  • Reflection-driven: calm and imaginative, think about what could be rather than work with what is, can dig into a new subject for hours, applying knowledge to the real work is a weakness
  • Opinions-driven: see one side, stick to their opinions in the face of proof. Persistent workers, but can be judgmental, suspicious and sensitive
  • Reactions-based: rebels, spontaneous, creative and playful. React strongly, either, "I love it!" or "That sucks!" Under pressure, can be stubborn, negative, and blameful

Tuesday, June 25, 2013

The Dream 8 Challenges

The 8th iteration of the DREAM Challenges are underway.

DREAM is something like the Kaggle of computational biology with an open science bent. Participating teams apply machine learning and statistical modeling methods to biological problems, competing to achieve the best predictive accuracy.

This year's three challenges focus on reverse engineering cancer, toxicology and the kinetics of the cell.

Sage Bionetworks (my employer) has teamed up with DREAM to offer our Synapse platform as an integral part of the challenges. Synapse is targeted at providing a platform for hosting data analysis projects, much like GitHub is a platform for software development projects.

My own part in Synapse is on the Python client and a bit on the R client. I expect to get totally pummeled by bug reports once participation in the challenges really gets going.

Open data, collaborative innovation and reproducible science

The goal of Synapse is to enable scientists to combine data, source code, provenance, prose and figures to tell a story with data. The emphasis is on open data and collaboration, but full access control and governance for restricted access is built in.

In contrast to Kaggle, the DREAM Challenges are run in the spirit of open science. Winning models become part of the scientific record rather than the intellectual property of the organizers. Sharing code and building on other contestant's models is encouraged in with hopes of forming networks of collaborative innovation.

Aside from lively competition, these challenges are a great way to compare the virtues of various methods on a standardized problem. Synapse is aiming to become an environment for hosting standard open data sets and documenting reproducible methods for deriving models from them.

Winning methods will be presented at the RECOMB/ISCB Conference in Toronto this fall.

So, if you want to sharpen your data science chops on some important open biological problems, check out the DREAM8 challenges.

More on DREAM, Sage Bionetworks, and Challenges

Wednesday, June 12, 2013

Big Data Book

Big Data: A Revolution That Will Transform How We Live, Work, and Think asks what happens when data goes from scarce to abundant. The book expands on The data deluge, a report appearing in the Economist in early 2010, providing a concise overview of a topic that is at the same time over-hyped and also genuinely transformative.

Authors Kenneth Cukier, Data Editor at the Economist, and Viktor Mayer-Schonberger, Oxford professor of public policy, look at big data trends through a business oriented lens.

Their book identifies two important shifts in thinking as key to dealing with big data: comfort with the messy uncertainty of probability and what the book refers to as correlations over causality. This just means that some tasks are better suited to a correlative or pattern matching approach rather than modeling from first principles. No one drives a car by thinking about physics.

In domains such as natural language and biology we'd like to know the underlying theory, but don't. At least, not yet. Where theory is insufficiently developed to directly answer pressing questions, a correlative, probabilistic approach is the best we can do. The merits of this concession to incomplete information can be debated, and was by Norvig and Chomsky. But, empirical disciplines like medicine and engineering rely on it - let alone the really messy worlds of economics and politics. It's often necessary to act in absence of mechanistic understanding.

As data goes from a scarcity to abundance, judgment and interpretation remain valuable. What changes is that you don't necessarily have to formulate a question and only then collect data that may help answer it. Another strategy becomes viable - collect a trove of data first and then interrogate it. That may bother hypothesis-driven traditionalists, but once you have a high-throughput data source - a DNA sequencer, a sensor networks or an e-commerce site - it makes sense to ask yourself what questions you can ask of that data.

Datafication

One industry or discipline after another has undergone the transition from information scarcity to super-abundance. One of the last hold-outs is medicine, where the potential impact is huge. Internet companies are accumulating vast data hordes streaming in through social networks and smartphones. The process has something of the character of a land-rush. Given the economies of scale, each category has its dominant player.

The dark side

As for obligatory dark-side of big data, the book worries about "the prospect of being penalized by for things we haven't even done yet, based on big data's ability to predict our future behavior."

While this won't keep me up at night, technology is not necessarily the liberating force that we may hope it is, nor is it necessarily a tool of Orwellian control. Certain technologies lend themselves more readily one way or the other.

A more pedestrian "threat to human agency" comes from marketers and political consultants equipped with data feeds, powerful machines and brainy statisticians, and able to manipulate people into consuming useless junk and acting against their own interests. Given detailed individual profiles and constant feedback on the effectiveness of targeted marketing, the puppet masters are likely to keep getting better at pulling our strings.

Data governance

To safeguard privacy and ethical uses of data, the book advocates a self-policing professional association of data scientists similar to those existing for accountants, lawyers and brokers. Personally, I'm a skeptical that these organizations have much in the way of teeth. An informed public debate might be a healthier option.

Bolder thinking in this area comes from Harvard's cyber-law group. Their VRM (for vendor relationship management) project proposes a protocol by which individuals and vendors can specify the terms under which they are willing to share data. Software can automate the negotiation and present options where terms are compatible. Precedents for these ideas can be found in finance where bonds and options are standardized contracts and can thus be fluidly traded.

The new oil?

Land, labor and capital are the classic factors of production - the primary inputs to the economy - or so they teach in Econ 101. Technology certainly belongs on that list and data does as well. The original robber barons sat in castles overlooking the Rhine or the Danube taxing the flow of goods and travelers around Europe. The term was later applied to giant industrial firms built on other flows: oil, rail and steel. Companies like Google, Facebook and Amazon extract wealth from a new flow: that of data. It's time to think of data as another factor of economic production, a raw material out of which something can be made.

Links, links, links

Sunday, March 24, 2013

Nate Silver's The Signal and the Noise

A couple months back, on a weekend pilgrimage down to Powell's Books in Portland, I picked up a copy of Nate Silver's The Signal and the Noise, Why So Many Predictions Fail-but Some Don't. It was the subject of an upcoming lunch-time book club at work, so I thought I'd give it a try.

Silver is known for prescient election forecasts on his FiveThirtyEight blog. Using methods based on aggregation of independent polls, he correctly called all 50 states in the 2012 U.S. presidential election and 49 out of 50 in 2008. Prior to politics, Silver dabbled in the applied end of predictive statistics in finance, sports handicapping, and online gambling.

Errant predictions are shown to be at the heart of many modern problems from the 2008 financial crisis to unreliable science (Why Most Published Research Findings Are False).

Silver draws links to several well-known or should-be-well-known people, and seems to have met an amazing number of them: Paul Krugman, Google Chief Economist Hal Varian, NYU political scientist Bruce Bueno de Mesquita, Chaos theorist Edward Lorenz, statistician Andrew Gelman, behavioral economist Richard Thaler, psychologist Daniel Kahneman, financial commentator Henry Blodget, security expert Bruce Schneier and enough others to fill pages of often humorous end-notes.

Geek-lit classics Godel Escher Bach and Hitchhiker's Guide to the Galaxy are duly referenced along with classic classics like Shakespeare and the Bible.

That which has been is what will be, That which is done is what will be done, And there is nothing new under the sun. ... There is no remembrance of former things, Nor will there be any remembrance of things that are to come By those who will come after.

Ecclesiastes 1:9,11

The famous saying is that prediction is hard, especially about the future. The ways in which predictions succeed or fail are illustrated with anecdotes drawn from twelve areas of application.

The financial crisis

High on the list of causes of the 2008 financial crisis are hubris, overconfidence with untested methods and conflicts of interest. The technical flaw hidden in mortgage backed securities was an assumption of independence - the assumption that a default on one loan was uncorrelated with the performance of another loan. That assumption was undone by an "out of sample" event, the correlated decline in the national housing market that precipitated the crisis.

Silver doesn't go far enough in acknowledging the role of corruption for Cathy O'Neil (aka Mathbabe) who sees Nate Silver as led astray by ignoring politics and incentives.

"He spends very little time on the question of how people act inside larger systems, where a given modeler might be more interested in keeping their job or getting a big bonus than in making their model as accurate as possible."

With an insider's view based on her experience as a Wall Street quant, O'Neil sees outright crookedness, perverse incentives and lack of oversight as bigger contributers than bad luck or even incompetence. (Listen to Cathy O'Neil on EconTalk.)

But, Silver doesn't ignore ethics or incentives, having this to say about triple A rated toxic assets. "S&P and Moody’s had taken advantage of their select status to build up exceptional profits... The agencies had little incentive to compete on the basis of quality... Ratings quality was the least important factor driving the company’s profits." Silver quotes George Akerlof's Market for Lemons, which shows "that in a market plagued by asymmetries of information, the quality of goods will decrease and the market will come to be dominated by crooked sellers and gullible or desperate buyers." But, the chapter is called a catastrophic failure of prediction, when there's a good argument that the most important failings where elsewhere.

Politics

As a sideshow to the 2012 presidential election, the right leaning Fox News went on confidently predicting republican landslide well after there was sufficient evidence to the contrary. Berkeley professor of psychology and political science Philip Tetlock, calls this ideologically biased reasoning "a blurry fusion between facts and values". The mistakes highlighted here are overconfidence, loss of objectivity and confirmation bias.

Baseball

The (dreaded) sports chapter presents another tale of competition between quantitative objectivity and human judgment - the contest between Moneyball statistics and the gut instincts of talent scouts. This time Silver is conciliatory, finding merit on both sides. Our brains evolved to make decisions under conditions of uncertainty and insufficient information. Statistics can help correct for those predictably irrational inbuilt biases in human reasoning. But intuition may glean scraps of information that don't show up in the numbers.

Weather

Meteorology has the benefit of fairly advanced models based on real physics. Technology also helps; more computing power enables higher resolution models. But, non-linearity makes these models highly sensitive to initial conditions, a hallmark of chaotic systems and a challenge to forecasters.

Weather forecast turns out to be one of the success stories of the book. Humbly realizing the imperfect nature of their craft, "they express their predictions in terms of probabilities: there’s a 40 percent chance of rain tomorrow."

Allan Murphy's What is a good forecast?, An Essay on the Nature of Goodness in Weather Forecasting offers three dimensions of quality in forecasting: accuracy, honesty, value. Murphy advocates an admirable set of principles: honesty and humility, a frank assessment of the limitations of the methods, and learning from the inevitable missed calls.

Earthquakes

Earthquakes have a long record of frustrating attempts at prediction. Either earthquakes are inherently unpredictable or we can't measure the truly predictive variables. That hasn't stopped people from finding what appear to be patterns. When we mistake noise for signal fooling ourselves into seeing patterns in random data, we are committing a statistical sin known as overfitting.

Economics

Silver reserves a lot of criticism for economists, perhaps surprising for a graduate of the Chicago University's Economics department and former student at the London School of Economics. His complaint is that much economic analysis is presented without a fair accounting for the large uncertainties involved, for fear that an honest evaluation of uncertainty might lead to diminished authority and influence.

Epidemiology

Predictions have value in that they can inform decision making. If you have the job of the CDC, overreacting to a potential outbreak can be costly. Having a false sense of security might result in being unprepared for the real thing. Thinking in terms of probabilities allows more nuanced weighting of both consequences and likelihood. This can be formalized by integrating the economic concept of utility with probability.

Chess

The two chapters on Chess and Poker draw out the distinction between games of complete information like Chess and games like Poker where chance and hidden information play a significant role. Chess is hard simply based on combinatorics - the size of the search tree.

Poker

Poker, by contrast, is hard because of what we don't know. What cards are my opponents holding? What cards will come up on the next draw? Good poker players (not that I'm among them) can infer likely hands based on the choices made by other players. Good players also deviate from strictly correct play just enough to confuse these inferences.

Financial markets

As in poker, second order effects play a big role in financial markets. Traders and their algorithms try to second guess each other, making predictions, not just about the underlying securities but also about the beliefs of other investors. These predictions have the power to move markets.

In Sliver's words, "efficient markets meet irrational exuberance". The market consists of two tracks running simultaneously on the same road. First there is the signal track, the rational market well grounded in fundamentals that prevails in the long run. "Then there is the fast track, the noise track, which is full of momentum trading, positive feedbacks, skewed incentives and herding behavior. Usually it is just a rock-paper-scissors game that does no real good to the broader economy—but also perhaps also no real harm. It’s just a bunch of sweaty traders passing money around."

Naturally, the Wall Street Journal's reviewer raises objections to that characterization. Myself, I'm skeptical of the no-harm-done part. Predatory practices like high-frequency trading prosper at expense of everyone else in the market.

Climate

Noise can obscure the true signal and noise can be used by those with ulterior motivations to cast doubt on valid conclusions. In the politicized debate around climate change, it's not unheard of for vested interests to support their case by cherry-picking the facts to support foregone conclusions. Clearly, this is no way to get at the truth. Silver wisely points out the error made by many on the scientific side in assuming that the political problem can be solved by persuading more people on the basis of scientific merit. That won't work. In a political cat-fight, scientific validity means very little.

"The dysfunctional state of the American political system is the best reason to be pessimistic about our country’s future. Our scientific and technological prowess is the best reason to be optimistic."

Terrorism

An interview with Donald Rumsfeld kicks off the chapter on the unfamiliar and the improbable. Who better to talk about the "unknown unknowns"? Unique unlikely events like the 9/11 attack on the World Trade Center exist in the unexpectedly fat tails of the probability distribution. These are Nassim Taleb's Black Swans.

The uniqueness of these rare events means they are likely to be outside the scope of standard models. Like earthquakes, their frequency falls exponentially in proportion to their severity. Also like earthquakes, the specifics are hard to predict.

Thomas Bayes

Principles of a forecaster

In the statistical schism between frequentists and Bayesians, Silver comes down on the Bayesian side. The book refers in several places to the process of adjusting beliefs in a measured way with the arrival of new evidence. Silver approaches forecasting with a few principles for making better predictions:

  • Think probabilistically: "Instead of spitting out just one number and claiming to know exactly what will happen, I instead articulate a range of possible outcomes. [...] [A] wide distribution of outcomes represent[s] the most honest expression of the uncertainty in the real world."
  • Have the humility to acknowledge uncertainty and learn from mistakes: "Uncertainty is an essential and nonnegotiable part of a forecast." & "...failing to change our forecast because we risk embarrassment by doing so...reveals a lack of courage."
  • Seek consensus: "aggregate or group forecasts are more accurate than individual ones." Weigh evidence objectively rather than selectively.

Silver has an amusing take on the old fox and hedgehog story. Foxes are better forecasters because of their tolerance for complexity and ambiguity, openness to multiple approaches and willingness to acknowledge error. Hedgehogs have one big idea, a simple explanation that ideology tells them must be right. Silver is a Fox, of course. (Who wants to be a hedgehog?).

I enjoyed the book and recommend it to anyone with an interest in stats, data science or machine learning. Silver tells good stories and packs them with things to think about later. But, if Silver does have one big hedgehog-ish idea, Bayes is it.

Related stuff