fastml: Guarded Resampling Workflows for Safer Automated Machine Learning in R

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Korkmaz, Selcuk, Goksuluk, Dincer, Karaismailoglu, Eda
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917401021382656
author Korkmaz, Selcuk
Goksuluk, Dincer
Karaismailoglu, Eda
author_facet Korkmaz, Selcuk
Goksuluk, Dincer
Karaismailoglu, Eda
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_05225
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle fastml: Guarded Resampling Workflows for Safer Automated Machine Learning in R
Korkmaz, Selcuk
Goksuluk, Dincer
Karaismailoglu, Eda
Computation
Machine Learning
Applications
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.
title fastml: Guarded Resampling Workflows for Safer Automated Machine Learning in R
topic Computation
Machine Learning
Applications
url https://arxiv.org/abs/2604.05225