View source: R/compositemodelfunctions.R
PrunePredictors | R Documentation |
Given multiple composite predictors, prune the predictors that are not needed.
PrunePredictors(
compositeSubgraphs,
previousModels,
modelResults,
verbose = FALSE,
makePlots = FALSE,
pruningMethod = "error.t.test",
tolerance = 1e-05,
modelRetention = "stringent",
minCutoff,
maxCutoff,
useCutoff = FALSE,
weights,
individualPerformance,
layerNumber,
pruningTechnique = "backward.stepwise",
averaging = averaging,
zeroOut = FALSE
)
compositeSubgraphs |
A list of pairs to include in the composite model. |
previousModels |
A list of the previous models that were consolidated. |
modelResults |
A ModelResults object. |
verbose |
Whether or not to print out each step. |
makePlots |
Whether or not to plot the pruned model at each step. |
pruningMethod |
The method to use for pruning. Right now, only "error.t.test" is valid. |
tolerance |
Tolerance factor when computing equality of two numeric values. |
modelRetention |
Strategy for model retention. "stringent" (the default) retains only models that improve the prediction score. "lenient" also retains models that neither improve nor reduce the prediction score. |
minCutoff |
Mininum cutoff for the prediction. |
maxCutoff |
Maximum cutoff for the prediction. |
useCutoff |
Whether or not to use the cutoff for prediction. Default is FALSE. |
weights |
The weights for each predictor, calculated using ComputeMetaFeatureWeights() |
individualPerformance |
The score (using the pruning method) for each individual component of the model. |
layerNumber |
Number of layer in the model. |
pruningTechnique |
Pruning technique to use. Possible methods are "backward.stepwise", "forward.stepwise", "individual.performance", "exhaustive", and "both". |
averaging |
If TRUE, then averaging is used to combine predictors rather than retaining the same functional form for both the input and the output. |
zeroOut |
This parameter zeros out predictors outside of the allowed range. |
A list of sets, where each set is a neighborhood of nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.