fastml: Guarded Resampling Workflows for Safer Automated Machine Learning in R
Not on the map. Why?
Abstract (arXiv)
Preprocessing leakage arises when scaling, imputation, or other data-dependent transformations are estimated before resampling, inflating apparent performance while remaining hard to detect. We present fastml, an R package that provides a single-call interface for leakage-aware machine learning through guarded resampling, where preprocessing is re-estimated inside each resample and applied to the corresponding assessment data. The package supports grouped and time-ordered resampling, blocks high-risk configurations, audits recipes for external dependencies, and includes sandboxed execution and integrated model explanation. We evaluate fastml with a Monte Carlo simulation contrasting global and fold-local normalization, a usability comparison with tidymodels under matched specifications, and survival benchmarks across datasets of different sizes. The simulation demonstrates that global preprocessing substantially inflates apparent performance relative to guarded resampling. fastml matched held-out performance obtained with tidymodels while reducing workflow orchestration, and it supported consistent benchmarking of multiple survival model classes through a unified interface.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 45 references that are in the map. First posted on arXiv 6 Apr 2026.
Builds on
5 of 45 references.
References · 5
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2020Survival regression with accelerated failure time model in XGBoostcited by 37
- 2022Inflation of test accuracy due to data leakage in deep learning-based classification of OCT imagescited by 17
- 2013The RAppArmor Package: Enforcing Security Policies in R Using Dynamic Sandboxing on Linuxcited by 1
Built on by
Not cited yet.