Giter Club home page Giter Club logo

ames-housing-price-prediction-app's Introduction

Ames Housing Price Prediction App

Demo: Streamlit App

This web app showcases an XGBRegressor model trained to predict house prices in Ames, Iowa. To help a user understand the driving factors behind the prediction model, the user may specify inputs in the left panel and predicted outputs will be reflected in the main panel, followed by plots illustrating how each feature/variable drives the model output in a negative or positive direction (determined based on SHAP values).

screen-gif
This app predicts house price in Ames, Iowa—based on user-specified input

Model

Kaggle notebook outlining the model building process in full detail is available here. This prediction model ranks in the top 7% of Kaggle's House Price Prediction Competition leaderboard and top 1% of Housing Prices Competition for Kaggle Learn Users leaderboard (as of 12/20/2021—leaderboard refreshes every couple of months).

Data

The Ames Housing dataset was compiled by Dean De Cock for use in data science education. It's an incredible alternative for data scientists looking for a modernized and expanded version of the often cited Boston Housing dataset.

Tech Stack

  • Python
  • Numpy
  • pandas
  • scikit-learn
  • XGBoost
  • SHAP
  • Streamlit

Running The App Locally

Open a command prompt in your chosen project directory. Create a virtual environment with conda, then activate it.

conda create -n myenv python=3.9.7
conda activate myenv

Clone this git repo, then install the specified requirements with pip.

git clone https://github.com/ruthgn/Ames-Housing-Price-Prediction-App
cd Ames-Housing-Price-Prediction-App
pip install -r requirements.txt

Run the app.

streamlit run ames-house-ml-app.py

License

This project is licensed under the GNU General Public License - see the LICENSE file for details.

ames-housing-price-prediction-app's People

Contributors

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