This Computational Provenance Record documents the analytical computing environment, software dependencies, computational provenance, and bibliographic references associated with the RAISINS AutoML module. It is intended to support computational reproducibility and software transparency. Detailed methodology, and user guidance are provided separately in the official module documentation.
Any issues or updates required please comment here
None by default; user may exclude DeepLearning, StackedEnsemble, XGBoost
Cross-validation
Enabled by default with nfolds = 5 (user-adjustable 2–10) when no validation frame is supplied; forced to nfolds = 0 whenever a validation frame is present
Stopping metric
AUTO by default
Leaderboard sort metric
AUTO by default (resolves to AUC for binary classification, deviance for regression, mean per-class error for multiclass)
Search reproducibility
Fixed seed = 42
Model Performance
Metrics
(h2o.performance())
Regression models
RMSE, MSE, MAE, RMSLE, Mean Residual Deviance, R²
Classification models
AUC, AUCPR, LogLoss, and a full confusion matrix; binary models additionally report threshold-based scores (max_criteria_and_metric_scores)
Evaluation splits
Computed separately on Train, Validation (if present), and Test (if present); displayed digits default to 3, user-adjustable 0–4
5 R Code for Key Analytical Steps
The code blocks below demonstrate the exact computation behind each reported result using the mtcars dataset from the datasets package. The same two columns — hp (numeric) and cyl (categorical) — are carried through correlation, scaling, encoding, and binning, mirroring how a user selects one column and moves across the module’s Feature Engineering sections; the transformed frame then feeds directly into the H2O AutoML search on am (transmission type) as a binary target.
5.1 Numeric Correlation & Categorical Association
data(mtcars)mtcars$cyl <-factor(mtcars$cyl)mtcars$am <-factor(mtcars$am)## Numeric correlation (Pearson, pairwise-complete) --------------------------num_cols <-c("mpg", "disp", "hp", "wt", "qsec")M <-cor(mtcars[, num_cols], use ="pairwise.complete.obs", method ="pearson")p_mat <- corrplot::cor.mtest(mtcars[, num_cols], method ="pearson")$pcorrplot::corrplot(M, method ="circle", type ="full",p.mat = p_mat, sig.level =0.05, insig ="blank")## Categorical association (bias-corrected Cramer's V) -----------------------cramers_v <-function(x, y) { x <-as.factor(x); y <-as.factor(y) ok <-!(is.na(x) |is.na(y)); x <- x[ok]; y <- y[ok] tbl <-table(x, y) chi <-suppressWarnings(stats::chisq.test(tbl, correct =FALSE)$statistic) n <-sum(tbl); r <-nrow(tbl); k <-ncol(tbl) phi2 <-as.numeric(chi) / n phi2corr <-max(0, phi2 - (r -1) * (k -1) / (n -1)) rcorr <- r - (r -1)^2/ (n -1) kcorr <- k - (k -1)^2/ (n -1)sqrt(phi2corr /min(kcorr -1, rcorr -1))}cramers_v(mtcars$cyl, mtcars$am) # association between cylinder count and transmission
library(h2o)# Cluster is started once in global.R with these settingsh2o.init(nthreads =-1,max_mem_size ="3G",min_mem_size ="512m",ice_root =tempdir(),log_dir =tempdir(),startH2O =TRUE)# RAISINS writes the cleaned data.frame to a temporary CSV, then imports it# with h2o.importFile(path, na.strings = ""); as.h2o() is the local equivalent.mtcars_h2o <-as.h2o(mtcars)y <-"am"# dependent (target) variablex <-setdiff(c("mpg", "hp", "wt", "qsec", "cyl"), y) # independent (predictor) variablestrain_pct <-0.80# default: Training set percentagevalid_frac_of_remainder <-0.50# default: Validation as % of the held-out portionsplits <-h2o.splitFrame( mtcars_h2o,ratios =c(train_pct, (1- train_pct) * valid_frac_of_remainder),seed =42)train <-h2o.assign(splits[[1]], "raisins_train")valid <-h2o.assign(splits[[2]], "raisins_valid")test <-h2o.assign(splits[[3]], "raisins_test")
5.6 AutoML Model Search
aml <-h2o.automl(x = x,y = y,training_frame = train,validation_frame = valid,max_models =50, # default (Custom settings range: 15-100)max_runtime_secs =300, # default: 5 minutes (Custom settings range: 1-25 min)seed =42,exclude_algos =NULL, # user may exclude DeepLearning / StackedEnsemble / XGBoostnfolds =0, # forced to 0 whenever a validation_frame is suppliedstopping_metric ="AUTO",sort_metric ="AUTO"# AUTO -> AUC for this binary target)lb <-as.data.frame(aml@leaderboard) # leaderboard, ranked by sort_metricbest_model <-h2o.getModel(lb$model_id[1])
Explore the entire AutoML module in preview mode using our demo dataset. website. To submit suggestions or report a workflow issue, please use the discussion section below, or visit the official RAISINS website. or visit the official RAISINS
6 RAISINS Native Statistical Framework
RAISINS uses R for all its statistical computations. Every package used to generate major results is listed and demonstrated with examples, so results can be reproduced independently. These results are then organized and formatted on the RAISINS website along with visualisation to make them easier to use and interpret. RAISINS also has its own custom-built statistical tools for managing workflows, validating results, and generating reports. Details of these are not fully covered here, they’re shared with outside researchers only on request, and are subject to licensing terms.
7 Package References
R Core Team. (2025). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/
Fryda, T., LeDell, E., Gill, N., Aiello, S., Fu, A., Candel, A., Click, C., Kraljevic, T., Nykodym, T., Aboyoun, P., Kurka, M., Malohlava, M., Poirier, S., & Wong, W. (2023). h2o: R Interface for the ‘H2O’ Scalable Machine Learning Platform (R package version 3.44.0.3). https://CRAN.R-project.org/package=h2o
Wei, T., & Simko, V. (2024). corrplot: Visualization of a Correlation Matrix (R package version 0.95). https://github.com/taiyun/corrplot