Liking cljdoc? Tell your friends :D
Clojure only.

anglican.runtime

Runtime library

Runtime library
raw docstring

->bernoulli-distributionclj

(->bernoulli-distribution p dist)

Positional factory function for class anglican.runtime.bernoulli-distribution.

Positional factory function for class anglican.runtime.bernoulli-distribution.
sourceraw docstring

->beta-distributionclj

(->beta-distribution alpha beta dist15127)

Positional factory function for class anglican.runtime.beta-distribution.

Positional factory function for class anglican.runtime.beta-distribution.
sourceraw docstring

->binomial-distributionclj

(->binomial-distribution n p dist15160)

Positional factory function for class anglican.runtime.binomial-distribution.

Positional factory function for class anglican.runtime.binomial-distribution.
sourceraw docstring

->categorical-crp-distributionclj

(->categorical-crp-distribution counts alpha dist)

Positional factory function for class anglican.runtime.categorical-crp-distribution.

Positional factory function for class anglican.runtime.categorical-crp-distribution.
sourceraw docstring

->categorical-distributionclj

(->categorical-distribution categories values index dist)

Positional factory function for class anglican.runtime.categorical-distribution.

Positional factory function for class anglican.runtime.categorical-distribution.
sourceraw docstring

->categorical-dp-distributionclj

(->categorical-dp-distribution counts H alpha dist)

Positional factory function for class anglican.runtime.categorical-dp-distribution.

Positional factory function for class anglican.runtime.categorical-dp-distribution.
sourceraw docstring

->chi-squared-distributionclj

(->chi-squared-distribution nu gamma-dist)

Positional factory function for class anglican.runtime.chi-squared-distribution.

Positional factory function for class anglican.runtime.chi-squared-distribution.
sourceraw docstring

->dirichlet-discrete-processclj

(->dirichlet-discrete-process counts)

Positional factory function for class anglican.runtime.dirichlet-discrete-process.

Positional factory function for class anglican.runtime.dirichlet-discrete-process.
sourceraw docstring

->dirichlet-distributionclj

(->dirichlet-distribution alpha Z)

Positional factory function for class anglican.runtime.dirichlet-distribution.

Positional factory function for class anglican.runtime.dirichlet-distribution.
sourceraw docstring

->discrete-distributionclj

(->discrete-distribution weights total-weight dist)

Positional factory function for class anglican.runtime.discrete-distribution.

Positional factory function for class anglican.runtime.discrete-distribution.
sourceraw docstring

->exponential-distributionclj

(->exponential-distribution rate dist15345)

Positional factory function for class anglican.runtime.exponential-distribution.

Positional factory function for class anglican.runtime.exponential-distribution.
sourceraw docstring

->flip-distributionclj

(->flip-distribution p dist)

Positional factory function for class anglican.runtime.flip-distribution.

Positional factory function for class anglican.runtime.flip-distribution.
sourceraw docstring

->gamma-distributionclj

(->gamma-distribution shape rate dist15405)

Positional factory function for class anglican.runtime.gamma-distribution.

Positional factory function for class anglican.runtime.gamma-distribution.
sourceraw docstring

->multivariate-t-distributionclj

(->multivariate-t-distribution nu mu sigma dim mvn-dist chi-sq-dist)

Positional factory function for class anglican.runtime.multivariate-t-distribution.

Positional factory function for class anglican.runtime.multivariate-t-distribution.
sourceraw docstring

->mvn-distributionclj

(->mvn-distribution mean cov k Lcov unit-normal Z iLcov transform-sample)

Positional factory function for class anglican.runtime.mvn-distribution.

Positional factory function for class anglican.runtime.mvn-distribution.
sourceraw docstring

->mvn-niw-processclj

(->mvn-niw-process mu kappa nu psi n sum-x sum-x-sq)

Positional factory function for class anglican.runtime.mvn-niw-process.

Positional factory function for class anglican.runtime.mvn-niw-process.
sourceraw docstring

->normal-distributionclj

(->normal-distribution mean sd dist15467)

Positional factory function for class anglican.runtime.normal-distribution.

Positional factory function for class anglican.runtime.normal-distribution.
sourceraw docstring

->poisson-distributionclj

(->poisson-distribution lambda dist15500)

Positional factory function for class anglican.runtime.poisson-distribution.

Positional factory function for class anglican.runtime.poisson-distribution.
sourceraw docstring

->uniform-continuous-distributionclj

(->uniform-continuous-distribution min max dist15530)

Positional factory function for class anglican.runtime.uniform-continuous-distribution.

Positional factory function for class anglican.runtime.uniform-continuous-distribution.
sourceraw docstring

->uniform-discrete-distributionclj

(->uniform-discrete-distribution min max dist15563)

Positional factory function for class anglican.runtime.uniform-discrete-distribution.

Positional factory function for class anglican.runtime.uniform-discrete-distribution.
sourceraw docstring

->uniform-draw-distributionclj

(->uniform-draw-distribution items n-items dist)

Positional factory function for class anglican.runtime.uniform-draw-distribution.

Positional factory function for class anglican.runtime.uniform-draw-distribution.
sourceraw docstring

->wishart-distributionclj

(->wishart-distribution n
                        V
                        p
                        L
                        unit-normal
                        chi-squared-dists
                        Z
                        transform-sample)

Positional factory function for class anglican.runtime.wishart-distribution.

Positional factory function for class anglican.runtime.wishart-distribution.
sourceraw docstring

absclj

(abs x)
source

acosclj

(acos x)
source

asinclj

(asin x)
source

atanclj

(atan x)
source

bernoulliclj

(bernoulli p)

Bernoulli distribution

Bernoulli distribution
sourceraw docstring

betaclj

(beta alpha beta)

beta distribution (imported from apache)

beta distribution (imported from apache)
sourceraw docstring

binomialclj

(binomial n p)

binomial distribution (imported from apache)

binomial distribution (imported from apache)
sourceraw docstring

categoricalclj

(categorical categories)

categorical distribution, convenience wrapper around discrete distribution; accepts a list of categories --- pairs [value weight]

categorical distribution,
convenience wrapper around discrete distribution;
accepts a list of categories --- pairs [value weight]
sourceraw docstring

categorical-crpclj

(categorical-crp counts alpha)

categorical distribution extended by a random sample, for use with CRP

categorical distribution extended
by a random sample, for use with CRP
sourceraw docstring

categorical-dpclj

(categorical-dp counts H alpha)

categorical distribution extended by a random sample, for use with DP

categorical distribution extended
by a random sample, for use with DP
sourceraw docstring

cbrtclj

(cbrt x)
source

ceilclj

(ceil x)
source

chi-squaredclj

(chi-squared nu)

Chi-squared distribution. Equivalent to a gamma distribution with shape nu/2 and rate 1/2.

Chi-squared distribution. Equivalent to a gamma distribution
with shape nu/2 and rate 1/2.
sourceraw docstring

cosclj

(cos x)
source

coshclj

(cosh x)
source

covclj

(cov k xs ys)

computes covariance matrix of xs and ys under k

computes covariance matrix of xs and ys under k
sourceraw docstring

covarianceclj

(covariance x)
(covariance x dimension)

covariance of array slices along specified dimension

covariance of array slices along specified dimension
sourceraw docstring

CRPclj

(CRP alpha)
(CRP alpha counts)

Chinese Restaurant process

Chinese Restaurant process
sourceraw docstring

defdistcljmacro

(defdist name & args)

defines distribution

defines distribution
sourceraw docstring

defproccljmacro

(defproc name & args)

defines random process

defines random process
sourceraw docstring

dirichletclj

(dirichlet alpha)

Dirichlet distribution

Dirichlet distribution
sourceraw docstring

dirichlet-discreteclj

(dirichlet-discrete counts)

Dirichlet-discrete process.

Dirichlet-discrete process.
sourceraw docstring

discreteclj

(discrete weights)

discrete distribution, accepts unnormalized weights

discrete distribution, accepts unnormalized weights
sourceraw docstring

distributioncljprotocol

random distribution

random distribution

observe*clj

(observe* this value)

return the log (using Math/log) probability [density] of the value

return the log (using Math/log) probability [density] of the value

sample*clj

(sample* this)

draws a sample from the distribution

draws a sample from the distribution
sourceraw docstring

DPclj

(DP alpha H)
(DP alpha H counts)

Dirichlet process

Dirichlet process
sourceraw docstring

erfclj

(erf x)

error function

error function
sourceraw docstring

expclj

(exp x)
source

exponentialclj

(exponential rate)

exponential distribution (imported from apache)

exponential distribution (imported from apache)
sourceraw docstring

finite?clj

(finite? x)

is the numeric value x finite? returns false for Infinity, -Infinity, and NaN

is the numeric value x finite?
returns false for Infinity, -Infinity, and NaN
sourceraw docstring

flipclj

(flip p)

flip (Bernoulli boolean) distribution

flip (Bernoulli boolean) distribution
sourceraw docstring

floorclj

(floor x)
source

gammaclj

(gamma shape rate)

gamma distribution (imported from apache)

gamma distribution (imported from apache)
sourceraw docstring

gen-matrixclj

(gen-matrix f rows columns)

creates a matrix, elements of which are initialised using the filler procedure f

creates a matrix, elements of which are initialised
using the filler procedure f
sourceraw docstring

get-tagclj

(get-tag dist)
source

GPclj

(GP m$ k$)
(GP m$ k$ m k points)

Gaussian process

Gaussian process
sourceraw docstring

kurtosisclj

(kurtosis a)
(kurtosis a dimension)

standardized skew of array slices along specified dimension

standardized skew of array slices along specified dimension
sourceraw docstring

l2-normclj

(l2-norm a b)

calculates L2 norm (sum of squared differences) between a and b

calculates L2 norm (sum of squared differences) between a and b
sourceraw docstring

logclj

(log x)
source

log-gamma-fnclj

(log-gamma-fn x)

log Gamma function

log Gamma function
sourceraw docstring

log-mv-gamma-fnclj

(log-mv-gamma-fn p a)

multivariate Gamma function

multivariate Gamma function
sourceraw docstring

log-sum-expclj

(log-sum-exp log-x log-y)

computes (log (+ (exp x) (exp y))) safely

computes (log (+ (exp x) (exp y))) safely
sourceraw docstring

map->bernoulli-distributionclj

(map->bernoulli-distribution m__7585__auto__)

Factory function for class anglican.runtime.bernoulli-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.bernoulli-distribution, taking a map of keywords to field values.
sourceraw docstring

map->beta-distributionclj

(map->beta-distribution m__7585__auto__)

Factory function for class anglican.runtime.beta-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.beta-distribution, taking a map of keywords to field values.
sourceraw docstring

map->binomial-distributionclj

(map->binomial-distribution m__7585__auto__)

Factory function for class anglican.runtime.binomial-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.binomial-distribution, taking a map of keywords to field values.
sourceraw docstring

map->categorical-crp-distributionclj

(map->categorical-crp-distribution m__7585__auto__)

Factory function for class anglican.runtime.categorical-crp-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.categorical-crp-distribution, taking a map of keywords to field values.
sourceraw docstring

map->categorical-distributionclj

(map->categorical-distribution m__7585__auto__)

Factory function for class anglican.runtime.categorical-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.categorical-distribution, taking a map of keywords to field values.
sourceraw docstring

map->categorical-dp-distributionclj

(map->categorical-dp-distribution m__7585__auto__)

Factory function for class anglican.runtime.categorical-dp-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.categorical-dp-distribution, taking a map of keywords to field values.
sourceraw docstring

map->chi-squared-distributionclj

(map->chi-squared-distribution m__7585__auto__)

Factory function for class anglican.runtime.chi-squared-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.chi-squared-distribution, taking a map of keywords to field values.
sourceraw docstring

map->dirichlet-discrete-processclj

(map->dirichlet-discrete-process m__7585__auto__)

Factory function for class anglican.runtime.dirichlet-discrete-process, taking a map of keywords to field values.

Factory function for class anglican.runtime.dirichlet-discrete-process, taking a map of keywords to field values.
sourceraw docstring

map->dirichlet-distributionclj

(map->dirichlet-distribution m__7585__auto__)

Factory function for class anglican.runtime.dirichlet-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.dirichlet-distribution, taking a map of keywords to field values.
sourceraw docstring

map->discrete-distributionclj

(map->discrete-distribution m__7585__auto__)

Factory function for class anglican.runtime.discrete-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.discrete-distribution, taking a map of keywords to field values.
sourceraw docstring

map->exponential-distributionclj

(map->exponential-distribution m__7585__auto__)

Factory function for class anglican.runtime.exponential-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.exponential-distribution, taking a map of keywords to field values.
sourceraw docstring

map->flip-distributionclj

(map->flip-distribution m__7585__auto__)

Factory function for class anglican.runtime.flip-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.flip-distribution, taking a map of keywords to field values.
sourceraw docstring

map->gamma-distributionclj

(map->gamma-distribution m__7585__auto__)

Factory function for class anglican.runtime.gamma-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.gamma-distribution, taking a map of keywords to field values.
sourceraw docstring

map->multivariate-t-distributionclj

(map->multivariate-t-distribution m__7585__auto__)

Factory function for class anglican.runtime.multivariate-t-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.multivariate-t-distribution, taking a map of keywords to field values.
sourceraw docstring

map->mvn-distributionclj

(map->mvn-distribution m__7585__auto__)

Factory function for class anglican.runtime.mvn-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.mvn-distribution, taking a map of keywords to field values.
sourceraw docstring

map->mvn-niw-processclj

(map->mvn-niw-process m__7585__auto__)

Factory function for class anglican.runtime.mvn-niw-process, taking a map of keywords to field values.

Factory function for class anglican.runtime.mvn-niw-process, taking a map of keywords to field values.
sourceraw docstring

map->normal-distributionclj

(map->normal-distribution m__7585__auto__)

Factory function for class anglican.runtime.normal-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.normal-distribution, taking a map of keywords to field values.
sourceraw docstring

map->poisson-distributionclj

(map->poisson-distribution m__7585__auto__)

Factory function for class anglican.runtime.poisson-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.poisson-distribution, taking a map of keywords to field values.
sourceraw docstring

map->uniform-continuous-distributionclj

(map->uniform-continuous-distribution m__7585__auto__)

Factory function for class anglican.runtime.uniform-continuous-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.uniform-continuous-distribution, taking a map of keywords to field values.
sourceraw docstring

map->uniform-discrete-distributionclj

(map->uniform-discrete-distribution m__7585__auto__)

Factory function for class anglican.runtime.uniform-discrete-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.uniform-discrete-distribution, taking a map of keywords to field values.
sourceraw docstring

map->uniform-draw-distributionclj

(map->uniform-draw-distribution m__7585__auto__)

Factory function for class anglican.runtime.uniform-draw-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.uniform-draw-distribution, taking a map of keywords to field values.
sourceraw docstring

map->wishart-distributionclj

(map->wishart-distribution m__7585__auto__)

Factory function for class anglican.runtime.wishart-distribution, taking a map of keywords to field values.

Factory function for class anglican.runtime.wishart-distribution, taking a map of keywords to field values.
sourceraw docstring

meanclj

(mean a)
(mean a dimension)

mean of array slices along specified dimension

mean of array slices along specified dimension
sourceraw docstring

multivariate-distributioncljprotocol

additional methods for multivariate distributions

additional methods for multivariate distributions

transform-sampleclj

(transform-sample this samples)

accepts a vector of random values and generates a sample from the multivariate distribution

accepts a vector of random values and generates
a sample from the multivariate distribution
sourceraw docstring

multivariate-tclj

(multivariate-t nu mu sigma)

Multivariate T-distribution.

Multivariate T-distribution.
sourceraw docstring

mvnclj

(mvn mean cov)

multivariate normal

multivariate normal
sourceraw docstring

mvn-niwclj

(mvn-niw mu kappa nu psi)
(mvn-niw mu kappa nu psi n sum-x sum-x-sq)

Multivariate normal with unknown mean and covariance matrix. Parameterized using a normal inverse-Wishart.

Multivariate normal with unknown mean and covariance
matrix. Parameterized using a normal inverse-Wishart.
sourceraw docstring

normalclj

(normal mean sd)

normal distribution (imported from apache)

normal distribution (imported from apache)
sourceraw docstring

poissonclj

(poisson lambda)

poisson distribution (imported from apache)

poisson distribution (imported from apache)
sourceraw docstring

powclj

(pow x y)
source

powerclj

(power x n)

computes x^n for integer powers n by multiplication. vectorizes and preserves input types, at the expense of being slower than pow.

computes x^n for integer powers n by multiplication. vectorizes
and preserves input types, at the expense of being slower than pow.
sourceraw docstring

random-processcljprotocol

random process

random process

absorbclj

(absorb this sample)

absorbs the sample and returns a new process

absorbs the sample and returns a new process

produceclj

(produce this)

produces a static random source

produces a static random source
sourceraw docstring

rintclj

(rint x)
source

RNGclj

random number generator; used by Apache Commons Math distribution objects

random number generator;
used by Apache Commons Math distribution objects
sourceraw docstring

roundclj

(round x)
source

signumclj

(signum x)
source

sinclj

(sin x)
source

sinhclj

(sinh x)
source

skewclj

(skew a)
(skew a dimension)

standardized skew of array slices along specified dimension

standardized skew of array slices along specified dimension
sourceraw docstring

sqrtclj

(sqrt x)
source

stdclj

(std a)
(std a dimension)

standard deviation (sqrt of variance) of array slices along specified dimension

standard deviation (sqrt of variance) of array slices
along specified dimension
sourceraw docstring

sumclj

(sum a)
(sum a dimension)

sums array slices along specified dimension

sums array slices along specified dimension
sourceraw docstring

tagclj

(tag id dist)
source

tanclj

(tan x)
source

tanhclj

(tanh x)
source

uniform-continuousclj

(uniform-continuous min max)

uniform-continuous distribution (imported from apache)

uniform-continuous distribution (imported from apache)
sourceraw docstring

uniform-discreteclj

(uniform-discrete min max)

uniform-discrete distribution (imported from apache)

uniform-discrete distribution (imported from apache)
sourceraw docstring

uniform-drawclj

(uniform-draw items)

Uniformly take a value from a vector

Uniformly take a value from a vector
sourceraw docstring

varianceclj

(variance a)
(variance a dimension)

variance of array slices along specified dimension

variance of array slices along specified dimension
sourceraw docstring

wishartclj

(wishart n V)

Wishart distribution

Wishart distribution
sourceraw docstring

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

× close