Liking cljdoc? Tell your friends :D

anglican.gradients


adaptable?clj/s

(adaptable? dist-type)

test whether gradients are implemented for a distribution type

test whether gradients are implemented for a distribution type
sourceraw docstring

digammaclj/s

(digamma x)

digamma function psi(x): derivative of gammaln(x), apparently bizarrely missing from all Clojure libraries. Not yet implemented for negative values of x. source: http://en.wikipedia.org/wiki/Digamma_function

digamma function psi(x): derivative of gammaln(x),
apparently bizarrely missing from all Clojure libraries.
Not yet implemented for negative values of x.
source: http://en.wikipedia.org/wiki/Digamma_function
sourceraw docstring

DistGradientclj/sprotocol

grad-logclj/s

(grad-log dist)

returns a function for the gradient of the log density.

returns a function for the gradient of the log density.

grad-stepclj/s

(grad-step dist grad rho)

updates distribution parameters by performing one gradient step.

updates distribution parameters by performing one gradient step.
source

implemented-gradientsclj/s

set of distribution types for which gradients are implemented

set of distribution types for which gradients are implemented
sourceraw docstring

positive-and-finite?clj/s

(positive-and-finite? x)

is the numeric value x finite? is it also strictly positive?

is the numeric value x finite? is it also strictly positive?
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close