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.


locClass documentation built on May 2, 2019, 5:21 p.m.