Code Monkey home page Code Monkey logo

sruti-jain / predicting-house-prices---regression Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 4.0 2.33 MB

Determining the housing prices of California properties for new sellers and also for buyers to estimate the profitability of the deal.

Home Page: https://www.slideshare.net/SrutiJain/predicting-house-pricesregression

Jupyter Notebook 100.00%
python3 pandas matplotlib data-manipulation sklearn one-hot-encode linear-regression decision-tree-regressor random-forest-regressor support-vector-regressor

predicting-house-prices---regression's Introduction

Predicting-House-Prices---Regression

This project aims to determine the housing prices of California properties for new sellers and also for buyers to estimate the profitability of the deal.

I have used the data taken from California census data with 20,640 instances in the dataset and the shows a summary of the numerical attributes is as shown below:

alt text

The dataset was split into Train-Validate-Test samples using Stratified sampling. Various exploratory analysis was done to determine which features was useful and which could be eliminated. Upon finalization of the features, text features were converted to categorical variables and feature standarization was performed to implicitly weights all features equally in their representation.

Next in order to select a prediction method, various regression methods were explored and compared. The performance measure used to compare various prediction models was RMSE (Root mean square error). Grid Search and Randomized Search was also implemented to determine the hyperparameters for Random forest that will give the least prediction error. Below are the details of the models implemented and their performance score:

  1. Linear Regression: RMSE- 68321.7051304
  2. Decision Tree Regressor: RMSE- 70269.5738668
  3. Random Forest Regressor: RMSE- 52909.1080535
  4. Support Vector Regressor: RMSE- 110914.791356
  5. Fine Tuning the Hyperparameters for Random Forest Regressor: RMSE- 49261.2835608

predicting-house-prices---regression's People

Contributors

sruti-jain avatar

Stargazers

 avatar  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.