View source: R/compositemodelfunctions.R
CompositePrediction | R Documentation |
Obtain a prediction from a composite model, given the pairs to include in the model.
CompositePrediction(
pairs,
modelResults,
minCutoff,
maxCutoff,
useCutoff = FALSE,
weights,
targets,
sources,
averaging = FALSE,
zeroOut = FALSE
)
pairs |
A list of pairs to include in the composite model. |
modelResults |
A ModelResults object. |
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 weight for each predictor, calculated using ComputeMetaFeatureWeights() |
targets |
Target analytes for all pairs |
sources |
Source analytes for all pairs |
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 final predicted value for each sample in the input data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.