breeze.stats.distributions
Type members
Classlikes
A Bernoulli distribution represents a distribution over weighted coin flips
A Bernoulli distribution represents a distribution over weighted coin flips
- Value Params
- p
the probability of true
- Companion
- object
- Companion
- class
The Beta distribution, which is the conjugate prior for the Bernoulli distribution
The Beta distribution, which is the conjugate prior for the Bernoulli distribution
- Value Params
- a
the number of pseudo-observations for true
- b
the number of pseudo-observations for false
- Companion
- object
- Companion
- class
A binomial distribution returns how many coin flips out of n are heads, where numYes is the probability of any one coin being heads.
A binomial distribution returns how many coin flips out of n are heads, where numYes is the probability of any one coin being heads.
- Value Params
- n
is the number of coin flips
- p
the probability of any one being true
The Cauchy-distribution
The Cauchy-distribution
- Companion
- object
Chi-Squared distribution with k degrees of freedom.
Chi-Squared distribution with k degrees of freedom.
- Companion
- object
- Companion
- class
Represents a continuous Distribution. Why T? just in case.
Represents a continuous Distribution. Why T? just in case.
Represents an unnormalized probability distribution.
Represents an unnormalized probability distribution.
Represents a Dirichlet distribution, the conjugate prior to the multinomial.
Represents a Dirichlet distribution, the conjugate prior to the multinomial.
- Companion
- object
Provides several defaults for Dirichlets, one for Arrays and one for Counters.
Provides several defaults for Dirichlets, one for Arrays and one for Counters.
- Companion
- class
- Companion
- object
- Companion
- class
The F-distribution - ratio of two scaled chi^2 variables
The F-distribution - ratio of two scaled chi^2 variables
- Companion
- object
Represents a Gamma distribution. E[X] = shape * scale
Represents a Gamma distribution. E[X] = shape * scale
- Companion
- object
- Companion
- class
Represents a Gaussian distribution over a single real variable.
Represents a Gaussian distribution over a single real variable.
- Companion
- object
- Companion
- class
The Geometric distribution calculates the number of trials until the first success, which happens with probability p.
The Geometric distribution calculates the number of trials until the first success, which happens with probability p.
- Companion
- object
Trait representing conjugate priors. See Dirichlet for an example.
Trait representing conjugate priors. See Dirichlet for an example.
The Hypergeometric-distribution - ratio of two scaled chi^2 variables
The Hypergeometric-distribution - ratio of two scaled chi^2 variables
- Companion
- object
http://en.wikipedia.org/wiki/Laplace_distribution
The Levy-distribution - ratio of two scaled chi^2 variables
The Levy-distribution - ratio of two scaled chi^2 variables
- Companion
- object
A log normal distribution is distributed such that log X ~ Normal(\mu, \sigma)
A log normal distribution is distributed such that log X ~ Normal(\mu, \sigma)
- Companion
- object
- Companion
- class
The Logarithmic distribution
The Logarithmic distribution
Interface for distributions that can report on some of their moments
Interface for distributions that can report on some of their moments
Represents a Multinomial distribution over elements. You can make a distribution over any breeze.linalg.QuasiTensor, which includes DenseVectors and Counters.
Represents a Multinomial distribution over elements. You can make a distribution over any breeze.linalg.QuasiTensor, which includes DenseVectors and Counters.
TODO: I should probably rename this to Discrete or something, since it only handles one draw.
- Companion
- object
Provides routines to create Multinomials
Provides routines to create Multinomials
- Companion
- class
Represents a Gaussian distribution over a single real variable.
Represents a Gaussian distribution over a single real variable.
Negative Binomial Distribution
Negative Binomial Distribution
- Value Params
- p
prob of success
- r
number of failures until stop
http://en.wikipedia.org/wiki/Laplace_distribution
Represents a Poisson random variable.
Represents a Poisson random variable.
- Companion
- object
Represents a Polya distribution, a.k.a Dirichlet compound Multinomial distribution see http://en.wikipedia.org/wiki/Multivariate_Polya_distribution
Represents a Polya distribution, a.k.a Dirichlet compound Multinomial distribution see http://en.wikipedia.org/wiki/Multivariate_Polya_distribution
- Companion
- object
A trait for monadic distributions. Provides support for use in for-comprehensions
A trait for monadic distributions. Provides support for use in for-comprehensions
- Companion
- object
Provides a number of random generators, with random seed set to some function of system time and identity hashcode of some object
Provides a number of random generators, with random seed set to some function of system time and identity hashcode of some object
- Companion
- class
Provides standard combinators and such to use to compose new Rands.
Provides standard combinators and such to use to compose new Rands.
- Companion
- object
Implements Student's T distribution http://en.wikipedia.org/wiki/Student's_t-distribution
Implements Student's T distribution http://en.wikipedia.org/wiki/Student's_t-distribution
- Companion
- object
An Apache-compatible RandomGenerator that creates a new RandomGenerator per thread. The thunk should be thread-safe, using atomics or something.
An Apache-compatible RandomGenerator that creates a new RandomGenerator per thread. The thunk should be thread-safe, using atomics or something.
The Triangular-distribution - ratio of two scaled chi^2 variables
The Triangular-distribution - ratio of two scaled chi^2 variables
- Companion
- object
- Companion
- class
- Companion
- object
The Weibull-distribution - ratio of two scaled chi^2 variables
The Weibull-distribution - ratio of two scaled chi^2 variables
- Companion
- object
- Companion
- class
Represents a Von Mises distribution, which is a distribution over angles.
Represents a Von Mises distribution, which is a distribution over angles.
- Value Params
- k
is the concentration, which is like 1/gaussian variance
- mu
is the mean of the distribution, ~ gaussian mean
- Companion
- object
Also known as the inverse Gaussian Distribution
Also known as the inverse Gaussian Distribution
The Weibull-distribution - ratio of two scaled chi^2 variables
The Weibull-distribution - ratio of two scaled chi^2 variables
- Companion
- object