DEV Community

Vishnu Ajit
Vishnu Ajit

Posted on

1

Posting my first Dev Post: Project : Using Linear Regression in Machine Learning to predict house prices

Posting My First Dev Post Notebook: Predicting house prices using LinearRegression

Excited to share my notebook which i made for experimenting with machine learning algorithms! This notebook contains code and markdown for a project using LinearRegression . It loads the dataset from load_boston dataset and enables us to predict house prices from the available actual houseprices πŸ§‘β€πŸ’»πŸ“Š

Concepts Used Include:

  • Train_Test_SplitπŸŒ€
  • LinearRegression 🎯
  • mean_squared_error βž–
  • model.coef_ 🌟
  • model.intercept_ πŸ”„
  • model.predict 🌟

Why This Notebook:

The main goal of this notebook is to visually understand how to use the LinearRegression concept in machine learning algorithm to calculate/predict house prices from the training data we have.

I’ve included a line to my notebook to guide you through the it https://colab.research.google.com/drive/1-fGYNuGfMXjq172ErX7TWGoSPguU863f?usp=sharing

What’s Next:

Over the Next week, I’ll be posting more of my notebooks for other concepts in Machine Learning as recommended by this url https://www.kaggle.com/discussions/getting-started/554563 [# Machine Learning Engineer Roadmap for 2025]

Who's This For:

For anybody who loves python and who has been telling themselves I'm gonna learn Machine Learning one day. This is for them !Lets learn Machine Learning Together :)

Feel free to explore the notebook and try out your own machine learning models! πŸš€

Notebook Link: https://colab.research.google.com/drive/1-fGYNuGfMXjq172ErX7TWGoSPguU863f?usp=sharing  [Project ML - Learn Linear Regression in Machine Learning through Python]
Kaggle References: https://www.kaggle.com/discussions/getting-started/554563 [Machine Learning Engineer Roadmap for 2025]

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (2)

Collapse
 
dkjackson19 profile image
Dk Jackson β€’

Hey there I’m excited to learn Python this year especially ML/AI. I’m ready to see what you have to share, and learn along with you. Not to mention the information you provided with those links to your notebook/kaggle were very great to read.

Collapse
 
vishnu_ajit profile image
Vishnu Ajit β€’

Thank you for those kind words :)

I'll start sharing my notebooks in future Dev Posts. And yes, lets learn along.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay