Here's a link to the PDF for Intro to Statistical Learning. Also check out Elements of Statistical Learning (PDF), this book's more comprehensive sibling! Both books are regarded as the Bibles of Data Science!
They give you a deep sense of how to approach a dataset and decide what tools to use to analyze it. This book teaches the mindset better than anything else I've ever read.
I finished reading this and doing all the "conceptual" exercises recently and now I have some opinions about how a third edition should look, but in any case I don't regret it.
Like a lot of undergrad textbooks, it tries to avoid requiring the reader to know calculus. But model fitting involves continuous optimization, which requires calculus. It might be better to have an introductory chapter that covers just enough calculus (not rigorously) for the other material. This would allow for a section or chapter on gradient descent, which currently doesn't appear anywhere.
The later chapters that were added for the second edition feel a bit slapped together and aren't integrated very well with the rest of the text. The chapter on the multiple comparison problem in particular could probably go earlier in the book. The chapter on neural networks would benefit from more detail about, e.g., back propagation, which would dovetail nicely with material on gradient descent. (Or just cut the neural net material, honestly.)
Maybe it would be worth saying something about the performance/explainability trade-off.
How well do one need to understand the equations or just understanding how the model works and why will suffice. I don't really follow on most of the mathematical proofs hope it's fine?
I understand some symbol used and their function from external resources. Do you use stuff like poisson distribution on your job? Currently reading it, since it's like the definitive guide to becoming a Data scientist based on this sub.
You need to have an inkling of what you are doing so you can explain it to others convincingly (and so you can feel comfortable about standing behind it). Eg if your model predicts x, y, z you need to understand how far you can trust it before you communicate it to non-modeler stakeholders who might use it in ways you haven’t anticipated…
for those who have read the book and watched the sessions in the course, does the edx course provide a better learning flow than in the book? im trying to figure out which is better, to learn it through the course or just read the whole book, thanks for anyone who'll answer
Would you recommend elements after intr? I know they both cover a lot of the same subjects and elements expands further on some topics... not sure if money is best spent elsewhere.
I’d argue that if ESL (2) is OT then Applied Predictive Modeling by Kuhn Johnson is NT. It pretty much says in the preface it sets out to explain how to apply what’s in ESL, and so ‘fulfil its promise’ after all.
This might be an unpopular opinion, but I'll be honest - I don't like ESL or ISLR very much as an introduction to the field. I've had PhD level courses covering their material. I also physically have (and use) both books as reference.
Modeling (predictive or otherwise) requires a good understanding of many things. Knowing when the right time is to use a model is important. In other words, you need context for what you are doing.
Reading these books is like reading a dictionary of a language foreign to me. Yes, you'll know some words, but it's meaningless unless you can string those words together in a sentence, and it's still meaningless if you don't understand the context of the conversation. These simply aren't things I pick up when I read ESL/ISLR. They are very focused on explaining the ins and outs of the algorithms but not of their context.
Too much of a focus on the algorithms limits discussion of (in my opinion) very important topics such as exploratory data analysis, feature engineering, hyperparameter selection, model extension, model interpretation, and decision analysis (as in, how do we make a decision based on the model we have created, and how do we communicate this? This is arguably the most important thing to know in data science), which is why I don't recommend ESL/ISLR.
For these reasons, I really prefer Applied Predictive Modeling by Kuhn and Johnson as the first step, and Hands-on ML by Aurelion Geron as the second step. If you insist on reading either ESL/ISLR, skip ESL first and go straight to ISLR, reading sections from ESL as you need it.
It’s not as unpopular as you’d think. Some of the recommendations in this thread for them really don’t sound like the person read it. I would describe ESL exactly like you did. A dictionary/encyclopedia that’s not nearly as encompassing as that implies.
I think they’re so popular because they were one of the first freely available books on these subjects, and they’re pretty good reference books if you know what you’re looking for.
I vastly prefer Kevin Murphy’s Probabilistic Machine Learning for both its breadth and approach. Although I think it might be an intimidating introduction.
Reading these books is like reading a dictionary of a language foreign to me. Yes, you'll know some words, but it's meaningless unless you can string those words together in a sentence, and it's still meaningless if you don't understand the context of the conversation.
Hey, I had stumbled on this post randomly and as someone who had gone through a university ML course using ISLR, what you said is spot on. I've felt that I was lacking something, and now I have a roadmap on covering that gap. Fortunately, I have managed to get the 2 books you mentioned, though I have been starting on Hand-on ML by Aurelion Geron first. Thank you!
What would you recommend for someone wanting to into NLP specifically ? Like yes I understand that knowing the algorithms and how to use them is bare bones but it seems like almost all data science is linear logicistic regression, kmeans, Knn, SVM, PCA, decision trees and random forest and their variations which to be fair is a lot but I want to specialize in NLP
Unfortunately you're asking the wrong person, because in ML my specialty is computer vision. The NLP work I've done is minimal and has all been centered around creating unique and valuable tags for strings of text. I'm sure there are threads around where resources on NLP are discussed, I would go there and check.
Your second statement is something that I'd like to give a little perspective on: this amounts to saying that chemistry is almost all about test tubes and equipment. While this might have some truth to it (you're probably not going to be a very good chemist if you don't know how to utilize these things), there are still world-class people out there who don't know how to use those types of tools at all and still use chemistry to produce incredible things, be it research or products.
Likewise, data science is a field developed to solve specific types of problems, and naturally some dominant approaches and models of thinking have emerged. I suggest you think less about the tools developed and think more about the problem to be solved - this ensures that you are the one in control of what is being used, and where. Incidentally, this is the kind of mindset that hiring managers for more senior positions look for. They want someone who can see the forest and not miss it for the trees, so to speak. You can get quite far in inferential and predictive modeling by sticking to the basics!
You know I absolutely agree in general it is much much more beneficial to solve problems and then use tools to help you solve them Vice versa. However, if I want to work on problems that are say hey, we launched a marketing campaign and want to analyze what people are saying about us at scale how do we do that? We have 50K reviews we need to read. These kinda of problems are stuff I’d like to work for due to challenge and pay that comes with it. Like hey these types of problem and this type of work is more interesting to me then generalized data science problems of how effective is our marketing campaign with this demographic kinda thing.
It's not the first book anyone should read, but at some point I think everyone should give Casella and Berger a go. It's a very theoretically heavy stats book, with perhaps limited practical applicability, but boy am I glad I can now figure out the distribution of the sample mean of a gamma variable plus a weibull variable divided by the square root of an F variable. The book just tied together so much theory that you never really learn even after doing statistics for a very long time
Thank you so much! This has exactly the type of concepts I actually need as a DS at work and it’s been hard to find resources as so many books were focusing on ML which I dont do at all.
> I think everyone should give Casella and Berger a go.
I majored in mathematical statistics and still found this one a challenge to read. I didn't understand my first round, came back a few years later (after having done some further courses in econometrics and real analysis) and could only then understand what was going on.
There's no way the layman data scientist without a rigorous background in math or statistics (and being evenly adept in both applied and theory in these disciplines) will derive any value from a book like this.
90% of the job is convincing people that your work is worthwhile if there’s no inherent tech culture. Data science is a very complex job. You have to know coding, stats, dev ops, and leadership / negotiation skills.
Data Scientist is not a mathematician! Mathematics provides tools (not solutions!) for DS to use and solve business problems. Please keep that in mind.
Hence, most DS/ML books written by mathematicians (like ESL/ISLR, Bishop's Patterns, etc) are unsuitable for learning as they concentrate on proofs and/or how algorithm works in extreme detail behind the scenes and close to or not at all on how to use them, especially in business situations. They rarely try to explain how the algorithm works intuitively and on a high-level, and keep forgetting that proof is not an explanation. This is akin to teaching one how to make a tennis racket in great detail without showing how to actually use it and win games. Tennis pros know only in principle how tennis racket is built/manufactured, but concentrate 100% on how to use it - that is how you should see DS/ML algos too - as tools and not solutions.
Hence math DS/ML/Stats books should only be used for occasional reference and not for teaching/learning/studying DS/ML - IMHO.
Here's one great book that is very practical and pragmatic with plenty of material and with just enough theory to help intuitive learning/understanding (drm-free pdf, 750+ pages, book code on github): Machine Learning with PyTorch and Scikit-Learn | Sebastian Raschka, et. al. | Packt https://www.packtpub.com/product/machine-learning-with-pytorch-and-scikit-learn/9781801819312
Also, there's StatQuest Channel (Josh Starmer) on YouTube https://www.youtube.com/c/joshstarmer/videos From time to time, he too gets into too many details with some algos, but for the most part, he's trying to explain things intuitively and visually. For example, check out his video on Entropy ( https://www.youtube.com/watch?v=YtebGVx-Fxw ). Tip: For his videos, you can increase playback speed to 1.25 or even to 1.50 as he talks real slow.
Are you sure that read-for-a-week-for-free-with-trial-sign-up promo was on 7 days prior to your comment when I posted the link? In any case, to prevent any further confusion, I'll remove parts of my comments that bothered you.
I like How to Approach Almost Any Machine Learning Problem (HAAML) The books is really practical and beginner friendly. However it is not really oriented toward a production application but rather to kaggle like probelms
The Elements is one of the best written mathematics books I've read. It also takes a very geometric approach, which really appeals to me. I haven't read An Introduction, but I am sure it's great. Incidentally, Daniela Witten is worth following on Twitter.
For those interested in learning more about data science, "The Data Science Handbook" by Field Cady and Carl Shan is a thorough and highly regarded resource. Leading data scientists offer their opinions and thoughts on a range of subjects, including career counseling and machine learning as well as data analysis. Although there isn't a single book that can be considered "THE" data science book, this one is well-liked by those who work in the field.
ESLR is nothing just a bit in depth.. It goes miles and miles in depth. ISLR stays true to its name. It just introduces many concepts. It doesn't explain "why" a lot of things work. That is answered in ESLR. It is very math heavy, with some parts super scarily heavy. It is a very different book from ISLR. It just follows similar pattern of topics and some overlap because of the shared authors.
Freakonomics. At its core data science is storytelling with data. This book is a masterclass in that. You can go very far with rudimentary stats once you know what questions to ask and how to ask them.
That's exactly why this book is a must-read for data scientists. The authors created stories, using data, that were compelling enough to make it a breakaway best seller. It doesn't matter how good your models or stats are: communication (especially to non scientists) is a large part of this job.
Artificial Intelligence: a Modern Approach by Stuart Russell and Peter Norvig. It's a great overview of the field of AI, including a lot of the "good old fashioned" AI that you might miss out on if you jump straight into machine learning. Each chapter also has a detailed bibliography for further reading.
I wrote a book on subject just as you described, after 20 years of experience with founding and existing from own startup :) Pm me, I could send you an author copy from Amazon.
462
u/arezki123 Jul 02 '22
with no doubt, Introduction to statistical learning
96
u/[deleted] Jul 02 '22
The Holy Bible of Data Science, also known as: The Elements of Statistical Learning
45
u/boomBillys Jul 03 '22 edited Jul 03 '22
This might be an unpopular opinion, but I'll be honest - I don't like ESL or ISLR very much as an introduction to the field. I've had PhD level courses covering their material. I also physically have (and use) both books as reference.
Modeling (predictive or otherwise) requires a good understanding of many things. Knowing when the right time is to use a model is important. In other words, you need context for what you are doing.
Reading these books is like reading a dictionary of a language foreign to me. Yes, you'll know some words, but it's meaningless unless you can string those words together in a sentence, and it's still meaningless if you don't understand the context of the conversation. These simply aren't things I pick up when I read ESL/ISLR. They are very focused on explaining the ins and outs of the algorithms but not of their context.
Too much of a focus on the algorithms limits discussion of (in my opinion) very important topics such as exploratory data analysis, feature engineering, hyperparameter selection, model extension, model interpretation, and decision analysis (as in, how do we make a decision based on the model we have created, and how do we communicate this? This is arguably the most important thing to know in data science), which is why I don't recommend ESL/ISLR.
For these reasons, I really prefer Applied Predictive Modeling by Kuhn and Johnson as the first step, and Hands-on ML by Aurelion Geron as the second step. If you insist on reading either ESL/ISLR, skip ESL first and go straight to ISLR, reading sections from ESL as you need it.
(The edit fixed some spelling)
31
u/Jorrissss Jul 02 '22
Hands on ML is the most useful book I've read.
58
u/voodoochile78 Jul 02 '22
It's not the first book anyone should read, but at some point I think everyone should give Casella and Berger a go. It's a very theoretically heavy stats book, with perhaps limited practical applicability, but boy am I glad I can now figure out the distribution of the sample mean of a gamma variable plus a weibull variable divided by the square root of an F variable. The book just tied together so much theory that you never really learn even after doing statistics for a very long time
56
u/ZebulonPi Jul 03 '22
If You Give a Mouse a Cookie, by Laura Numeroff.
No other text will prepare you for the Orwellian horror that is the unending business ask than this book right here.
I wish I was kidding.
15
u/Mattzorry Jul 03 '22
Might check out this similar question from a few weeks ago, lots of good answers
https://old.reddit.com/r/datascience/comments/v6sv06/what_is_the_bible_of_data_science/
66
u/dataguy24 Jul 02 '22
Never Split the Difference by Chris Voss. Invaluable to a data science career.
9
u/bikeskata Jul 03 '22
The Craft of Research (3rd edition). It's all about how to come up with a question, frame an argument, and present what you did.
17
u/Cosack Jul 03 '22
Why hasn't anyone said Statistical Inference by Casella and Berger? The thing is the intro to graduate stats bible in most universities
19
u/Delicious-View-8688 Jul 02 '22
I think "Data Analysis for Business, Economics, and Policy" is going to be a good contender if you are talking about all-in-one for learning.
For referring, "Probabilistic Machine Learning: An Introduction" is a good candidate - though it only covers machine learning side of data science.
5
u/[deleted] Jul 03 '22
Foundations of Applied Mathematics, by Humpherys and Jarvis
If you really want to know data science, in that you start with the fundamentals circumscribing everything, this is it.
ESL/ISL, database volumes, algorithms, etc. are all based on the fundamentals it presents.
The only missing item is data visualization, IMO.
5
u/rednirgskizzif Jul 03 '22
Christopher Bishops book
5
u/a90501 Jul 04 '22 edited Jul 04 '22
Data Scientist is not a mathematician! Mathematics provides tools (not solutions!) for DS to use and solve business problems. Please keep that in mind.
Hence, most DS/ML books written by mathematicians (like ESL/ISLR, Bishop's Patterns, etc) are unsuitable for learning as they concentrate on proofs and/or how algorithm works in extreme detail behind the scenes and close to or not at all on how to use them, especially in business situations. They rarely try to explain how the algorithm works intuitively and on a high-level, and keep forgetting that proof is not an explanation. This is akin to teaching one how to make a tennis racket in great detail without showing how to actually use it and win games. Tennis pros know only in principle how tennis racket is built/manufactured, but concentrate 100% on how to use it - that is how you should see DS/ML algos too - as tools and not solutions.
Hence math DS/ML/Stats books should only be used for occasional reference and not for teaching/learning/studying DS/ML - IMHO.
Here's one great book that is very practical and pragmatic with plenty of material and with just enough theory to help intuitive learning/understanding (drm-free pdf, 750+ pages, book code on github): Machine Learning with PyTorch and Scikit-Learn | Sebastian Raschka, et. al. | Packt https://www.packtpub.com/product/machine-learning-with-pytorch-and-scikit-learn/9781801819312
Hope this helps.
18
u/morquaqien Jul 03 '22
The Art of War by Sun Tzu
11
u/4858693929292 Jul 02 '22
Hastie for traditional DS. Goodfellow for DL.
8
u/technically_right_ Jul 02 '22
I like How to Approach Almost Any Machine Learning Problem (HAAML) The books is really practical and beginner friendly. However it is not really oriented toward a production application but rather to kaggle like probelms
3
u/DUNST4N Jul 03 '22
Deep Learning with Python by fchollet
3
u/RobertJacobson Jul 03 '22
The book
is the graduate student version of the undergraduate book
The Elements is one of the best written mathematics books I've read. It also takes a very geometric approach, which really appeals to me. I haven't read An Introduction, but I am sure it's great. Incidentally, Daniela Witten is worth following on Twitter.
2
u/luislobo6 Jul 04 '22
Ace the data science interview from Nick Singh and Kevin Huo, it includes all the relevant topics!
2
u/Ritapukhraj1 Aug 21 '23
For those interested in learning more about data science, "The Data Science Handbook" by Field Cady and Carl Shan is a thorough and highly regarded resource. Leading data scientists offer their opinions and thoughts on a range of subjects, including career counseling and machine learning as well as data analysis. Although there isn't a single book that can be considered "THE" data science book, this one is well-liked by those who work in the field.
3
u/smile_politely Jul 03 '22
Elements of statistical learning
3
u/[deleted] Jul 03 '22
ISLR and ESLR. You start wth the first one and graduate with the latter.
3
u/bigdaddychainsaw Jul 02 '22
!remindme 1 week
2
u/DrinkingAtQuarks Jul 03 '22
Freakonomics. At its core data science is storytelling with data. This book is a masterclass in that. You can go very far with rudimentary stats once you know what questions to ask and how to ask them.
1
u/abcteryx Jul 03 '22
This comment from when a similar question was recently asked has a lot of recommendations.
1
u/[deleted] Jul 03 '22 edited Jul 03 '22
Artificial Intelligence: a Modern Approach by Stuart Russell and Peter Norvig. It's a great overview of the field of AI, including a lot of the "good old fashioned" AI that you might miss out on if you jump straight into machine learning. Each chapter also has a detailed bibliography for further reading.
1
u/ampaloue Jul 03 '22
!remindme 1 week
1
u/AywBas Jul 03 '22
The element of statistical learning
1
u/myidjackass Jul 03 '22
Great books.
1
u/AdFew4357 Jul 03 '22
baby SLR and papa SLR
1
u/arena_one Jul 10 '22
!remindme 1 week
1
u/LdbZanaty Aug 07 '22
!remindme 1 week
1
u/MathyMama Jul 03 '22
!remindme 1 week
1
u/NeutronFast Jul 03 '22
!remindme 1 week
1
u/babuloseo Jul 03 '22
!remindme 1 week
0
u/neko1948 Jul 02 '22
!remindme 1 week
0
u/YinYang-Mills Jul 03 '22
General Relativity by Wald.
0
u/rzykov Jul 04 '22
I wrote a book on subject just as you described, after 20 years of experience with founding and existing from own startup :) Pm me, I could send you an author copy from Amazon.
7
u/[deleted] Jul 03 '22
[removed] — view removed comment