You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I'd like to fit a single model using superClass or unsuperClass on several disjointed areas where I have raster data of the same variables. The way I've done this is the past for supervised classification is to sample each raster at the training points to create a single dataframe, then fit the model in caret, and the use raster::predict on each raster individually. It would be nice however if this could be done directly in RSToolbox and perhaps with the upgrade to terra you could include SpatRasterDatasets as a supported input which is essentially like having a list of rasters/raster stacks that can be of differing extents.
The text was updated successfully, but these errors were encountered:
makes sense, yes. I've been reworking large parts of superClass and will consider this suggestion. Also SpatRasterDatasets seems like a good input structure I wasn't aware of.
I was actually mistaken about the differing extents. I tried using a SpatRasterDataset instead of a list of rasters and got "Error: [sds] extents do not match ()".
Sometimes I'd like to fit a single model using
superClass
orunsuperClass
on several disjointed areas where I have raster data of the same variables. The way I've done this is the past for supervised classification is to sample each raster at the training points to create a single dataframe, then fit the model incaret
, and the useraster::predict
on each raster individually. It would be nice however if this could be done directly inRSToolbox
and perhaps with the upgrade toterra
you could includeSpatRasterDatasets
as a supported input which is essentially like having alist
of rasters/raster stacks that can be of differing extents.The text was updated successfully, but these errors were encountered: