Skip to content

maddyobrienjones/project_mcnulty

Repository files navigation

Welcome to my 'Project McNulty' repo!

For this project at Metis, I used supervised learning (classification), Amazon Web Services, PostgreSQL, Flask, and HTML/CSS to create a web app that consolidates data on housing throughout the city. Users can find information on complaints about the building and area, crime rates, as well as the 'Sketchy Landlord' index, created by a classification model trained on data where tenants ended up suing their landlords.

In this repo, I've uploaded my code, the data I used, and the presentation I gave at Metis on this project.

Blog post is currently a work in progress.

Repo Contents:

Data

  • All data is available on NYC Open Data. The datasets used in this project are up-to-date as of October 17th, 2018.

Data Cleaning

  • data_cleaning.py - cleaning of NYC open data and PLUTO data
  • all performed on AWS

Modeling

Web App Building

  • flaskapp.py - Flask app to look up building information
  • page.html - first page of Flask app (search bar)
  • template2.html - second page of Flask app (building information)
  • xgb.pkl - pickled model to predict risk of litigation

Presentation

*work in progress

About

Predicting Housing Litigation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published