Understanding Linear Regression
Linear Regression

Understanding Linear Regression

In my recent post on my blog, I tried to present my understanding of linear regression with charts and tables. Here's what I covered in the post.

  1. What is Linear Regression?
  2. Understanding regression visually
  3. How is regression line calculated?
  4. Assumptions around linear regression and why each one of them is important
  5. Things to do to make the results better
  6. Sample code in Python and R

What's the first thing that we can observe by just looking at this table. Is there some kind of pattern. As it turns out human mind is really good at finding hidden patterns, in some cases, better than a computer. In fact when it comes to finding patterns in images or videos, computers have still not been able to beat humans.

For those of you who are still not able to grasp it fully (even non mathematics background people would grasp is partially), let's plot the above into a graph. Does this makes it clearer?


As most of you might have thought of - for each value of X, Y equals X. In short, Y = X.

This in short is the most basic example of Linear Regression. Linear regression is the most basic and commonly used predictive analysis. Regression estimates are used to describe data and to explain the relationship between one dependent variable and one or more independent variables. When there are more than one independent variables, its called multivariate regression analysis.

More can be read in detail on my post. Here is the link https://analyticsbot.ml/2016/12/linear-regression-machine-learning-101/

要查看或添加评论,请登录

Ravi Shankar的更多文章

  • How I started with Deep Learning?

    How I started with Deep Learning?

    Note: In this post, I talk about my learning in deep learning, the courses I took to understand, and the widely used…

    4 条评论
  • Measuring Text Similarity in Python

    Measuring Text Similarity in Python

    Note: This article has been taken from a post on my blog. A while ago, I shared a paper on LinkedIn that talked about…

    1 条评论
  • Getting started with Apache Spark

    Getting started with Apache Spark

    If you are in the big data space, you must have head of these two Apache Projects – Hadoop & Spark. To read more on…

  • Intuitive Explanation of "MapReduce"

    Intuitive Explanation of "MapReduce"

    How many unique words are there in this sentence which you are reading? The answer which you will say is 12 (Note: word…

  • Getting started with Hadoop

    Getting started with Hadoop

    Note: This is a long post. It talks about big data as a concept, what is Apache Hadoop, "Hello World" program of Hadoop…

    7 条评论
  • What is the Most Complex thing in the Universe?

    What is the Most Complex thing in the Universe?

    What is the most complex piece of creation (natural/artificial) in this universe? Is it the human brain? But if the…

    11 条评论
  • Automate Finding Items on Craigslist || Python & Selenium to the Rescue

    Automate Finding Items on Craigslist || Python & Selenium to the Rescue

    If necessity is the mother of invention, then laziness is sometimes its father! Craigslist, especially in the United…

    7 条评论
  • Getting Started with Python!

    Getting Started with Python!

    Note: This post is only for Python beginners. If you are comfortable with it, there might be nothing new to learn.

    2 条评论
  • L1, L2 Regularization – Why needed/What it does/How it helps?

    L1, L2 Regularization – Why needed/What it does/How it helps?

    Simple is better! That’s the whole notion behind regularization. I recently wrote about Linear Regression and Bias…

    4 条评论
  • Bias-Variance Tradeoff: What is it and why is it important?

    Bias-Variance Tradeoff: What is it and why is it important?

    What is Bias- Variance Tradeoff? The bias-variance tradeoff is an important aspect of machine/statistical learning. All…

    7 条评论

社区洞察

其他会员也浏览了