Pantanal deforestation forecast
this research aims at predicting Pantanal’s deforestation until 2030 using modern Machine Learning techniques under different scenarios that vary in terms of agricultural production, the number of heads of cattle produced, and the area burned during the years. The model chosen for the study is Extreme Gradient Boosting (XGBoost), an algorithm that combines many simple models sequentially cleverly and yields state-of-the-art results. Our main objective is to simulate different scenarios of agricultural/cattle decisions and burned areas (realistic, optimistic, and pessimistic) that can aid in decision-making for strategic land use decisions in Brazil. As a secondary objective, we want to build a robust and scalable code base so others can contribute to the project, increasing its reach and impact. Finally, hopefully, this project helps ensure this critical biome’s integrity and guarantee future generations’ well-being. The model uses two data sources: The Brazilian Geography and Statistics Institute (IBGE) (https://www.ibge.gov.br/), from which data for land use (ha) by and quantity produced (ton) of temporary and permanent crops from 1985 to 2021 are extracted. From IBGE we also extract the headcount of caddle (in number of heads) in Brazil, from 1985 to 2021. Data for temporary crops can be found at https://sidra.ibge.gov.br/tabela/1612. For permanent crops, in https://sidra.ibge.gov.br/tabela/1613 and for caddle head count in https://sidra.ibge.gov.br/tabela/3939. In this repository, data for these variables are stored in five Excel files: Divided into "culturas_temporarias_1", "culturas_temporarias_2" and "culturas_temporarias_3" (temporary crops), "culturas_permanentes" (permanent crops) and "pecuaria" for headcount. Within crops files, the sheet "Área destinada à colheita (H..." contains the land use information per year in hectares, and the sheet "Quantidade produzida (Tonela..." contains the quantity produced information per year. For caddle heads, there is only one sheet that contains information in number of heads from 1985 to 2021. the second data information is Mpbiomas (https://brasil.mapbiomas.org/), from which we obtain information on land use transitions (in hectares) and forest fires (in hectares). Data can be downloaded from https://brasil.mapbiomas.org/wp-content/uploads/sites/4/2023/08/TABELA-GERAL-MAPBIOMAS-COL8.0-BIOMASxESTADOS-1.xlsx (land use transitions) and https://mapbiomas-br-site.s3.amazonaws.com/downloads/MB-Fogo-2-Biome-State.xlsx (fires). In this repository, data for land use transitions is called "mapbiomas-2021" and for fires is called "mapbiomas-queimadas-2021. The code is also included in this repository (pantanal_deforestation-main.zip) and can be found at https://github.com/iglesiascaio/pantanal_deforestation. To run the model, please read the "READ ME" file. Simply add all Excel files in a single folder and run the code from the same folder. More info on data can be found in the file "metadata".