Runtime library
Runtime library
(->bernoulli-distribution p dist)
Positional factory function for class anglican.runtime.bernoulli-distribution.
Positional factory function for class anglican.runtime.bernoulli-distribution.
(->beta-distribution alpha beta dist15127)
Positional factory function for class anglican.runtime.beta-distribution.
Positional factory function for class anglican.runtime.beta-distribution.
(->binomial-distribution n p dist15160)
Positional factory function for class anglican.runtime.binomial-distribution.
Positional factory function for class anglican.runtime.binomial-distribution.
(->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.
(->categorical-distribution categories values index dist)
Positional factory function for class anglican.runtime.categorical-distribution.
Positional factory function for class anglican.runtime.categorical-distribution.
(->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.
(->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.
(->dirichlet-discrete-process counts)
Positional factory function for class anglican.runtime.dirichlet-discrete-process.
Positional factory function for class anglican.runtime.dirichlet-discrete-process.
(->dirichlet-distribution alpha Z)
Positional factory function for class anglican.runtime.dirichlet-distribution.
Positional factory function for class anglican.runtime.dirichlet-distribution.
(->discrete-distribution weights total-weight dist)
Positional factory function for class anglican.runtime.discrete-distribution.
Positional factory function for class anglican.runtime.discrete-distribution.
(->exponential-distribution rate dist15345)
Positional factory function for class anglican.runtime.exponential-distribution.
Positional factory function for class anglican.runtime.exponential-distribution.
(->flip-distribution p dist)
Positional factory function for class anglican.runtime.flip-distribution.
Positional factory function for class anglican.runtime.flip-distribution.
(->gamma-distribution shape rate dist15405)
Positional factory function for class anglican.runtime.gamma-distribution.
Positional factory function for class anglican.runtime.gamma-distribution.
(->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.
(->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.
(->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.
(->normal-distribution mean sd dist15467)
Positional factory function for class anglican.runtime.normal-distribution.
Positional factory function for class anglican.runtime.normal-distribution.
(->poisson-distribution lambda dist15500)
Positional factory function for class anglican.runtime.poisson-distribution.
Positional factory function for class anglican.runtime.poisson-distribution.
(->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.
(->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.
(->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.
(->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.
(beta alpha beta)
beta distribution (imported from apache)
beta distribution (imported from apache)
(binomial n p)
binomial distribution (imported from apache)
binomial distribution (imported from apache)
(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]
(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
(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
(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.
(cov k xs ys)
computes covariance matrix of xs and ys under k
computes covariance matrix of xs and ys under k
(covariance x)
(covariance x dimension)
covariance of array slices along specified dimension
covariance of array slices along specified dimension
(CRP alpha)
(CRP alpha counts)
Chinese Restaurant process
Chinese Restaurant process
(defproc name & args)
defines random process
defines random process
(dirichlet-discrete counts)
Dirichlet-discrete process.
Dirichlet-discrete process.
(discrete weights)
discrete distribution, accepts unnormalized weights
discrete distribution, accepts unnormalized weights
random distribution
random distribution
(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* this)
draws a sample from the distribution
draws a sample from the distribution
(exponential rate)
exponential distribution (imported from apache)
exponential distribution (imported from apache)
(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
(flip p)
flip (Bernoulli boolean) distribution
flip (Bernoulli boolean) distribution
(gamma shape rate)
gamma distribution (imported from apache)
gamma distribution (imported from apache)
(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
(kurtosis a)
(kurtosis a dimension)
standardized skew of array slices along specified dimension
standardized skew of array slices along specified dimension
(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
(log-mv-gamma-fn p a)
multivariate Gamma function
multivariate Gamma function
(log-sum-exp log-x log-y)
computes (log (+ (exp x) (exp y))) safely
computes (log (+ (exp x) (exp y))) safely
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(mean a)
(mean a dimension)
mean of array slices along specified dimension
mean of array slices along specified dimension
additional methods for multivariate distributions
additional methods for multivariate distributions
(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
(multivariate-t nu mu sigma)
Multivariate T-distribution.
Multivariate T-distribution.
(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.
(normal mean sd)
normal distribution (imported from apache)
normal distribution (imported from apache)
(poisson lambda)
poisson distribution (imported from apache)
poisson distribution (imported from apache)
(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.
random process
random process
(absorb this sample)
absorbs the sample and returns a new process
absorbs the sample and returns a new process
(produce this)
produces a static random source
produces a static random source
random number generator; used by Apache Commons Math distribution objects
random number generator; used by Apache Commons Math distribution objects
(skew a)
(skew a dimension)
standardized skew of array slices along specified dimension
standardized skew of array slices along specified dimension
(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
(sum a)
(sum a dimension)
sums array slices along specified dimension
sums array slices along specified dimension
(uniform-continuous min max)
uniform-continuous distribution (imported from apache)
uniform-continuous distribution (imported from apache)
(uniform-discrete min max)
uniform-discrete distribution (imported from apache)
uniform-discrete distribution (imported from apache)
(uniform-draw items)
Uniformly take a value from a vector
Uniformly take a value from a vector
(variance a)
(variance a dimension)
variance of array slices along specified dimension
variance of array slices along specified dimension
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close