GradCheck

scalation.modeling.autograd.GradCheck
object GradCheck

The GradCheck object provides methods the check the agreement between numerically computed gradient those computed using Automatic Differentiation (AD).

Attributes

See also

calculus.Differential

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GradCheck.type

Members list

Value members

Concrete methods

def gradCheck(param: Variabl, loss: () => Variabl, atol: Double = ..., rtol: Double = ..., maxMismatches: Int = ..., quiet: Boolean = ..., debug: Boolean = ...): Boolean

Check the gradient for all given variable.

Check the gradient for all given variable.

Attributes

def gradCheckAll(params: Seq[Variabl], loss: () => Variabl, atol: Double = ..., rtol: Double = ..., maxMismatches: Int = ..., quiet: Boolean = ..., debug: Boolean = ...): Boolean

Check the gradients for all the variables.

Check the gradients for all the variables.

Attributes