Introduction to Statistical Studying, Python Version: Free E-book

Introduction to Statistical Learning, Python Edition: Free Book
Picture by Creator


For years, Introduction to Statistical Learning with Applications in R, higher referred to as ISLR, has been cherished—by each machine studying inexperienced persons and practitioners alike—as among the finest machine studying textbooks. 

Now that the Python version of the guide, Introduction to Statistical Learning with Applications in Python—or ISL with Python—is right here, the group is all of the extra excited! 



Glad you requested. 😀

For those who’ve been within the machine studying house for some time, chances are high you’ve already heard, learn, or used the R model of the guide earlier than. And you understand what you preferred greatest about it. However right here’s my story. 

The summer time earlier than I began grad college, I made a decision to show myself machine studying. I used to be fortunate to stumble throughout ISLR early in my machine studying journey. The authors of ISLR do an incredible job at breaking down complicated machine studying algorithms in an easy-to-follow method—together with the required mathematical foundations—with out overwhelming the learners. That is a side of the guide I loved.

The code examples and labs in ISLR, nonetheless, are in R. Sadly sufficient, I didn’t know R again then, however was comfy programming in Python. So I had two choices. 

Introduction to Statistical Learning, Python Edition: Free Book
Picture by Creator


I may train myself R. Or I may use different sources—tutorials and documentation—to construct fashions in Python. Like most different Pythonistas, I selected the second choice (yeah, the extra acquainted route, I do know).

Whereas R is nice for statistical evaluation, Python is an effective first language if you happen to’re simply beginning out in your knowledge journey. 

However this isn’t an issue anymore! As a result of this new Python version helps you to code alongside and construct machine studying fashions in Python. No extra worries about having to choose up a brand new programming language to observe alongside.

Story time’s up! Let’s take a more in-depth have a look at the contents of the guide.



By way of the content material, the Python version is fairly much like the R version. Nonetheless, it is an applicable adaptation for Python which is anticipated. This guide additionally features a Python programming crash course part to be taught the fundamentals.

This guide covers enough breadth. From foundations of statistical studying, supervised and unsupervised studying algorithms to deep studying and extra, the guide is organized into the next chapters:

  • Statistical studying 
  • Linear regression 
  • Classification 
  • Resampling strategies 
  • Linear mannequin choice and regularization 
  • Transferring past linearity
  • Tree-based strategies 
  • Help Vector Machines
  • Deep Studying (covers vanilla neural networks to ConvNets and recurrent neural networks)
  • Survival Evaluation and Censored Knowledge
  • Unsupervised studying
  • A number of testing (a deep dive into speculation testing) 



The guide makes use of datasets sourced from publicly obtainable repositories such because the UCI Machine Studying repository and different related sources. Some examples embrace datasets on bike sharing, bank card default, fund administration, and crime charges.

Studying to gather knowledge from numerous sources by way of the method of net scraping, and importing knowledge from sources are tremendous necessary for a knowledge science mission. 

Nonetheless for a learner who’s unfamiliar with the information assortment step, it will probably introduce friction within the studying course of in the event that they wish to use the guide to get the dangle of each the idea and hands-on sections. 

To facilitate a clean studying expertise, the guide comes with an accompanying ISLP bundle:

  • The ISLP bundle is on the market for all main platforms: Linux, Home windows, and MacOS.
  • You may set up ISLP utilizing pip: pip set up islp ideally in a digital setting in your machine. 

The ISLP bundle has a comprehensive documentation. The ISLP bundle comes with knowledge loading utilities. If you work with a selected dataset, the docs web page offers you ready-to-access data on the assorted options within the dataset, the variety of data, and starter code to load the information right into a pandas dataframe.

It additionally has helper capabilities and performance to create higher-order options like polynomial and spline options.


Introduction to Statistical Learning, Python Edition: Free Book
Producing polynomial options | Image from ISLP docs


For a extra full studying expertise, you’ll be able to learn within the knowledge from their sources, carry out function engineering with out utilizing the ISLP bundle.

If you’re constructing fashions, you’ll be able to strive scikit-learn-only implementation and PyTorch or Keras for the deep studying sections.



Knowledge Science and Machine Studying Rookies: If you’re a newbie who prefers a self-taught path to be taught machine studying, this guide is a good studying useful resource.

ML Practitioners: As a machine studying practitioner, you’ll have expertise constructing machine studying fashions. However going again to the fundamentals akin to speculation testing and different algorithms will be useful.

Educators: The speculation and the labs collectively make this guide an incredible companion for a primary course in machine studying. Most universities and knowledge science bootcamps lately train machine studying. So in case you are an educator who’s educating or seeking to train a machine studying course, it is a nice course textbook to contemplate.



And that is a wrap. Introduction to Statistical Studying with Python has been one of the thrilling releases of this summer time.

You may head over to and begin studying the Python version. Whereas the delicate copy is free to learn, the paperback on Amazon bought out on the very first day. So we’re excited to see you benefit from the guide. Begin studying it right this moment. Pleased studying!
Bala Priya C is a developer and technical author from India. She likes working on the intersection of math, programming, knowledge science, and content material creation. Her areas of curiosity and experience embrace DevOps, knowledge science, and pure language processing. She enjoys studying, writing, coding, and low! At the moment, she’s engaged on studying and sharing her data with the developer group by authoring tutorials, how-to guides, opinion items, and extra.

Leave a Reply

Your email address will not be published. Required fields are marked *