Skip to content

guathwa/project4-PREDICTION-WestNile-Virus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project 4: West Nile Virus Prediction

Due to the recent epidemic of West Nile Virus in the Windy City,the Disease And Treatment Agency assigned the team to use existing data to build a model and make predictions that the city of Chicago can use when it decides where to spray pesticides.

The project is split into 3 notebooks:

  • First notebook gathers and cleaned the data
  • Second notebook we performed exploratory data analysis, feature engineering
  • Third notebook we performed modeling and conclusion

Executive Summary

This is my first week of work at the Disease And Treatment Agency, division of Societal Cures In Epidemiology and New Creative Engineering (DATA-SCIENCE).

Due to the recent epidemic of West Nile Virus in the Windy City, the agency had the Department of Public Health set up a surveillance and control system. We're hoping it will let us learn something from the mosquito population as we collect data over time.

In this project, we received 3 DataSets from the data collected by the Department of Public Health surveillance and control systems, built 8 classification models and evaluate the top model which best answer our business needs, to identify whether a location at a certain point in time has the West Nile Virus.

We were provided with 3 datasets, Weather, Train, Spray Data and 1 dataset for testing our model to see it's predicting capabilities. The Weather DataSet has 2944 Observations and 22 Features, Train DataSet has 10506 Observations and 12 Features, Spray DataSet has 14835 Observations and 4 Features.

We cleaned the data for Weather by filling Null Values with either data collected from the other station or using mean/median of the entire dataset, Train dataset was clean by dropping repeated columns such as Address/Street/Block, Spray was cleaned by filling Null values with the respective time. After cleaning the data, we are have about 94.76%(0) and 5.24%(1) for West Nile Virus. We have a heavily unbalanced dataset which is not an ideal dataset to have for classification problems. From this we are also able to determine that our baseline accuracy is 94.76%.

To explore the data, We plotted time series lineplot to look at time trend regarding the weather and how it affects the observations of West Nile Virus. Then we plotted countplot to look at the relationship between each of the features with respect to the West Nile Virus. After that we plot a heatmap to determine which are the hotspots where mosquitoes are mostly found and where West Nile Virus is found as well.

We then did some Feature Engineering and built 8 models: Decision Tree with/without balancing the dataset Random Forest with/without balancing the dataset Ada Boost with/without balancing the dataset Logistic Regression with/without balancing the dataset and found out AdaBoost model which has a score of 72.24% in our test data answers our business problem the best.

For the next iteration to improve this model, we can look at running the model again after futher feature engineering and maybe dropping a couple of features that may not have as much significance. Or we can collect larger and more balanced dataset then tune our model again to improve its classification accuracy.

When the model is accurate enough, we can expand the usage to other States and consider having subreddit auto-warning system. This would warn us of possible West Nile Viruses happening and we would be able to tackle the problem before it surfaces. Prevention is better and more effective than Cure.

Conclusion

In this project, we seleced the model which has higher recall and less false negative. The cost of predicting a negative observation which turns out to be positive is higher when life is involved.

For the next iteration we can take data about birds species known to carry West Nile Virus as birds are also a factor that comes into play.

Most people who become infected with West Nile Virus has mild flu like symptoms and typically less than 1% develop severe neroinvasive disease according to CDC

It is subjective to determine the ROI or perform a cost benefit anaysis when life is involve as you can not put a value to life and there are different school of thoughts. We can look into how much it costs the state during each spraying session and determine if the risks is worth the expenditure. We can also consider other alternative instead of spraying during peak seasons to mitigate the risks and only perform spraying when it is absolutely necessary.

About

project 4 - Prediction of WestNile Virus (group)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published