Date
June, 2018
Info
A web-based tool that uses machine learning to reduce the amount of fires in Charlottesville.
3 week full-time project. 4 members.
The Charlottesville Fire Department regularly assesses fire risks to life and property. Their current process is primarily heuristic-based, and success ratings are only around 20% . There are tens of thousands of buildings in Charlottesville and many are old and need to undergo inspection. The department only has three employees to do these inspections however, so it becomes impossible to inspect them all in a timely manner. Thus, they needed a better way to know which buildings to inspect first.
Three other UVA students and I teamed up to tackle this issue, initially at a WillowTree & Smart Cville hackathon dubbed "Civic Innovation Day", but we were asked to continue working with the fire department to see the app through fruition.
Charlottesville has a huge amount of GIS building data that is open to the public here, but it isn't used to its full potential. In addition, the fire department itself has decades of private fire occurrence data, but the data was uncleaned and hadn't been used.
We took all of this data, cleaned it, and put it through a machine learning algorithm to classify each building as high, medium, or low risk.
What we looked at:
We looked at 34 variables variables for each building, such as:
After doing a gains analysis on the variables with cross-validation, to prevent over-fitting of the algorithm we only looked at the 20 top factors per building.
We tried out several models, such as bagging and simple decision-trees, but the best performance was with a random forest regressor that we customized.
Once the model was completed, I created a web-interface over a 2 day period so that the fire department could use and make sense of the data easily, using a custom mapbox script.
The links at the top of this page go into way more detail of the actual implementation, and some of the cautions to taken into account with the data. I encourage you to check it out!