Query

it.grypho.scala.leonardo.probability.Query
See theQuery companion object
enum Query

What a _DistributionQuery asks of a distribution.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Cdf extends Query

cdf(d, x)P(X ≤ x).

cdf(d, x)P(X ≤ x).

Attributes

case Pdf extends Query

pdf(d, x) — density or mass at a point.

pdf(d, x) — density or mass at a point.

Attributes

case Prob extends Query

prob(d, lo, hi)P(lo ≤ X ≤ hi).

prob(d, lo, hi)P(lo ≤ X ≤ hi).

Attributes

case ProbOf extends Query

prob(pred) — the probability that a predicate over a random variable holds.

prob(pred) — the probability that a predicate over a random variable holds.

Attributes

case Quantile extends Query

quantile(d, p) — the inverse cdf.

quantile(d, p) — the inverse cdf.

Attributes