---
title: "Discussion on \"Linear Regression in Machine Learning: A Comprehensive Guide\" | Hashnode"
description: "Discussion on \"Linear Regression in Machine Learning: A Comprehensive Guide\". Implement and compare gradient descent linear regression with scikit-learn's LinearRegression, train, predict, and compute MSE"
url: "https://hashnode.com/posts/linear-regression-in-machine-learning-a-comprehensive-guide/647c055f9cbca907ec2b3537"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Linear Regression in Machine Learning: A Comprehensive Guide](https://theenthusiast.dev/linear-regression-in-machine-learning-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

Implement and compare gradient descent linear regression with scikit-learn's LinearRegression, train, predict, and compute MSE

Jun 4, 2023 · 15 min read · theenthusiast.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Sahil](https://hashnode.com/@dotslashbit)

@dotslashbit · Hyderabad India

  
[View profile](https://hashnode.com/@dotslashbit)

MTech CS @ IIT Kharagpur

Hello, I'm a Masters CS student at IIT Kharagpur and I'm passionate about machine learning, deep learning, python, data structures and algorithms. I have been writing articles on these topics for the past year, sharing my insights, projects and tutorials with the online community. I enjoy learning new things and applying them to real-world problems. I also like to help others who are interested in these fields by answering their questions and providing feedback.

## Responses 2

Markdown supported · ⌘↵ to post

[Indranil Saha](https://hashnode.com/@indranil)

[Sep 8, 2023](https://hashnode.com/posts/linear-regression-in-machine-learning-a-comprehensive-guide/647c055f9cbca907ec2b3537/comment/64fb6e44d97346b470a1d4d7)

Very well-written blog. I just have a question. How did you write those math equations on here?

[Sahil](https://hashnode.com/@dotslashbit)

[Sep 9, 2023](https://hashnode.com/posts/linear-regression-in-machine-learning-a-comprehensive-guide/647c055f9cbca907ec2b3537/comment/64fb6e44d97346b470a1d4d7#reply-64fbf3618b05f2b3821c1926)

You can write math equations using latex. Take a look here --> [datailm.hashnode.dev/math-tex](https://datailm.hashnode.dev/math-tex)

[Bijayananda Lenka](https://hashnode.com/@Biju9339)

[Jun 4, 2023](https://hashnode.com/posts/linear-regression-in-machine-learning-a-comprehensive-guide/647c055f9cbca907ec2b3537/comment/647c14621147de02efa71e2e)

Well written and detailed concept
