In this step, we loaded various raster variables including Sentinel-2 (S2) data, SRTM elevation data, and slope data.
In this step, we prepared the training data using various datasets including GEDI L4B, Sentinel-2, SRTM elevation, and slope data. We started by loading the GEDI L4B dataset. The dataset was clipped to the study area boundary.
In this step, we trained and evaluated a random forest (RF) model for biomass prediction. The RF model was configured with a parameter specifying the number of trees, set to 50 in this case.
In this step, we evaluated the performance and accuracy of the random forest (RF) model. We first used the .explain() method on the trained RF model to compute variable importance and obtain model training statistics.
To know more about this project, read this Medium Article.