computeGradient: Compute the gradient for a single layer neural network.

View source: R/trainingfunctions.R

computeGradientR Documentation

Compute the gradient for a single layer neural network.

Description

Compute the gradient for a single layer neural network.

Usage

computeGradient(
  modelResults,
  prunedModels,
  minCutoff,
  maxCutoff,
  useCutoff = FALSE,
  weights = weights
)

Arguments

modelResults

An object of the ModelResults class.

prunedModels

The models that remain after pruning.

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 weights for the model


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