Coder Social home page Coder Social logo

abvnithish / kaggle_housingpriceprediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.23 MB

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

Jupyter Notebook 100.00%
machine-learning data-science feature-engineering ames-housing advanced-regression-techniques xgboost ensemble-machine-learning stacking bagging boosting-algorithms

kaggle_housingpriceprediction's Introduction

House Prices (AmesHousingData): Advanced Regression Techniques

Link to Kaggle Competition: https://www.kaggle.com/c/house-prices-advanced-regression-techniques

Brief about the dataset:

The Ames Housing dataset was compiled by Dean De Cock for use in data science education. (http://jse.amstat.org/v19n3/decock.pdf)

With 79 explanatory variables describing (almost) every aspect of residential homes in Ames, Iowa, this competition challenges you to predict the final price of each home.

Goal: To predict the sales price for each house. For each Id in the test set, you must predict the value of the SalePrice variable.

Data Manipulation & Feature Engineering:

With multiple categorical & numerical variables to play around, the dataset poses a great challenge in terms of data manipulation and feature engineering. Dealing each feature individually to address it in a right way is the key to this competition. (More details in the notebook: DataCleaning & Feature Engineering.ipynb)

Evaluation Metric:

Log-RMSE: Root-Mean-Squared-Error (RMSE) between the logarithm of the predicted value and the logarithm of the observed sales price. (Taking logs means that errors in predicting expensive houses and cheap houses will affect the result equally)

Modelling:

I've tried out various models and digged deep into most of them to further tune the hyper-parameters and optimise them to maximise the performance of the model. (Detailed more in the notebook: RegressionModels.ipynb)

Various implemented models and their performance on the validation holdout set are as follows:

Model Holdout
Log-RMSE
Baseline
(Average SalePrice of Train Dataset)
0.4166
Linear Regression 0.1312
LR - RIDGE Regression 0.1130
LR - LASSO Regression 0.1109
Random Forest 0.1536
Gradient Boosted Regression (GBR) 0.1254
XGBoost Regression 0.1084
Ensemble/Stacking Model
(LASSO + RIDGE + GBR + XGBoost)
0.1067

kaggle_housingpriceprediction's People

Contributors

abvnithish avatar

Stargazers

 avatar

Watchers

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