The ff_train
function is designed to train an XGBoost model for deforestation prediction using the ForestForesight algorithm. It takes prepared data (usually from ff_prep
), sets up the XGBoost parameters, trains the model, and optionally saves it. The function allows for customization of various XGBoost parameters and supports both training and validation data.
Exercises
...
Basic Usage:
Train a simple model using prepared data fromff_prep
.
...