package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

Uniform distribtion
module Uniform : sig ... end
Gaussian distribtion
module Gaussian : sig ... end
Exponential distribtion
module Exponential : sig ... end
Poisson distribtion
module Poisson : sig ... end
Gamma distribtion
module Gamma : sig ... end
Beta distribtion
module Beta : sig ... end
Chi2 distribtion
module Chi2 : sig ... end
F distribtion
module F : sig ... end
Cauchy distribtion
module Cauchy : sig ... end
Lomax distribtion
module Lomax : sig ... end
Weibull distribtion
module Weibull : sig ... end
Laplace distribtion
module Laplace : sig ... end
Gumbel1 distribtion
module Gumbel1 : sig ... end
Gumbel2 distribtion
module Gumbel2 : sig ... end
Logistic distribtion
module Logistic : sig ... end
Lognormal distribtion
module Lognormal : sig ... end
Rayleigh distribtion
module Rayleigh : sig ... end
Type definition
type dist =
  1. | Uniform of Uniform.t
  2. | Gaussian of Gaussian.t
  3. | Exponential of Exponential.t
  4. | Gamma of Gamma.t
  5. | Beta of Beta.t
  6. | Chi2 of Chi2.t
  7. | F of F.t
  8. | Cauchy of Cauchy.t
  9. | Lomax of Lomax.t
  10. | Weibull of Weibull.t
  11. | Laplace of Laplace.t
  12. | Gumbel1 of Gumbel1.t
  13. | Gumbel2 of Gumbel2.t
  14. | Logistic of Logistic.t
  15. | Lognormal of Lognormal.t
  16. | Rayleigh of Rayleigh.t
    (*

    Type definition of various distribtions

    *)
Core functions
val sample : dist -> int -> A.arr

Sample a given distribution of the given parameters.

val prob : dist -> A.arr -> A.arr

Probability density/mass function of a given distribtion.

val log_prob : dist -> A.arr -> A.arr

logarithmic probability density/mass function of a given distribtion.

val cdf : dist -> A.arr -> A.arr

Cumulative density/mass function of the distribution.

val logcdf : dist -> A.arr -> A.arr

Logarithm of the cumulative density/mass function of the distribution.