Learning With Data

Share this post

The Ultimate Guide to Linear Regression

datascienceleadership.substack.com

The Ultimate Guide to Linear Regression

Tyler Folkman
May 3, 2020
Share this post

The Ultimate Guide to Linear Regression

datascienceleadership.substack.com

Linear regression is one of the most fundamental algorithms for data scientists. I also find it is extremely common ground for interview questions.

Yet - I find it is also shallowly understood.

Don’t be the person who when asked about linear regression only knows how to call fit() and predict() in scikit-learn.

To help you out, I have assembled the Ultimate Guide to Linear Regression. This article will cover:

  • How to mathematically derive linear regression for gradient descent

  • Show you how to code a simple example from scratch

  • Compare with scikit-learn’s model

  • Show you how to interpret your results

  • Explore how to generate confidence intervals

  • And how to tune your algorithm depending on whether you have high bias or variance

This is by far the most in-depth article I have written. If you enjoy it, please share it on sites like LinkedIn and Twitter and tag me! This helps me know what content is most valuable.

Here is the direct link to the article:

https://learningwithdata.com/posts/tylerfolkman/the-ultimate-guide-to-linear-regression/

All the best,

Tyler

Share this post

The Ultimate Guide to Linear Regression

datascienceleadership.substack.com
Comments
TopNew

No posts

Ready for more?

© 2023 Tyler Folkman
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing