| Title: | Multi-Model Stacking Optimization and Continuous Regression Ensembles |
|---|---|
| Description: | Automated parallelized regression ensemble pipeline executing concurrent evaluations across 17 base machine learning architectures, 6 specialized stacking meta-learners, and 136 pairwise hybrid combinations. The package implements dynamic performance-weighted stacking blends alongside internal data dictionary profiling metrics. It provides iterative multicollinearity pruning via Variance Inflation Factors (VIF) and automated executive Quarto report generation. |
| Authors: | Russ Conte [aut, cre, cph] |
| Maintainer: | Russ Conte <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 1.2.1 |
| Built: | 2026-10-19 10:21:12 UTC |
| Source: | https://github.com/infinitecuriosity/numericensembles |
Concrete is the most important material in civil engineering. The concrete compressive strength is a highly nonlinear function of age and ingredients.
ConcreteConcrete
Concrete A data frame with 1030 rows and 9 columns:
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
quantitative – kg in a m3 mixture – Input Variable
Day (1~365) – Input Variable
quantitative – MPa – Output Variable
https://archive.ics.uci.edu/dataset/165/concrete+compressive+strength
Export Tables and High-Resolution Visualization Panels
ExportNumericResults(pipeline_object = NULL, export_directory = NULL)ExportNumericResults(pipeline_object = NULL, export_directory = NULL)
pipeline_object |
A trained |
export_directory |
Character path detailing target output folder destination. |
Invisible string path location where files were compiled.
This dataset contains detailed information about insurance customers, including their age, sex, body mass index (BMI), number of children, smoking status and region. Having access to such valuable insights allows analysts to get a better view into customer behaviour and the factors that contribute to their insurance charges.
InsuranceInsurance
Insurance A data frame with 1338 rows and 7 columns Credit to Bob Wakefield
The age of the customer. (Integer)
The number of children the customer has. (Integer)
Whether or not the customer is a smoker. (Boolean)
The region the customer lives in. (String)
The insurance charges for the customer. (Float)
https://www.kaggle.com/datasets/thedevastator/prediction-of-insurance-charges-using-age-gender
Launch Interactive Shiny Application Portal
LaunchNumericApp()LaunchNumericApp()
Activated browser session running the dashboard interface.
Load and Decompress Package Pipeline Footprints
load_pipeline(file_path)load_pipeline(file_path)
file_path |
Character path mapping to a serialized rds file. |
A deserialized numeric_pipeline object.
Orchestrates high-velocity multi-model exploration across continuous regression domains, managing automated data dictionary profiling, iterative collinearity pruning, model training, competitive stacking meta-learners, and advanced visual diagnostics matrices.
Numeric( dataset = NULL, target_col = NULL, facet_col = "", color_col = "", stratify_col = "", palette_style = c("standard", "viridis", "modern"), config = NumericEnsemblesConfig(), verbose = TRUE )Numeric( dataset = NULL, target_col = NULL, facet_col = "", color_col = "", stratify_col = "", palette_style = c("standard", "viridis", "modern"), config = NumericEnsemblesConfig(), verbose = TRUE )
dataset |
A data frame containing the predictors and target variable. |
target_col |
Character string specifying the name of the target continuous numeric column. |
facet_col |
Character string specifying an optional categorical column to facet EDA charts by. Default is "". |
color_col |
Character string specifying an optional column to color exploratory EDA charts by. Default is "". |
stratify_col |
Character string specifying an optional categorical column to anchor stratified sampling splits. Default is "". |
palette_style |
Character choice layout. Visual color scheme for plot vectors: "standard", "viridis", or "modern". |
config |
A pre-configured architecture configuration parameter matrix list from |
verbose |
Logical. If TRUE, logs operational pipeline milestones to console. Default is TRUE. |
An object of class numeric_pipeline containing complete metrics matrices, model instances, data dictionaries, and analytical plots.
Houses cross-validation fold structures, train-test split dimensions, multicollinearity VIF thresholds, and tuning grids to decouple hyperparameter states from core execution loops.
NumericEnsemblesConfig( cv_folds = 5, train_pct = 0.6, vif_threshold = 5, transform_steps = c("nzv", "medianImpute", "center", "scale", "YeoJohnson"), rf_grid = NULL, glmnet_grid = expand.grid(alpha = seq(0, 1, length = 5), lambda = seq(0.001, 0.2, length = 10)), svm_tune_length = 8, mars_tune_length = 5, pcr_tune_length = 10, tree_tune_length = 10, cooks_threshold = 999 )NumericEnsemblesConfig( cv_folds = 5, train_pct = 0.6, vif_threshold = 5, transform_steps = c("nzv", "medianImpute", "center", "scale", "YeoJohnson"), rf_grid = NULL, glmnet_grid = expand.grid(alpha = seq(0, 1, length = 5), lambda = seq(0.001, 0.2, length = 10)), svm_tune_length = 8, mars_tune_length = 5, pcr_tune_length = 10, tree_tune_length = 10, cooks_threshold = 999 )
cv_folds |
Integer. The number of cross-validation folds. Default is 5. |
train_pct |
Numeric. The training data proportion as a decimal between 0 and 1. Default is 0.60. |
vif_threshold |
Numeric. Variance Inflation Factor threshold for filtering multicollinear predictors. Default is 5. |
transform_steps |
Character vector. Preprocessing transforms to pass to caret. Default is c("nzv", "medianImpute", "center", "scale", "YeoJohnson"). |
rf_grid |
Optional custom tuning grid for Random Forest models. Default is NULL. |
glmnet_grid |
Custom tuning grid for Elastic Net models. |
svm_tune_length |
Integer. Tuning length parameter for SVM models. Default is 8. |
mars_tune_length |
Integer. Tuning length parameter for MARS models. Default is 5. |
pcr_tune_length |
Integer. Tuning length parameter for PCR/PLS models. Default is 10. |
tree_tune_length |
Integer. Tuning length parameter for tree-based models. Default is 10. |
cooks_threshold |
Numeric. Leverage cutoff multiplier relative to 4/n benchmark threshold. Values between 1-5 enforce pruning; 999 deactivates filter. Default is 999. |
A structured list containing isolated operational tuning parameters.
Run Fast Validation Regression Demo Suite
NumericEnsemblesDemo()NumericEnsemblesDemo()
An invisible trained numeric_pipeline object run over simulated macroeconomic metrics.
Fast-Execution Configuration Matrix for Regression Testing
NumericEnsemblesFastConfig()NumericEnsemblesFastConfig()
A fast-track parameter subset list optimized for rapid package verification checks.
Plot Numeric Pipeline Performance Metrics and Visual Diagnostics
## S3 method for class 'numeric_pipeline' plot(x, pace_output = TRUE, ...)## S3 method for class 'numeric_pipeline' plot(x, pace_output = TRUE, ...)
x |
A numeric_pipeline object generated by the Numeric() engine. |
pace_output |
Logical. If TRUE and session is interactive, paces chart rendering frames via devAskNewPage. Default is TRUE. |
... |
Additional arguments passed to underlying plot methods. |
Evaluates champion architectures against un-indexed datasets, appending row-level projection metrics and interval boundaries.
predict_production(object, newdata)predict_production(object, newdata)
object |
A trained |
newdata |
A data frame containing incoming raw manufacturing features. |
Production Prediction Wrapper
A data frame matching input dimensions appended with prediction vectors and confidence interval boundaries for the top 3 models.
Predict with Numeric Pipeline Framework
## S3 method for class 'numeric_pipeline' predict(object, newdata, model_name = "best", ...)## S3 method for class 'numeric_pipeline' predict(object, newdata, model_name = "best", ...)
object |
A numeric_pipeline object trained by the engine. |
newdata |
A data frame containing incoming new samples to score. |
model_name |
Character string specifying the target model from the leaderboard to score. Default is "best". |
... |
Additional arguments passed to underlying predict methods. |
A numeric vector of predictions.
Print Numeric Pipeline Summary Profiles Report
## S3 method for class 'numeric_pipeline' print(x, ...)## S3 method for class 'numeric_pipeline' print(x, ...)
x |
A numeric_pipeline object generated by the Numeric() engine. |
... |
Additional arguments passed to underlying print methods. |
Compile and Render Automated Executive Summary Report
RenderExecutiveReport(pipeline_object, output_directory = getwd())RenderExecutiveReport(pipeline_object, output_directory = getwd())
pipeline_object |
A trained |
output_directory |
Character path mapping where summary files are rendered. |
Invisible NULL.
Compress and Save Trained Pipeline Assets
save_pipeline(object, file_path)save_pipeline(object, file_path)
object |
A trained |
file_path |
Character path mapping where to save the binary output. |
Invisible NULL.