Coder Social home page Coder Social logo

subhanjandas / predicting-housing-prices-using-multiple-linear-regression-and-k-nearestneighbours-knn Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 3.16 MB

The goal was to accurately estimate the value of real estate and uncover relevant factors that directly influence property prices. The study used two different models, multiple linear regression and k-Nearest Neighbours (kNN), to predict housing prices.

Jupyter Notebook 99.99% JavaScript 0.01%
knn knn-algorithm knn-classification knn-regression multiple-linear-regression multipleregression

predicting-housing-prices-using-multiple-linear-regression-and-k-nearestneighbours-knn's Introduction

Predicting Housing Prices Using Multiple Linear Regression and k-NearestNeighbours (kNN)

Introduction

In this project, the objective was to construct realistic models using regression and evaluate their performance and efficiency in predicting housing prices. The goal was to accurately estimate the value of real estate and uncover relevant factors that directly influence property prices. The study used two different models, multiple linear regression and k-Nearest Neighbours (kNN), to predict housing prices.

The results showed that the multiple linear regression model had the lowest Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE) at 151,751.64, 58,443,560,506.06, and 241,751.03 respectively. The model was considered a good model if the MAE and RMSE were low, and therefore, this model was deemed to be the best suitable for predicting housing prices.

Further analysis of the k-NN model revealed that the k=10 regression model had the lowest RMSE at 261,231.41. This confirmed that with 10 nearest neighbors, the model performed better.

In conclusion, this project successfully applied multiple linear regression and k-NN models to predict housing prices and evaluated their performance. The multiple linear regression model was found to be the best model for predicting housing prices based on its low MAE, MSE, and RMSE. This study provides valuable insights into the factors that influence housing prices and highlights the importance of carefully selecting the right model when making predictions in real estate.

Tools Used

  • Python
  • SciKitLearn
  • Pandas
  • Numpy
  • Matplotlib

Academic Paper

Screenshot 2023-01-31 at 3 19 18 PM

Screenshot 2023-01-31 at 3 19 38 PM

Screenshot 2023-01-31 at 3 20 01 PM

predicting-housing-prices-using-multiple-linear-regression-and-k-nearestneighbours-knn's People

Contributors

subhanjandas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.