nnetGradient: Calculate value of objective function and gradient for a...

Description Usage Arguments Value

View source: R/dannet.R

Description

Calculate value of objective function and gradient for a fitted neural network.

Usage

1
nnetGradient(object)

Arguments

object

Object inheriting from "nnet".

Value

Value of objective function of a fitted neural network. The attribute "gradient" contains the gradient vector.


schiffner/locClass documentation built on May 29, 2019, 3:39 p.m.