View source: R/trainingfunctions.R
computeGradient | R Documentation |
Compute the gradient for a single layer neural network.
computeGradient(
modelResults,
prunedModels,
minCutoff,
maxCutoff,
useCutoff = FALSE,
weights = weights
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.