Package: mlr3spatiotempcv 2.3.2

Patrick Schratz

mlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'

Extends the mlr3 machine learning framework with spatio-temporal resampling methods to account for the presence of spatiotemporal autocorrelation (STAC) in predictor variables. STAC may cause highly biased performance estimates in cross-validation if ignored. A JSS article is available at <doi:10.18637/jss.v111.i07>.

Authors:Patrick Schratz [aut, cre], Marc Becker [aut], Jannes Muenchow [ctb], Michel Lang [ctb]

mlr3spatiotempcv_2.3.2.tar.gz
mlr3spatiotempcv_2.3.2.tar.gz(r-4.5-noble)mlr3spatiotempcv_2.3.2.tar.gz(r-4.4-noble)
mlr3spatiotempcv_2.3.2.tgz(r-4.4-emscripten)mlr3spatiotempcv_2.3.2.tgz(r-4.3-emscripten)
mlr3spatiotempcv.pdf |mlr3spatiotempcv.html
mlr3spatiotempcv/json (API)
NEWS

# Install 'mlr3spatiotempcv' in R:
install.packages('mlr3spatiotempcv', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mlr-org/mlr3spatiotempcv/issues

Pkgdown site:https://mlr3spatiotempcv.mlr-org.com

Datasets:

4.59 score 129 scripts 864 downloads 29 exports 48 dependencies

Last updated 28 days agofrom:1d3938a4a0. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 29 2024
R-4.5-linuxOKNov 29 2024

Exports:as_task_classif_stas_task_classif_st.data.frameas_task_classif_st.DataBackendas_task_classif_st.sfas_task_classif_st.TaskClassifSTas_task_regr_stas_task_regr_st.data.frameas_task_regr_st.DataBackendas_task_regr_st.sfas_task_regr_st.TaskClassifSTas_task_regr_st.TaskRegrSTautoplotResamplingRepeatedSpCVBlockResamplingRepeatedSpCVCoordsResamplingRepeatedSpCVDiscResamplingRepeatedSpCVEnvResamplingRepeatedSpCVKnndmResamplingRepeatedSpCVTilesResamplingRepeatedSptCVCstfResamplingSpCVBlockResamplingSpCVBufferResamplingSpCVCoordsResamplingSpCVDiscResamplingSpCVEnvResamplingSpCVKnndmResamplingSpCVTilesResamplingSptCVCstfTaskClassifSTTaskRegrST

Dependencies:backportscheckmateclicodetoolscolorspacedata.tabledigestevaluatefansifarverfuturefuture.applyggplot2globalsgluegtableisobandlabelinglatticelgrlifecyclelistenvmagrittrMASSMatrixmgcvmlbenchmlr3mlr3measuresmlr3miscmunsellnlmepalmerpenguinsparadoxparallellypillarpkgconfigPRROCR6RColorBrewerrlangscalestibbleutf8uuidvctrsviridisLitewithr

Getting Started

Rendered frommlr3spatiotempcv.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2023-10-24
Started: 2020-11-11

Spatiotemporal Visualization

Rendered fromspatiotemp-viz.Rmdusingknitr::rmarkdownon Nov 29 2024.

Last update: 2024-01-23
Started: 2020-11-11

Readme and manuals

Help Manual

Help pageTopics
mlr3spatiotempcv: Spatiotemporal Resampling Methods for 'mlr3'mlr3spatiotempcv-package mlr3spatiotempcv
Convert to a Spatiotemporal Classification Taskas_task_classif_st as_task_classif_st.data.frame as_task_classif_st.DataBackend as_task_classif_st.sf as_task_classif_st.TaskClassifST
Convert to a Spatiotemporal Regression Taskas_task_regr_st as_task_regr_st.data.frame as_task_regr_st.DataBackend as_task_regr_st.sf as_task_regr_st.TaskClassifST as_task_regr_st.TaskRegrST
Visualization Functions for Non-Spatial CV Methods.autoplot.ResamplingCustomCV plot.ResamplingCustomCV
Visualization Functions for Non-Spatial CV Methods.autoplot.ResamplingCV autoplot.ResamplingRepeatedCV plot.ResamplingCV plot.ResamplingRepeatedCV
Visualization Functions for SpCV Block Methods.autoplot.ResamplingRepeatedSpCVBlock autoplot.ResamplingSpCVBlock plot.ResamplingRepeatedSpCVBlock plot.ResamplingSpCVBlock
Visualization Functions for SpCV Buffer Methods.autoplot.ResamplingSpCVBuffer plot.ResamplingSpCVBuffer
Visualization Functions for SpCV Coords Methods.autoplot.ResamplingRepeatedSpCVCoords autoplot.ResamplingSpCVCoords plot.ResamplingRepeatedSpCVCoords plot.ResamplingSpCVCoords
Visualization Functions for SpCV Disc Method.autoplot.ResamplingRepeatedSpCVDisc autoplot.ResamplingSpCVDisc plot.ResamplingRepeatedSpCVDisc plot.ResamplingSpCVDisc
Visualization Functions for SpCV Env Methods.autoplot.ResamplingRepeatedSpCVEnv autoplot.ResamplingSpCVEnv plot.ResamplingRepeatedSpCVEnv plot.ResamplingSpCVEnv
Visualization Functions for SpCV knndm Method.autoplot.ResamplingRepeatedSpCVKnndm autoplot.ResamplingSpCVKnndm plot.ResamplingRepeatedSpCVKnndm plot.ResamplingSpCVKnndm
Visualization Functions for SpCV Tiles Method.autoplot.ResamplingRepeatedSpCVTiles autoplot.ResamplingSpCVTiles plot.ResamplingRepeatedSpCVTiles plot.ResamplingSpCVTiles
Visualization Functions for SptCV Cstf Methods.autoplot.ResamplingRepeatedSptCVCstf autoplot.ResamplingSptCVCstf plot.ResamplingRepeatedSptCVCstf plot.ResamplingSptCVCstf
(blockCV) Repeated spatial block resamplingmlr_resamplings_repeated_spcv_block ResamplingRepeatedSpCVBlock
(sperrorest) Repeated coordinate-based k-means clusteringmlr_resamplings_repeated_spcv_coords ResamplingRepeatedSpCVCoords
(sperrorest) Repeated spatial "disc" resamplingmlr_resamplings_repeated_spcv_disc ResamplingRepeatedSpCVDisc
(blockCV) Repeated "environmental blocking" resamplingmlr_resamplings_repeated_spcv_env ResamplingRepeatedSpCVEnv
(CAST) Repeated K-fold Nearest Neighbour Distance Matchingmlr_resamplings_repeated_spcv_knndm ResamplingRepeatedSpCVKnndm
(sperrorest) Repeated spatial "tiles" resamplingmlr_resamplings_repeated_spcv_tiles ResamplingRepeatedSpCVTiles
(CAST) Repeated spatiotemporal "leave-location-and-time-out" resamplingmlr_resamplings_repeated_sptcv_cstf ResamplingRepeatedSptCVCstf
(blockCV) Spatial block resamplingmlr_resamplings_spcv_block ResamplingSpCVBlock
(blockCV) Spatial buffering resamplingmlr_resamplings_spcv_buffer ResamplingSpCVBuffer
(sperrorest) Coordinate-based k-means clusteringmlr_resamplings_spcv_coords ResamplingSpCVCoords
(sperrorest) Spatial "disc" resamplingmlr_resamplings_spcv_disc ResamplingSpCVDisc
(blockCV) "Environmental blocking" resamplingmlr_resamplings_spcv_env ResamplingSpCVEnv
(CAST) K-fold Nearest Neighbour Distance Matchingmlr_resamplings_spcv_knndm ResamplingSpCVKnndm
(sperrorest) Spatial "Tiles" resamplingmlr_resamplings_spcv_tiles ResamplingSpCVTiles
(CAST) Spatiotemporal "Leave-location-and-time-out" resamplingmlr_resamplings_sptcv_cstf ResamplingSptCVCstf
Cookfarm Profiles Regression Taskcookfarm_mlr3 mlr_tasks_cookfarm_mlr3
Diplodia Classification Taskdiplodia mlr_tasks_diplodia
Ecuador Classification Taskecuador mlr_tasks_ecuador
Create a Spatiotemporal Classification TaskTaskClassifST
Create a Spatiotemporal Regression TaskTaskRegrST