概要
This skill provides a comprehensive framework for Claude to execute sophisticated data splitting and resampling workflows in R. It covers essential techniques including V-fold cross-validation, bootstrapping, and stratified splitting, while also offering specialized solutions for complex data types like time series, grouped clusters, and spatial datasets. By leveraging best practices from the rsample and spatialsample packages, this skill ensures that machine learning models are validated accurately, hyperparameters are tuned without leakage, and performance estimates remain reliable across diverse data structures.