- Add support for new {paradox} version (#234)
- Rename
ppoints
param in {CAST} functions topredpoints
to adhere with the upstream package renaming (#237) - Update {vdiffr} tests with latest {ggplot2} version
- Allow changing point size in all
autoplot()
functions (#231).
- Cleanup dicts during unload (#233)
- Pass ellipsis to all
autoplot()
sub-functions. - Fix mlr3book references
- Compile "vis" vignette also on macOS
- Add "knndm" method from package {CAST} (#229)
- Add
label_size
to "spcv_block" to make label size configurable (#227) - Add
show_omitted
for "spcv_buffer" method (#228)
- Add support for {blockCV} v3 and bump requirement to >= 3.1.2 (#222)
- Replace {raster} dependency in favor of {terra}
- Remove CLUTO algorithm and method due to CLUTO being non-downloadable anymore (#224)
- add
label
support for built-in tasks - adhere to CRAN "noSuggests" policy
- Add error message when trying to create a
TaskClassifST
orTaskRegrST
from ansf
object - Synchronize
TaskClassifST
orTaskRegrST
with {mlr3spatial} - Add support for
mlr_reflections
changes in {mlr3} > 0.13.4 - Adjust "Getting Started" vignette to recent API changes
autoplot.ResamplingSptCVCstf()
: Add missing support for argumentaxis_label_fontsize
for x and y axes
autoplot.ResamplingSptCVCstf
: when multiple folds are requested, the subplots are now returned again (before, the return was empty)autoplot.ResamplingSptCVCstf
: the legend item for the "omitted" observations now displays the correct color and label again
- Rename task
cookfarm
tocookfarm_mlr3
. This was done to distinguish thecookfarm
task implementation in {mlr3} better from the originalcookfarm
dataset.cookfarm_mlr3
also now comes with all rows of the upstreamcookfarm
task and not with a random subset as before. - Rewrite
mlr_resampling_spctcv_cstf
implementation. The method will produce different fold results compared to {mlr3spatiotempcv} <= 1.0.1. This is because of a change/fix in the sampling behavior: before, an (unwanted) stratified sampling was done ontime
andspace
variables. While this matched the upstream implementation in {CAST}, this did not match with the actual theoretical underpinning described in the literature. - {mlr3} API adaptations:
TaskClassifST$new()
andTaskRegrST$new()
only acceptsDataBackendDataTable
. Support forsf
objects has moved toas_task_*_st()
which acceptssf
objects directly and creates the DataBackend behind the scenes.
- Add support for
DataBackendRaster
(@be-marc, #191). mlr_resampling_spctcv_cstf
: a log message returns the column roles from the Task which are used for partitioning- The help pages for all methods now describe the methods manually rather than importing the upstream documentation of the respective method.
Task*ST
classes now print column rolesspace
andtime
(if set) (#198)autoplot()
gainsplot_time_var
argument for 3D visualizations ofmlr_resamplings_sptcv_cstf
resamplings with only 'space' used for partitioning (#197)- Vignette updates
- All {mlr3spatiotempcv} methods now comply with the {mlr3} man file declaration logic.
- Escape all examples and tests for non-installed packages.
- The
cookfarm_mlr3
task now sets column roles "space" and "time" for variablesSOURCEID
andDate
, respectively. - Harden CLUTO tests (#182)
- Large update for the "spatiotemporal" section in the mlr3book
- Fixed a issue which caused coordinates to appear in the feature set when a data.frame was supplied (#166, @be-marc)
- Add
autoplot()
support for"groups"
column role inrsmp("cv")
autoplot()
: removed argumentcrs
. The CRS is now inferred from the supplied Task. Setting a different CRS than the task might lead to spurious issues and the initial idea of changing the CRS for plotting to have proper axes labeling does not apply (anymore) (#144)
- Added
autoplot()
support forResamplingCustomCV
(#140)
"spcv_block"
: Assert error if folds > 2 whenselection = "checkerboard"
(#150)- Fixed row duplication when creating
TaskRegrST
tasks fromsf
objects (#152)
- Upgrade tests to {vdiffr} 1.0.0
- Add {rgdal} to suggests and required it in
"spcv_block"
since it is required in {blockCV} >= 2.1.4 and {sf} >= 1.0
- Support clustering coords only for
"sptcv_cluto"
- Add
as_task_*
S3 generics:as_task_classif_st.data.frame()
,as_task_classif_st.DataBackend()
,as_task_classif_st.sf()
,as_task_regr_st.data.frame()
,as_task_regr_st.DataBackend()
,as_task_regr_st.sf()
,as_task_classif.TaskClassifST()
,as_task_regr.TaskRegrST()
(#99) - Add
"spcv_tiles"
and"repeated_spcv_tiles"
(#121) - Add
"spcv_disc"
(#115)
- Fixed train set issues for
sptcv_cstf()
with space and time var (#135) - Fixed
$folds()
active binding returning wrong fold number (#120) - Add missing
man
IDs (#122)
- Add example 2D spatial plots to spatiotemp-viz vignette
- Add {caret} to Suggests
- "Cstf" methods: remove arguments in favor of param set to align with other methods (#122)
- Inherit documentation from upstream functions (#117)
- Vignette: Update and categorize table listing all implemented methods
autoplot.ResamplingSptCVCstf()
: add 2D plotting method (#106)autoplot.ResamplingSptCVCstf()
: add argumentsshow_omitted
andstatic_image
(#100)autoplot()
(all methods): allow adjusting point size via...
(#98)
- Remove {GSIF} package due to CRAN archival and host the
cookfarm
dataset standalone - Use
Cstf
method for spatiotemporal viz vignette - Fix help page content of
ResamplingRepeatedSptCVCstf
(beforehand the Cluto method was referenced accidentally) - Fix segfault in
autoplot.ResamplingSpcvBlock
example when rendering pkgdown site (unclear why this happens whenshow_labels = TRUE
) - Update
autoplot()
examples and related documentation - Remove duplicate resources in Tasks "see also" fields
- Skip a test on Solaris and macOS 3.6
- Optimize "Spatiotemporal Visualization" vignette
- Add support for
rasterLayer
argument inblockCV::spatialBlock()
(#94) - Ensure that
blockCV::spatialBlock()
functions actually returns the same result when invoked via {mlr3spatiotempcv} (#93). Among other issues,blockCV::spatialBlock(selection = "checkerboard")
was ignored. - Get coordinates names from {sf} objects dynamically. Before some functions would have errored if the coordinate names were not named "x" and "y".
- Add support for {sf} objects for Task*ST creation (#90)
- "Getting Started" vignette: add example how to create a spatial task
- CRAN-related changes
- Support ordered factors in TaskClassifST creation (#84)
- Initial CRAN release