Home

Awesome

<img src='https://s3.amazonaws.com/drivendata-public-assets/logo-white-blue.png' width='600'> <br><br>

Banner Image

Keeping it Fresh: Predict Restaurant Inspections

Goal of the Competition

The goal for this competition is to use data from social media to narrow the search for health code violations in Boston. Competitors will have access to historical hygiene violation records from the City of Boston — a leader in open government data — and Yelp's consumer reviews. The challenge: Figure out the words, phrases, ratings, and patterns that predict violations, to help public health inspectors do their job better.

What's in this Repository

This repository contains code volunteered from leading competitors in the Keeping it Fresh: Predict Restaurant Inspections on DrivenData. Code for all winning solutions are open source under the MIT License.

Winning code for other DrivenData competitions is available in the competition-winners repository.

Winning Submissions

PlaceTeam or UserScoreSummary of Model
1LilianaMedina0.8901I averaged the predictions of a random forest and a gradient boosted model.
2qwang0.8931My approach was focused almost strictly on feature engineering. I used scikit-learn’s implementation of random forests in Python.
3furiouseskimo0.9113I built four models for each target (random forest, extra random trees, gradient boosting machine, l2 logistic regression) and blended the predictions from these models to get my final submission.

Winner's Interview: "Announcing the Results of our Keeping It Fresh Competition"

Benchmark Blog Post: "From raw Yelp reviews to a model of hygiene violations (in 3 easy steps)"