Spatial and spatiotemporal machine-learning models require a suitable framework for their model assessment, model selection, and hyperparameter tuning, in order to avoid error estimation bias and over-fitting. This contribution reviews the state-of-the-art in spatial and spatiotemporal cross-validation, and introduces the {R} package {mlr3spatiotempcv} as an extension package of the machine-learning framework {mlr3}. Currently various {R} packages implementing different spatiotemporal partitioning strategies exist: {blockCV}, {CAST}, {skmeans} and {sperrorest}. The goal of {mlr3spatiotempcv} is to gather the available spatiotemporal resampling methods in {R} and make them available to users through a simple and common interface. This is made possible by integrating the package directly into the {mlr3} machine-learning framework, which already has support for generic non-spatiotemporal resampling methods such as random partitioning. One advantage is the use of a consistent nomenclature in an overarching machine-learning toolkit instead of a varying package-specific syntax, making it easier for users to choose from a variety of spatiotemporal resampling methods. This package avoids giving recommendations which method to use in practice as this decision depends on the predictive task at hand, the autocorrelation within the data, and the spatial structure of the sampling design or geographic objects being studied.
翻译:空间和空间时空机学习模型需要一个适合模型评估、模型选择和超参数调整的框架,以避免错误估计偏差和过度配置。 此贡献会审查空间和空间时空交叉校准方面的最新技术, 并引入 {R} 软件包 {mlr3spatotempcv} 作为机器学习框架 {mlr3} 的扩展包。 目前存在各种执行不同时空分配战略的 {R} 软件包 : {bockCV}, {CAST}, {skmeys} 和{sperroest} 。 贡献会审查空间和空间时空交叉校验交叉校准的状态。 {ml3spatotempcv} 的目标是在{R} 中收集可用的时空再版套件包 {ml3spatototempcv}, 通过一个简单和通用的界面向用户提供。 通过将软件包直接整合到 {mlr3} 机器学习框架, 它已经支持通用的不值得忍受的物体。