DoPrediction: Predict Y given current weights.

View source: R/trainingfunctions.R

DoPredictionR Documentation

Predict Y given current weights.

Description

Predict Y given current weights.

Usage

DoPrediction(
  modelResults,
  prunedModels,
  minCutoff = minCutoff,
  maxCutoff = maxCutoff,
  useCutoff = FALSE,
  weights,
  averaging = FALSE
)

Arguments

modelResults

An object of the ModelResults class.

prunedModels

The models that remain after pruning. There should only be one model at the end.

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

Current metafeature weights.

averaging

If TRUE, then averaging is used to combine predictors rather than retaining the same functional form for both the input and the output.


ncats/MultiOmicsGraphPrediction documentation built on Aug. 23, 2023, 9:19 a.m.