Buy new:
-22%
EUR33.67EUR33.67
EUR 8.74 delivery March 23 - April 1
Ships from: Amazon Sold by: Starbook Store
Save with Used - Good
EUR9.06EUR9.06
EUR 8.74 delivery Wednesday, March 25
Ships from: Amazon Sold by: 1UP Video Games, Books & DVDs
Return this item for free
Free returns are available for the shipping address you chose. You can return the item for any reason in new and unused condition: no return shipping charges.
Learn more about free returns.- Go to your orders and start the return
- Select your preferred free shipping option
- Drop off and leave!
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
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.
Data Science from Scratch: First Principles with Python 1st Edition
Purchase options and add-ons
Data science libraries, frameworks, modules, and toolkits are great for doing data science, but they’re also a good way to dive into the discipline without actually understanding data science. In this book, you’ll learn how many of the most fundamental data science tools and algorithms work by implementing them from scratch.
If you have an aptitude for mathematics and some programming skills, author Joel Grus will help you get comfortable with the math and statistics at the core of data science, and with hacking skills you need to get started as a data scientist. Today’s messy glut of data holds answers to questions no one’s even thought to ask. This book provides you with the know-how to dig those answers out.
- Get a crash course in Python
- Learn the basics of linear algebra, statistics, and probability―and understand how and when they're used in data science
- Collect, explore, clean, munge, and manipulate data
- Dive into the fundamentals of machine learning
- Implement models such as k-nearest Neighbors, Naive Bayes, linear and logistic regression, decision trees, neural networks, and clustering
- Explore recommender systems, natural language processing, network analysis, MapReduce, and databases
- ISBN-10149190142X
- ISBN-13978-1491901427
- Edition1st
- PublisherO'Reilly Media
- Publication dateMay 26, 2015
- LanguageEnglish
- Dimensions7 x 0.75 x 9.25 inches
- Print length330 pages
There is a newer edition of this item:
Frequently bought together

Similar items that may deliver to you quickly

Learning Data Science: Data Wrangling, Exploration, Visualization, and Modeling with PythonPaperbackEUR 8.95 shippingOnly 5 left in stock (more on the way).
Customers also bought or read
- Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
PaperbackEUR42.74EUR42.74EUR 9.37 delivery Tue, Mar 24 - Python Data Science Handbook: Essential Tools for Working with Data
PaperbackEUR54.57EUR54.57EUR 8.95 delivery Wed, Mar 25 - Ace the Data Science Interview: 201 Real Interview Questions Asked By FAANG, Tech Startups, & Wall Street
PaperbackEUR38.85EUR38.85EUR 8.74 delivery Tue, Mar 24 - The Hundred-Page Machine Learning Book (The Hundred-Page Books)
PaperbackEUR32.76EUR32.76EUR 7.36 delivery Tue, Mar 24 - Practical Statistics for Data Scientists: 50+ Essential Concepts Using R and Python
PaperbackEUR34.75EUR34.75EUR 8.52 delivery Tue, Mar 24 - The StatQuest Illustrated Guide To Machine Learning
PaperbackEUR21.88EUR21.88EUR 7.81 delivery Wed, Mar 25 - Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter
PaperbackEUR37.98EUR37.98EUR 9.25 delivery Tue, Mar 24 - Essential Math for Data Science: Take Control of Your Data with Fundamental Linear Algebra, Probability, and Statistics
PaperbackEUR32.03EUR32.03EUR 7.74 delivery Tue, Mar 24 - Storytelling with Data: A Data Visualization Guide for Business Professionals
PaperbackEUR20.13EUR20.13EUR 7.68 delivery Tue, Mar 24 - Python Data Science Handbook: Essential Tools for Working with Data
PaperbackEUR38.15EUR38.15EUR 8.95 delivery Tue, Mar 24 - R for Data Science: Import, Tidy, Transform, Visualize, and Model Data
PaperbackEUR38.85EUR38.85EUR 9.25 delivery Tue, Mar 24 - Data Science for Business: What You Need to Know about Data Mining and Data-Analytic Thinking
PaperbackEUR21.82EUR21.82EUR 8.83 delivery Mar 26 - Apr 8 - Learning SQL: Generate, Manipulate, and Retrieve Data
PaperbackEUR31.51EUR31.51EUR 8.52 delivery Tue, Mar 24 - Weapons of Math Destruction: How Big Data Increases Inequality and Threatens Democracy
PaperbackEUR8.59EUR8.59EUR 7.21 delivery Mar 27 - Apr 8 - The Visual Display of Quantitative Information, 2nd Ed.#1 Best SellerMathematical Analysis
HardcoverEUR20.72EUR20.72EUR 8.95 delivery Mar 23 - 31 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerPython Programming
PaperbackEUR23.77EUR23.77EUR 8.83 delivery Tue, Mar 24 - Data Science from Scratch: First Principles with Python
PaperbackEUR38.73EUR38.73EUR 8.52 delivery Tue, Mar 24 - Artificial Intelligence: A Modern Approach, Global Edition
PaperbackEUR69.94EUR69.94EUR 9.73 delivery Wed, Mar 25 - SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL (Coding & Programming - QuickStart Guides)
PaperbackEUR18.36EUR18.36EUR 7.81 delivery Wed, Mar 25 - Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems#1 Best SellerMySQL Guides
PaperbackEUR51.80EUR51.80EUR 8.95 delivery Tue, Mar 24 - Python for Everybody: Exploring Data in Python 3
PaperbackEUR12.94EUR12.94EUR 8.51 delivery Wed, Mar 25 - An Introduction to Statistical Learning: with Applications in Python (Springer Texts in Statistics)#1 Best SellerMathematical & Statistical Software
HardcoverEUR54.25EUR54.25EUR 9.37 delivery Tue, Mar 24 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
PaperbackEUR24.41EUR24.41EUR 8.75 delivery Tue, Mar 24 - Deep Learning for Coders with Fastai and PyTorch: AI Applications Without a PhD
PaperbackEUR37.98EUR37.98EUR 8.95 delivery Tue, Mar 24 - Hands-On Machine Learning with Scikit-Learn and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
PaperbackEUR45.62EUR45.62EUR 8.95 delivery Wed, Mar 25
From the brand
-
Explore more Data Science
-
Start learning with O'Reilly
-
More From O'Reilly
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : May 26, 2015
- Edition : 1st
- Language : English
- Print length : 330 pages
- ISBN-10 : 149190142X
- ISBN-13 : 978-1491901427
- Item Weight : 1.18 pounds
- Dimensions : 7 x 0.75 x 9.25 inches
- Best Sellers Rank: #970,020 in Books (See Top 100 in Books)
- #284 in Data Mining (Books)
- #431 in Data Processing
- #784 in Python Programming
- Customer Reviews:
About the author

Joel Grus is Principal Engineer at Capital Group, where he leads a small team that designs and implements machine learning and data products. Before that he was a software engineer at the Allen Institute for AI and Google, and a data scientist at a variety of startups.
He's the author of the the beloved "Data Science from Scratch", the quirky "Ten Essays on Fizz Buzz", and the polarizing JupyterCon talk "I Don't Like Notebooks".
He lives in Seattle, where he regularly attends data science happy hours. He blogs infrequently at joelgrus.com.
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
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on February 5, 2016Format: PaperbackVerified PurchaseThe book begins with the basics of the Python language in a chapter entitled "A Crash Course in Python." Grus recommends the Anaconda distribution of Python 2.7, as do I. It is free, includes Python, NumPy, SciPy, matplotlib, and IPython that are used in the book, and includes pandas which we will use to handle financial data. This is not the book I would recommend for a person new to Python to learn the language, but it establishes the style and notation used for the remainder of the book.
Chapters 4, 5, 6 are quick reviews of linear algebra and the Python data structures used, frequentist statistics, and probability, respectively. Chapter 7 discusses hypothesis and inference, and has a nice discussion of the beta distribution and its use in describing the "prior" distribution for Bayesian analysis.
Chapter 8 begins to get into the data science with a description of the gradient descent method of finding the set of parameter values that maximize (or minimize) the objective function. The "from scratch" approach shows all the details.
Chapter 10, Working with Data, begins with methods for exploring the data. Examining the distribution, plotting single dimensional data, comparing multiple data series, normalizing, rescaling, and dimensionality reduction.
Chapter 11 begins machine learning -- models, overfitting, underfitting, bias-variance tradeoff, and feature extraction.
Chapter 12 continues with k-nearest neighbors and the curse of dimensionality.
Chapter 13 illustrates naive Bayes to implement a spam filter.
Chapters 14 and 15 treat linear regression and multiple regression, fitting a model to data, and regularization to limit the tendency to overfit.
Chapter 16 explains the logistic function and logistic regression. Examples look at measures of goodness of fit. The concept of support vector machine is explained, although the mathematics are beyond from scratch.
Chapter 17 has a nice explanation of decision trees (the models that result from rule-based trading system development, such as AmiBroker). Entropy, as it applies to information content, is well explained and used to partition data as the rules are created. Random forests, one of the ensemble techniques for machine learning, is described in surprisingly concise code.
Neural networks are described in chapter 18, including code for a feed forward, back propagation network that identifies digits. The interpretation of the weights of each of nodes gives insight into the workings of neural networks.
The book continues on with discussions of clustering, natural language processing, network analysis, recommender system, and databases.
While this is not the best book to learn Python, machine learning, or model development, it is valuable in explaining each of these topics with fully disclosed logic and computer code.
This book gets five stars based on meeting its objectives -- to clearly illustrate some of the central concepts of data science.
- Reviewed in the United States on June 9, 2016Format: PaperbackVerified PurchaseI thoroughly enjoyed this book, one of my favorite books ever on programming. It does three things superbly: covers the basic low level tools of a data scientist (the "from scratch" part), gives a great overview of useful Python programming examples for those new to Python, and gives an amazingly succinct yet high level overview of the mathematics and statistics required for data science.
At first I was very worried about this book based on the first few chapters for the one reason that the author was cracking jokes throughout the text and I thought if it kept up for the rest of the book I was going to be very upset. But it did not happen and it turns out to have been a very reasonable way to ease into this complicated subject.
The author steps through the toolbox of the data scientist, chapter by chapter, giving useful, insightful, clear pieces of code and textual explanations of each topic. So, for those new to data science it gives just enough to get the basic idea of a concept in terms of code and mathematical explanation, and then moves on to the next topic.
It is often said that in writing, less is better and this book gets things down to their essence. That is one of the great things about the book - that the length of each chapter is about 20 pages (over 25 chapters). So each chapter can be read and the code even exercised in about an hour. Further, the references at the end of each chapter invite the reader to expanded information at the level of one or more entire textbooks or references. Thus the book can be seen as kind of boiling down a 25-volume set of highly technical subject matter into roughly 300 pages.
The topics that were explored the best seem to be the ones on probability, working with data, regression, clustering, and databases (SQL). Some of the small but dense code samples were tough to follow but that is based on their algorithmic complexity - such as that for logistical regression and MapReduce. Occasionally the author uses a term that is not defined or in the index (such as data munging - which I still haven't looked up to see what it means). There are only a small number of typos which indicates good editing. While the Python crash course was pretty good, Python is a vast language and there could have been more to that section.
I read this book from cover to cover and stepped through logically all the code (but did not actually run any of it) and I would wholeheartedly recommend this book for anyone wanting to work in the area of data science or its related fields, such as big data engineering or data analysis.
- Reviewed in the United States on December 22, 2016Format: PaperbackVerified PurchaseMinus one star for using outdated Python 2.7. Essentially ALL data science tools you are likely to run across have been updated to Python 3.4+. I would have knocked off two stars but this book is actually quite good and delivers on its title.
This is a very basic book on Data Science but it gives a broad overview which helps you get a perspective on the tools that are available. This book teaches methods by developing actual code for these methods. You will find in work situations that you will use library functions instead of "rolling your own" but this book helps bring the details together by having you actually code these techniques. I support this approach 100% Once you have this overview, you can drill down into specifics with other materials like textbooks or cookbooks.
I'd did flinch at some of the explanations in this book but it really is a "from Scratch" approach and some things are simplified to avoid distractions.
This book also teaches basic Python 2.7 with a quick start chapter, so it is self contained for any scientist or engineer that wants to get started adding Data Science techniques to their repertoire.
Top reviews from other countries
ahrarReviewed in India on September 19, 20205.0 out of 5 stars Data Science from Scratch
Format: PaperbackVerified PurchaseData Science from scratch is must for the beginners who want an overview and theoretical concepts on python, data visualization, data science , ML ,neural networks and so on.
It also has a crash course on Python
Combining this with Hands on Machine Learning and Tensorflow it is a combination worth spending.
-
Cliente AmazonReviewed in Brazil on March 10, 20183.0 out of 5 stars Interesting, but shallow
Format: PaperbackVerified PurchaseThis book is nice to improve the understanding of some details underlying the data science algorithms, but it falls short in the deepness of the content. Some concepts feels rushed and incomplete; the explanation sometimes isn't clear.
Even though the book is shallow, I would recommend it; here and there you can get a valuable piece of information from it.
-
CDevReviewed in Mexico on April 25, 20165.0 out of 5 stars Un libro que merece la pena para todas las personas que quieran adentrarse al mundo de data science.
Format: PaperbackVerified PurchaseUn libro que merece la pena para todas las personas que quieran adentrarse al mundo de data science, y no tengan un punto de partida, este libro nos ayuda a identificar casos sencillos hasta casos complejos con una ayuda visual del problema.
-
JubiReviewed in France on July 21, 20155.0 out of 5 stars Parfait pour débuter en Data Science
Format: PaperbackVerified PurchaseJ'ai choisi ce livre car bien que ma formation universitaire ait contenu 30% de maths, je n'ai pas eu l'occasion de pratiquer beaucoup depuis. Le livre ne nécessite aucun pré-requis en maths à part les opérations basiques, et explique tous les concepts (statistiques, probabilités, algèbre linéaire, etc...) de manière très didactique.
Je développe déjà en Python, donc la partie "crash course" m'a surtout servi à comprendre quelle partie de Python est utilisée pour la data science. Je pense que le livre peut etre difficile à appréhender si on n'a pas déjà des bases en programmation.
Je recommande ce livre car il explique bien les bases, est plutôt drôle à lire, et contient des pointeurs vers d'autres ressources pour approfondir les sujets.
-
MARTAReviewed in Spain on December 15, 20175.0 out of 5 stars Muy buen libro de básicos del mundo DS para también iniciarse a Python
Format: PaperbackVerified PurchaseUn libro muy útil para iniciarse al mundo DS con Python, aunque creo que es recomendable tener un mínimo de conocimientos previos (ya sea en R o haber hecho algún curso online), si no puede ser que no sea tan básico.















