Liking cljdoc? Tell your friends :D

anglican.gradients


adaptable?clj

(adaptable? dist-type)

test whether gradients are implemented for a distribution type

test whether gradients are implemented for a distribution type
raw docstring

digammaclj

(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
raw docstring

DistGradientcljprotocol

grad-logclj

(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

(grad-step dist grad rho)

updates distribution parameters by performing one gradient step.

updates distribution parameters by performing one gradient step.

implemented-gradientsclj

set of distribution types for which gradients are implemented

set of distribution types for which gradients are implemented
raw docstring

positive-and-finite?clj

(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?
raw docstring

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

× close