GithubHelp home page GithubHelp logo

bshim92 / housingpricesproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 6.66 MB

Kaggle Competition: Predicting Housing Prices

Home Page: https://www.kaggle.com/c/house-prices-advanced-regression-techniques

Jupyter Notebook 100.00%

housingpricesproject's Introduction

Housing Price Predictions

Team Members

  • Fatima Baig
  • Davinder Dole
  • Branden Shimamoto
  • Shetu Vithlani

Project Description

Feature Clean Up/Engineering

  • Replaced Missing Values with 0, 'NONE', Median, Mode
  • Removed Outliers
  • Created ratio values (Living Space/Lot Area)
  • Changed years to years since (2014 becomes 5)
  • Logged and Squared Columns

Models

Random Forest

  • Produced a feature importance list that was used in the other models. In the other models, the number of columns to drop (dropcolumns) was treated as a hyperparameter. For example, dropcolumns = 50, would mean that the 50 least important columns were excluded from the model. This lead to significant increases in model accuracies.

RMSLE = 0.146

XGBoost

RMSLE = 0.130

Linear

  • Target Variable (Sale Price) was logged.
  • dropcolumns = 217

RMSLE = 0.11748

Lasso

  • Target Variable was logged.
  • dropcolumns = 204

RMSLE = 0.11718

Support Vector (Polynomial)

  • C = 200, Degree = 6, Epsilon = 100, Coef0 = 2

RMSLE = 0.12285

Neural Network

  • Standard scaling for input variables.

  • Target variable was logged.

  • Hidden Layer (20 units, Linear)

  • Dropout Layer (0.5)

  • Hidden Layer (20 units, Linear)

  • Dropout Layer (0.5)

  • 220 Epochs

RMSLE = 0.12770

Stacked Model

  • Weighted average of all the models according to each model's RMSLE
    • Weight = 1/(RMSLE^4)

RMSLE = 0.11512

Results

Model Kaggle RMSLE
Random Forest 0.146
XGBoost 0.130
Linear 0.11748
Lasso 0.11718
Support Vector 0.12285
Neural Network 0.12770
Stacked 0.11512

92nd Percentile

housingpricesproject's People

Contributors

bshim92 avatar davinder-dole avatar skara6 avatar baigfatima 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.