mlr3spatial
Spatial objects within the mlr3 ecosystem
Raster prediction in mlr3 finally returns class probabilities, not just hard labels.
◆Recent moves
- 1mo ago
predict_spatial() gains probability predictions
Classification learners trained with predict_type = "prob" now yield one raster layer or vector column per class, which makes uncertainty maps possible without a manual workaround. Two DataBackendRaster fixes also land, covering shared multi-band sources and partially matching layer names.
View source ↗ - 10mo ago
Compatibility with mlr3 1.2.0
Absorbs the removal of the data format argument upstream and lets predict_newdata() and predict_spatial() work without optional coordinate column roles.
View source ↗ - 1y ago
Error on conflicting X/Y columns in sf objects
Turns a silent ambiguity into an explicit error when an sf object already carries X and Y columns.
View source ↗ - 2y ago
Compatibility with paradox 1.0.0
Upstream-tracking release for paradox 1.0.0 with no user-facing capability change.
View source ↗ - 3y ago
Use terra::inMemory() instead of the @ptr slot
Internal refactor replacing a reach into terra's internals with the supported inMemory() accessor.
View source ↗ - 3y ago
spatial_predict() accepts stars, sf and Raster* inputs
Broadens accepted input types beyond SpatRaster to stars, sf, RasterStack and RasterBrick, and renames the argument from task to newdata, aligning the call with the rest of mlr3's predict interface.
View source ↗