Live data from Hacker News

An Introduction to Statistical Learning with Applications in Python

statlearning.com

51–60 of 87 posts

Re: An Introduction to Statistical Learning with Applications in Python

#51
post #48
post #7

You can download the whole book (legally) from here [pdf]: https://hastie.su.domains/ISLP/ISLP_website.pdf

That is out of date. The link you put is literally in OP's link but 2nd edition.

I'm not certain, but looking at that site it appears that the 2nd edition is the R version, whereas there is only one edition of the Python version.

Re: An Introduction to Statistical Learning with Applications in Python

#52

Personally, I prefer Bishop (Pattern Recognition and Machine Learning) or Murphy (Probabilistic Machine Learning: An Introduction).

ISL is a more introductory book than Bishop or Murphy. There's no reason not to read all of them, they're all excellent books that cover different topics. I'd also throw in Elements of Statistical Learning from the same authors as ISL(R/P). I've read ISL, ESL, and Bishop, started Murphy but didn't finish it (no real reason, just lost track of it when I got busy). I highly recommend any and all of these texts.

Re: An Introduction to Statistical Learning with Applications in Python

#53
post #51
post #48

Earlier quoted context omitted.

That is out of date. The link you put is literally in OP's link but 2nd edition.

I'm not certain, but looking at that site it appears that the 2nd edition is the R version, whereas there is only one edition of the Python version.

Hmm. right you are it seems

Re: An Introduction to Statistical Learning with Applications in Python

#54

Personally, I prefer Bishop (Pattern Recognition and Machine Learning) or Murphy (Probabilistic Machine Learning: An Introduction).

I heard good things about Bishop however I am a SE that would like do know more about what the ML team is doing and maybe work on some ML side projects. Would you recommend Bishop here or is it considerer to theoretical for such a case?

Bishop is going to be more theoretical than ISL. It is true that Bishop is taught as an introduction to ML in many universities, but if you want more hands on to start with, ISL is an excellent option. There is another text called "Elements of Statistical Learning" that pairs well with ISL for a more theoretical treatment. I haven't looked at ESL in a long time, the only concern I'd have is if they aren't covering some introductory deep learning topics. Most of ISL, ESL, and Bishop are more traditional machine learning, covering a wide variety of algorithms, so bear that in mind.

Re: An Introduction to Statistical Learning with Applications in Python

#55

The python version is great news. I get asked fairly frequently to recommend an intro ML book. I would have suggested this, except they usually only knew python and not R. Now it a perfect first book!

I used to introduce people new to machine learning with a python-converted version of ISL that I was developing. I never finished converting all of ISLR so this is very welcome!

Re: An Introduction to Statistical Learning with Applications in Python

#56
post #9

Good ol days of ML

I don't think most people realize this but the "old" stuff often works better, has less churn, and has far lower overhead costs for deployment than the "new" stuff. Depends on the domain and the goal.

To your point, I replaced an LSTM that required ~$100k of infrastructure with XGBoost that required no more infrastructure (we created and used the model at query time on existing infrastructure we already had for query loads) and only lost about 2% accuracy (LSTM: 98%, XGBoost: 96%). This was two years ago and it's still in use.

Re: An Introduction to Statistical Learning with Applications in Python

#57

Off topic, but it's very interesting to observe the ratio of upvotes / comments. On any given chatGPT topic, there are hundreds of comments usually. Here, so far 100 upvotes, only 7 comments. The book looks great - and given the authors, it almost certainly is (I will buy it for sure). It makes me think though about the state of 'ML / AI / Data Science' - and the cynic part of me thinks that this upvotes / comments r…

As a ML researcher, I don't think you're far off the point.

w.r.t HN, there's almost all hype and no "science". People have strong convictions but not strong evidence. They happily cite papers, but only read the abstracts and miss the essential nuance. Especially in a field where suggesting limitations puts you at high risk of rejection (reviewers just copy paste that and thank you for the work).

w.r.t academia, it is a bit better, but I find that in general there are a lot of researchers missing math fundamentals. I know or have met people at top universities or top labs that don't know the difference between likelihood and probability. Similarly ones that don't understand probability density. Even ones working on diffusion. But I will say, that in general the most prominent researchers do have these skills. But you'll notice that they aren't publishing as fast and their works might not even be as popular. A lot of research right now goes into parameter tuning and throwing compute at the problem. I've been a bit vocal about this though. Mostly due to it being a barrier to other types of research (because I'll admit that the tuning is needed, but we need to be honest that it isn't high innovation either and that it is hard to prove these are better given that we haven't tuned other models/architectures to the same degree).

tldr: You're pretty spot on. There's a shit ton of noise in ML/AI. Especially on HN

Edit:

I thought I should also suggest Richard McElreath's Statistical Rethinking (https://xcelab.net/rm/statistical-rethinking/), which is a more enjoyable read than ISLR and will also introduce you to Bayesian stats (Lectures are also on youtube). I'd also suggest Gelman's Regression and Other Stories (https://avehtari.github.io/ROS-Examples/).

Re: An Introduction to Statistical Learning with Applications in Python

#59

Off topic, but it's very interesting to observe the ratio of upvotes / comments. On any given chatGPT topic, there are hundreds of comments usually. Here, so far 100 upvotes, only 7 comments. The book looks great - and given the authors, it almost certainly is (I will buy it for sure). It makes me think though about the state of 'ML / AI / Data Science' - and the cynic part of me thinks that this upvotes / comments r…

What you are saying is true. This kind of books are key to getting started with Machine Learning/AI, and this particular book is a very good one. I started my ML journey with this book. There is a lot of hype around AI and it is going to be like the dotcom bubble. Unlike Crypto, AI has real uses right now and I am saying this not taking into account any LLM products. But there is also a lot of hype and wishful thinki…

> and this bubble is going to burst and hurt a lot of people

> But AI is here to stay. And even after the bubble bursts, there will be real uses of AI all around us.

This is, as a ML researcher, exactly where I'm at (in belief). The utility is high, but so is the noise. Rather, the utility is sufficient. The danger of ML is not so much X-risk or malevolent AGI, but dumb ML being used inappropriately. And in general, that is using ML without understanding the limitations and having checks on it to ensure that when hallucinations happen that they don't cause major problems. But we're headed in a direction where we're becoming more reliant upon them and then once we have a few big issues with hallucinations the bubble will burst and can end up setting us back a lot in our progress to creating AGI. Previous winters were caused by lack of timely progress, but the next winter will happen because we shoot ourselves in the foot. Unfortunately, the more people you give guns to, the more likely this is to happen -- especially when there's no safety training or even acknowledgement of danger (or worse, the only discussion is about being shot by others).

Re: An Introduction to Statistical Learning with Applications in Python

#60

Off topic, but it's very interesting to observe the ratio of upvotes / comments. On any given chatGPT topic, there are hundreds of comments usually. Here, so far 100 upvotes, only 7 comments. The book looks great - and given the authors, it almost certainly is (I will buy it for sure). It makes me think though about the state of 'ML / AI / Data Science' - and the cynic part of me thinks that this upvotes / comments r…

This is pure gatekeeping. The math behind LLMs, that is, the math behind Neural Nets, is undergrad freshman level Calculus and some linear algebra. Not really complex at all. Can you deal with derivatives, the chain rule and matrix multiplications? Great you know all the "math" behind Deep Learning.

That's the beginning math, but definitely not "the math behind LLMs". That includes probability theory, metric theory, topology, and more. But most people don't even acknowledge this, but then again, unless you're deep in a subject you don't really know the complexities of that subject. Red flags should go off whenever anyone says "it's just " or calls something simple. It's like the professor saying the proof is trivial, when that's the hardest part of the entire problem.
Post reply on HN