Reducing impacts of floods
Make sure these libraries are installed
- numpy
- pandas
- gmplot
To run the program
- open pred.py in python idle
- press F5 or go to run tab or
- Open terminal in the working directory
- type python3 pred.py
Working
- Read dataset -> fld.csv
- train the model using naive bayes classifier
- predict and display the severity of flood using rainfall and dam discharge data
- read safepoints.csv for safe locations in the region
- create a html file which contains current location, safe locations and closest safe spot
- show path to closest safe location