pre1.0.7 package

Prediction Rule Ensembles

bsnullinteract

Compute bootstrapped null interaction prediction rule ensembles

caret_pre_model

Model set up for train function of package caret

coef.gpe

Coefficients for a General Prediction Ensemble (gpe)

coef.pre

Coefficients for the final prediction rule ensemble

corplot

Plot correlations between baselearners in a prediction rule ensemble (...

cvpre

Full k-fold cross validation of a prediction rule ensemble (pre)

explain

Explain predictions from final prediction rule ensemble

gpe

Derive a General Prediction Ensemble (gpe)

gpe_cv.glmnet

Default penalized trainer for gpe

gpe_rules_pre

Get rule learner for gpe which mimics behavior of pre

gpe_sample

Sampling Function Generator for gpe

gpe_trees

Learner Functions Generators for gpe

importance.pre

Calculate importances of baselearners and input variables in a predict...

interact

Calculate interaction statistics for variables in a prediction rule en...

maxdepth_sampler

Sampling function generator for specifying varying maximum tree depth ...

mi_mean

Compute the average dataset over imputed datasets.

mi_pre

Fit a prediction rule ensemble to multiply-imputed data (experimental)

pairplot

Create partial dependence plot for a pair of predictor variables in a ...

plot.pre

Plot method for class pre

pre

Derive a prediction rule ensemble

predict.gpe

Predicted values based on gpe ensemble

predict.pre

Predicted values based on final prediction rule ensemble

print.gpe

Print a General Prediction Ensemble (gpe)

print.pre

Print method for objects of class pre

prune_pre

Get the optimal lambda and gamma parameter values for an ensemble of g...

rare_level_sampler

Dealing with rare factor levels in fitting prediction rule ensembles.

rTerm

Wrapper Functions for terms in gpe

singleplot

Create partial dependence plot for a single variable in a prediction r...

summary.gpe

Summary method for a General Prediction Ensemble (gpe)

summary.pre

Summary method for objects of class pre

Derives prediction rule ensembles (PREs). Largely follows the procedure for deriving PREs as described in Friedman & Popescu (2008; <DOI:10.1214/07-AOAS148>), with adjustments and improvements. The main function pre() derives prediction rule ensembles consisting of rules and/or linear terms for continuous, binary, count, multinomial, and multivariate continuous responses. Function gpe() derives generalized prediction ensembles, consisting of rules, hinge and linear functions of the predictor variables.

  • Maintainer: Marjolein Fokkema
  • License: GPL-2 | GPL-3
  • Last published: 2024-01-12