The ff_predict
function is designed to make predictions using a trained XGBoost model from the ForestForesight algorithm. It can handle both loaded models and model file paths, applies the model to test data, and can optionally create a predicted raster. The function also calculates performance metrics if ground truth data is provided.
Exercises
Basic Usage:
Make predictions using a trained model and test data.
...