Grokking Algorithms An Illustrated Guide For Programmers and Other Curious People


Aditya Y. Bhargava - 2015
    The algorithms you'll use most often as a programmer have already been discovered, tested, and proven. If you want to take a hard pass on Knuth's brilliant but impenetrable theories and the dense multi-page proofs you'll find in most textbooks, this is the book for you. This fully-illustrated and engaging guide makes it easy for you to learn how to use algorithms effectively in your own programs.Grokking Algorithms is a disarming take on a core computer science topic. In it, you'll learn how to apply common algorithms to the practical problems you face in day-to-day life as a programmer. You'll start with problems like sorting and searching. As you build up your skills in thinking algorithmically, you'll tackle more complex concerns such as data compression or artificial intelligence. Whether you're writing business software, video games, mobile apps, or system utilities, you'll learn algorithmic techniques for solving problems that you thought were out of your grasp. For example, you'll be able to:Write a spell checker using graph algorithmsUnderstand how data compression works using Huffman codingIdentify problems that take too long to solve with naive algorithms, and attack them with algorithms that give you an approximate answer insteadEach carefully-presented example includes helpful diagrams and fully-annotated code samples in Python. By the end of this book, you will know some of the most widely applicable algorithms as well as how and when to use them.

Hands-On Machine Learning with Scikit-Learn and TensorFlow


Aurélien Géron - 2017
    Now that machine learning is thriving, even programmers who know close to nothing about this technology can use simple, efficient tools to implement programs capable of learning from data. This practical book shows you how.By using concrete examples, minimal theory, and two production-ready Python frameworks—Scikit-Learn and TensorFlow—author Aurélien Géron helps you gain an intuitive understanding of the concepts and tools for building intelligent systems. You’ll learn how to use a range of techniques, starting with simple Linear Regression and progressing to Deep Neural Networks. If you have some programming experience and you’re ready to code a machine learning project, this guide is for you.This hands-on book shows you how to use:Scikit-Learn, an accessible framework that implements many algorithms efficiently and serves as a great machine learning entry pointTensorFlow, a more complex library for distributed numerical computation, ideal for training and running very large neural networksPractical code examples that you can apply without learning excessive machine learning theory or algorithm details

Data Smart: Using Data Science to Transform Information into Insight


John W. Foreman - 2013
    Major retailers are predicting everything from when their customers are pregnant to when they want a new pair of Chuck Taylors. It's a brave new world where seemingly meaningless data can be transformed into valuable insight to drive smart business decisions.But how does one exactly do data science? Do you have to hire one of these priests of the dark arts, the "data scientist," to extract this gold from your data? Nope.Data science is little more than using straight-forward steps to process raw data into actionable insight. And in Data Smart, author and data scientist John Foreman will show you how that's done within the familiar environment of a spreadsheet. Why a spreadsheet? It's comfortable! You get to look at the data every step of the way, building confidence as you learn the tricks of the trade. Plus, spreadsheets are a vendor-neutral place to learn data science without the hype. But don't let the Excel sheets fool you. This is a book for those serious about learning the analytic techniques, the math and the magic, behind big data.Each chapter will cover a different technique in a spreadsheet so you can follow along: - Mathematical optimization, including non-linear programming and genetic algorithms- Clustering via k-means, spherical k-means, and graph modularity- Data mining in graphs, such as outlier detection- Supervised AI through logistic regression, ensemble models, and bag-of-words models- Forecasting, seasonal adjustments, and prediction intervals through monte carlo simulation- Moving from spreadsheets into the R programming languageYou get your hands dirty as you work alongside John through each technique. But never fear, the topics are readily applicable and the author laces humor throughout. You'll even learn what a dead squirrel has to do with optimization modeling, which you no doubt are dying to know.

The Skeptics' Guide to the Universe: How to Know What's Really Real in a World Increasingly Full of Fake


Steven Novella - 2018
    There really are no ultimate authority figures-no one has the secret and there is no place to look up the definitive answers to our questions (not even Google). But, by thinking skeptically and logically, we can combat sloppy reasoning, bad arguments and superstitious thinking. It's difficult, and takes a lot of vigilance, but it's worth the effort.In this tie-in to their incredibly popular "The Skeptics Guide to the Universe" podcast, Steven Novella, MD along with "Skeptical Rogues" Bob Novella, Cara Santa Maria, Jay Novella, and Evan Bernstein will explain the tenets of skeptical thinking and debunk some of the biggest scientific myths, fallacies and conspiracy theories (Anti-vaccines, homeopathy, UFO sightings, etc.) They'll help us try to make sense of what seems like an increasingly crazy world using powerful tools like science and philosophy. THE SKEPTICS' GUIDE TO THE UNIVERSE is your guide through this maze of modern life. It covers essential critical thinking skills, as well as giving insight into how your brain works and how to avoid common pitfalls in thinking. They discuss the difference between science and pseudoscience, how to recognize common science news tropes, how to discuss conspiracy theories with that crazy coworker of yours, and how to apply all of this to everyday life.So, are you ready to join them on an epic scientific quest, one that has taken us from huddling in dark caves to stepping foot on the Moon? (Yes, we really did that.) Like all adventures, this one is foremost a journey of self discovery. The monsters you will slay and challenges you will face are mostly constructs of your own mind. With the SKEPTIC'S GUIDE TO THE UNIVERSE, we can do this together.

Caesar's Last Breath: Decoding the Secrets of the Air Around Us


Sam Kean - 2017
    It's ever-present. Without it, you would die in minutes. And it has an epic story to tell.In Caesar's Last Breath, New York Times bestselling author Sam Kean takes us on a journey through the periodic table, around the globe, and across time to tell the story of the air we breathe, which, it turns out, is also the story of earth and our existence on it.With every breath, you literally inhale the history of the world. On the ides of March, 44 BC, Julius Caesar died of stab wounds on the Senate floor, but the story of his last breath is still unfolding; in fact, you're probably inhaling some of it now. Of the sextillions of molecules entering or leaving your lungs at this moment, some might well bear traces of Cleopatra's perfumes, German mustard gas, particles exhaled by dinosaurs or emitted by atomic bombs, even remnants of stardust from the universe's creation.Tracing the origins and ingredients of our atmosphere, Kean reveals how the alchemy of air reshaped our continents, steered human progress, powered revolutions, and continues to influence everything we do. Along the way, we'll swim with radioactive pigs, witness the most important chemical reactions humans have discovered, and join the crowd at the Moulin Rouge for some of the crudest performance art of all time. Lively, witty, and filled with the astounding science of ordinary life, Caesar's Last Breath illuminates the science stories swirling around us every second.

The Story of the Human Body: Evolution, Health, and Disease


Daniel E. Lieberman - 2013
    Lieberman illuminates how these ongoing changes have brought many benefits, but also have created novel conditions to which our bodies are not entirely adapted, resulting in a growing incidence of obesity and new but avoidable diseases, including type-2 diabetes. He proposes that many of these chronic illnesses persist and in some cases are intensifying because of "dysevolution," a pernicious dynamic whereby only the symptoms rather than the causes of these maladies are treated. And finally—provocatively—he advocates the use of evolutionary information to help nudge, push, and sometimes oblige us to create a more salubrious environment.(With charts and line drawings throughout.)From the Hardcover edition.

Scorecasting: The Hidden Influences Behind How Sports Are Played and Games Are Won


Tobias J. Moskowitz - 2011
    Jon Wertheim to overturn some of the most cherished truisms of sports, and reveal the hidden forces that shape how basketball, baseball, football, and hockey games are played, won and lost.Drawing from Moskowitz's original research, as well as studies from fellow economists such as bestselling author Richard Thaler, the authors look at: the influence home-field advantage has on the outcomes of games in all sports and why it exists; the surprising truth about the universally accepted axiom that defense wins championships;  the subtle biases that umpires exhibit in calling balls and strikes in key situations; the unintended consequences of referees' tendencies in every sport to "swallow the whistle," and more.Among the insights that Scorecasting reveals:Why Tiger Woods is prone to the same mistake in high-pressure putting situations that you and I areWhy professional teams routinely overvalue draft picks The myth of momentum  or the "hot hand" in sports, and why so many fans, coaches, and broadcasters fervently subscribe to itWhy NFL coaches rarely go for a first down on fourth-down situations--even when their reluctance to do so reduces their chances of winning.In an engaging narrative that takes us from the putting greens of Augusta to the grid iron of a small parochial high school in Arkansas, Scorecasting will forever change how you view the game, whatever your favorite sport might be.

The Model Thinker: What You Need to Know to Make Data Work for You


Scott E. Page - 2018
    But as anyone who has ever opened up a spreadsheet packed with seemingly infinite lines of data knows, numbers aren't enough: we need to know how to make those numbers talk. In The Model Thinker, social scientist Scott E. Page shows us the mathematical, statistical, and computational models—from linear regression to random walks and far beyond—that can turn anyone into a genius. At the core of the book is Page's "many-model paradigm," which shows the reader how to apply multiple models to organize the data, leading to wiser choices, more accurate predictions, and more robust designs. The Model Thinker provides a toolkit for business people, students, scientists, pollsters, and bloggers to make them better, clearer thinkers, able to leverage data and information to their advantage.

Introduction to Mathematical Philosophy


Bertrand Russell - 1918
    In it, Russell offers a nontechnical, undogmatic account of his philosophical criticism as it relates to arithmetic and logic. Rather than an exhaustive treatment, however, the influential philosopher and mathematician focuses on certain issues of mathematical logic that, to his mind, invalidated much traditional and contemporary philosophy.In dealing with such topics as number, order, relations, limits and continuity, propositional functions, descriptions, and classes, Russell writes in a clear, accessible manner, requiring neither a knowledge of mathematics nor an aptitude for mathematical symbolism. The result is a thought-provoking excursion into the fascinating realm where mathematics and philosophy meet — a philosophical classic that will be welcomed by any thinking person interested in this crucial area of modern thought.

When Nobody Was Watching: My Hard-Fought Journey to the Top of the Soccer World


Carli Lloyd - 2016
    Women’s National Soccer Team, an inspiring, uplifting, and candid memoir of how she got there.“If a player trains when nobody is watching, she might be able to do superhuman things when the entire world is watching. Like scoring a hat trick in the first sixteen minutes of a World Cup final, an eventual 5–2 victory over Japan. Or topping off that hat trick with an astonishing fifty-yard strike from midfield, the greatest goal in U.S. soccer history, a shot so audacious that it's surprising to learn that Lloyd had actually practiced it for years with [James] Galanis on an empty field in New Jersey, far from any crowds.” – Grant Wahl, Sports IllustratedIn 2015, the U.S .Women’s National Soccer Team won its first FIFA championship in sixteen years, culminating in an epic final game that electrified soccer fans around the world. It featured a gutsy, brilliant performance by team captain and midfielder Carli Lloyd, who made history that day, scoring a hat trick—three goals in one game—during the first sixteen minutes.But there was a time when Carli almost quit the sport. In 2003 she was struggling, her soccer career at a crossroads. Then she found a trusted trainer, James Galanis, who saw in Carli a player with raw talent, skill, and a great dedication to the game. What Carli lacked were fitness, mental toughness, and character. Together they set to work, training day and night, fighting, grinding it out. No one worked harder than Carli. And no one believed in her more than James. Despite all the naysayers, the times she was benched, moments when her self-confidence took a nosedive, she succeeded in becoming one of the best players in the world.This candid reflection on a remarkable turnaround will take readers inside the women's national team and inside the head of an athlete who willed herself to perform at the highest levels of competition.

The Gene: An Intimate History


Siddhartha Mukherjee - 2016
    It intersects with Darwin’s theory of evolution, and collides with the horrors of Nazi eugenics in the 1940s. The gene transforms post-war biology. It reorganizes our understanding of sexuality, temperament, choice and free will. This is a story driven by human ingenuity and obsessive minds – from Charles Darwin and Gregor Mendel to Francis Crick, James Watson and Rosalind Franklin, and the thousands of scientists still working to understand the code of codes.This is an epic, moving history of a scientific idea coming to life, by the author of The Emperor of All Maladies. But woven through The Gene, like a red line, is also an intimate history – the story of Mukherjee’s own family and its recurring pattern of mental illness, reminding us that genetics is vitally relevant to everyday lives. These concerns reverberate even more urgently today as we learn to “read” and “write” the human genome – unleashing the potential to change the fates and identities of our children.Majestic in its ambition, and unflinching in its honesty, The Gene gives us a definitive account of the fundamental unit of heredity – and a vision of both humanity’s past and future.

Mindf*ck: Cambridge Analytica and the Plot to Break America


Christopher Wylie - 2019
    Bannon had long sensed that deep within America's soul lurked an explosive tension. Cambridge Analytica had the data to prove it, and in 2016 Bannon had a presidential campaign to use as his proving ground.Christopher Wylie might have seemed an unlikely figure to be at the center of such an operation. Canadian and liberal in his politics, he was only twenty-four when he got a job with a London firm that worked with the U.K. Ministry of Defense and was charged putatively with helping to build a team of data scientists to create new tools to identify and combat radical extremism online. In short order, those same military tools were turned to political purposes, and Cambridge Analytica was born. Wylie's decision to become a whistleblower prompted the largest data crime investigation in history. His story is both exposé and dire warning about a sudden problem born of very new and powerful capabilities. It has not only exposed the profound vulnerabilities and profound carelessness in the enormous companies that drive the attention economy, it has also exposed the profound vulnerabilities of democracy itself. What happened in 2016 was just a trial run. Ruthless actors are coming for your data, and they want to control what you think.

The Organized Mind: Thinking Straight in the Age of Information Overload


Daniel J. Levitin - 2014
    Levitin shifts his keen insights from your brain on music to your brain in a sea of details.The information age is drowning us with an unprecedented deluge of data. At the same time, we’re expected to make more—and faster—decisions about our lives than ever before. No wonder, then, that the average American reports frequently losing car keys or reading glasses, missing appointments, and feeling worn out by the effort required just to keep up.But somehow some people become quite accomplished at managing information flow. In The Organized Mind, Daniel J. Levitin, PhD, uses the latest brain science to demonstrate how those people excel—and how readers can use their methods to regain a sense of mastery over the way they organize their homes, workplaces, and time.With lively, entertaining chapters on everything from the kitchen junk drawer to health care to executive office workflow, Levitin reveals how new research into the cognitive neuroscience of attention and memory can be applied to the challenges of our daily lives. This Is Your Brain on Music showed how to better play and appreciate music through an understanding of how the brain works. The Organized Mind shows how to navigate the churning flood of information in the twenty-first century with the same neuroscientific perspective.

Genius Foods: Become Smarter, Happier, and More Productive While Protecting Your Brain for Life


Max Lugavere - 2018
    After his mother was diagnosed with a mysterious form of dementia, Max Lugavere put his successful media career on hold to learn everything he could about brain health and performance. For the better half of a decade, he consumed the most up-to-date scientific research, talked to dozens of leading scientists and clinicians around the world, and visited the country’s best neurology departments—all in the hopes of understanding his mother’s condition.Now, in Genius Foods, Lugavere presents a comprehensive guide to brain optimization. He uncovers the stunning link between our dietary and lifestyle choices and our brain functions, revealing how the foods you eat directly affect your ability to focus, learn, remember, create, analyze new ideas, and maintain a balanced mood.Weaving together pioneering research on dementia prevention, cognitive optimization, and nutritional psychiatry, Lugavere distills groundbreaking science into actionable lifestyle changes. He shares invaluable insights into how to improve your brain power, includingthe nutrients that can boost your memory and improve mental clarity (and where to find them);the foods and tactics that can energize and rejuvenate your brain, no matter your age;a brain-boosting fat-loss method so powerful it has been called “biochemical liposuction”; andthe foods that can improve your happiness, both now and for the long term.With Genius Foods, Lugavere offers a cutting-edge yet practical road map to eliminating brain fog and optimizing the brain’s health and performance today—and decades into the future.

Human Compatible: Artificial Intelligence and the Problem of Control


Stuart Russell - 2019
    Conflict between humans and machines is seen as inevitable and its outcome all too predictable.In this groundbreaking book, distinguished AI researcher Stuart Russell argues that this scenario can be avoided, but only if we rethink AI from the ground up. Russell begins by exploring the idea of intelligence in humans and in machines. He describes the near-term benefits we can expect, from intelligent personal assistants to vastly accelerated scientific research, and outlines the AI breakthroughs that still have to happen before we reach superhuman AI. He also spells out the ways humans are already finding to misuse AI, from lethal autonomous weapons to viral sabotage.If the predicted breakthroughs occur and superhuman AI emerges, we will have created entities far more powerful than ourselves. How can we ensure they never, ever, have power over us? Russell suggests that we can rebuild AI on a new foundation, according to which machines are designed to be inherently uncertain about the human preferences they are required to satisfy. Such machines would be humble, altruistic, and committed to pursue our objectives, not theirs. This new foundation would allow us to create machines that are provably deferential and provably beneficial.In a 2014 editorial co-authored with Stephen Hawking, Russell wrote, "Success in creating AI would be the biggest event in human history. Unfortunately, it might also be the last." Solving the problem of control over AI is not just possible; it is the key that unlocks a future of unlimited promise.