- Authors: Bruna Zamith Santos (programmer), Ricardo Cerri, Marcelo Narciso, Balbina Soriano, Diego Furtado
- This is the codebase for the paper "A New Time Series Framework for Forest Fire Risk Forecasting and Classification" - IJCNN 2023.
virtualenv -p /usr/bin/python3 env
source env/bin/activate
pip3 install -r requirements.txt
deactivate
sudo python3 setup.py clean --all install
There are 2 required data files:
- One with climatic data. Must contain the columns Year, Month, Day, T (temperature), P (precipitation), UR (relative humidity) and V (wind speed).
- One with hotspot detection. Must contain the column Date, representation the dates where a hotspot was identified.
To define which data file will be used, you must:
- Place the data file in folder under
/datasets
that represents this data source. Either/datasets/hotspot_data
or/datasets/climatic_data
- Define the file names in
/config/general_settings.py
There is 1 required data file:
- One with climatic data, with at least
X
days, in whichX
is equal toOBSERVATION_WINDOW
in/config/forecast_settings.py
To define which data file will be used, you must:
- Place the data file in folder under
/datasets/prediction_data
- Define the file name in
/config/general_settings.py
You can provide custom settings for all files in /config
folder
chmod +x run.sh
# Don't forget to activate the virtualenv, if you are using one!
# First, build the code:
./run.sh build
# Then, train the different models:
./run.sh fit
# Finally, predict the risk rate:
./run.sh predict
# To run everything at once, just run:
./run.sh all