Learn R Programming

EnsembleBase (version 1.0.4)

Extensible Package for Parallel, Batch Training of Base Learners for Ensemble Modeling

Description

Extensible S4 classes and methods for batch training of regression and classification algorithms such as Random Forest, Gradient Boosting Machine, Neural Network, Support Vector Machines, K-Nearest Neighbors, Penalized Regression (L1/L2), and Bayesian Additive Regression Trees. These algorithms constitute a set of 'base learners', which can subsequently be combined together to form ensemble predictions. This package provides cross-validation wrappers to allow for downstream application of ensemble integration techniques, including best-error selection. All base learner estimation objects are retained, allowing for repeated prediction calls without the need for re-training. For large problems, an option is provided to save estimation objects to disk, along with prediction methods that utilize these objects. This allows users to train and predict with large ensembles of base learners without being constrained by system RAM.

Copy Link

Version

Install

install.packages('EnsembleBase')

Monthly Downloads

300

Version

1.0.4

License

GPL (>= 2)

Maintainer

Alireza Mahani

Last Published

January 9th, 2025

Functions in EnsembleBase (1.0.4)

Regression.CV.Batch.Fit

CV Batch Training and Diagnostics of Regression Base Learners
Regression.Batch.Fit

Batch Training, Prediction and Diagnostics of Regression Base Learners
RegressionSelectPred-class

Class "RegressionSelectPred"
Utility Functions

Utility Functions in EnsembleBase Package
validate-methods

~~ Methods for Function validate in Package EnsembleBase ~~
ALL.Regression.FitObj-class

Classes "KNN.Regression.FitObj", "NNET.Regression.FitObj", "RF.Regression.FitObj", "SVM.Regression.FitObj", "GBM.Regression.FitObj", "PENREG.Regression.FitObj", "BART.Regression.FitObj"
Regression.CV.Fit

Cross-Validated Training and Prediction of Regression Base Learners
make.configs

Helper Functions for Manipulating Base Learner Configurations
Instance-class

Classes "Instance" and "Instance.List"
BaseLearner.Fit-methods

Generic S4 Method for Fitting Base Learners
servo

Servo Data Set
Regression.Integrator.Fit-methods

Generic Integrator Methods in Package EnsembleBase
BaseLearner.Batch.FitObj-class

Classes "BaseLearner.Batch.FitObj" and "Regression.Batch.FitObj"
BaseLearner.CV.Batch.FitObj-class

Classes "BaseLearner.CV.Batch.FitObj" and "Regression.CV.Batch.FitObj"
OptionalInteger-class

Class "OptionalInteger"
BaseLearner.CV.FitObj-class

Classes "BaseLearner.CV.FitObj" and "Regression.CV.FitObj"
RegressionEstObj-class

Class "RegressionEstObj"
BaseLearner.Config-class

Classes "BaseLearner.Config", "Regression.Config"
Regression.Integrator.Config-class

Classes "Regression.Integrator.Config", "Regression.Select.Config", "Regression.Integrator.FitObj", "Regression.Select.FitObj"
BaseLearner.FitObj-class

Classes "BaseLearner.FitObj" and "Regression.FitObj"
ALL.Regression.Config-class

Classes "KNN.Regression.Config", "NNET.Regression.Config", "RF.Regression.Config", "SVM.Regression.Config", "GBM.Regression.Config", "PENREG.Regression.Config", "BART.Regression.Config"