skoro v0.0.0

Crates

skoro-normal

The normal distribution, on every space whose chart is global.

Depends on skoro-core.

skoro-normal is skoro’s normal distribution, a crate built on the core’s public interface alone. A Normal is a space, a mean and a scale; score adds the term that scores a quantity, the Gaussian log-density of its tangent at the mean less the chart’s log-volume, with a sampler that draws it exactly by the space’s own retraction, and binds the roles an estimator reads: the whitened residual, the mean, the tangent at the mean, the scale under the role of its form, the log-volume, and the root of the expected information. A Normal is a Distribution by that score, so the core’s sample makes a quantity and scores it by one in a single call. It takes every continuous space whose chart is global and whose volume is known, and refuses the others with the core’s own errors; on those, factor_at holds a measurement as a likelihood factor over data. On a curved type the scale is in the chart’s coordinates, and its documentation says what a large one does: past one radian the mean stops being a mode and the mass goes towards the chart’s cut, so “unknown” is said with skoro-uniform and not with a large scale.

The scale is given in four forms, a standard deviation, a vector of them, a covariance factor or a whitening, from quantities or from constants that the crate factors on the host; the composites that read it are defined once per form and dimension. Stacked builds the stacked tangent of a retirement’s blanket at constant anchors, and the Gaussian replacement on it, which binds its residual, mean and scale under the normal’s roles whether it is added as a factor or given to a retirement as its Replacement. Over the same stacked tangent, Stacked::improper builds an Improper, the improper Gaussian factor of any number of rows, a right-hand side, a linear part and a constant, which keeps what a retirement says about quantities it does not determine. It binds its residual, and its linear part under the log-volume role, which the crate’s roles describe as the varying part of a term’s remainder.

Reading order

The modules in an order that uses as little as possible before it is read, computed from the sources when the site was built. A dashed arc marks a module's use of one that comes later, with what it uses named beside it.

uses an earlier module uses a later module
The order in which to read skoro-normalnormal uses refuse: refuse()stacked uses scale: Scalenormal uses scale: Scaleimproper uses roles: LOG_VOLUME, RESIDUALnormal uses composites: normalizer(), root(), whiten()roles uses scale: Formnormal uses sample: NormalSamplesample uses scale: Formstacked uses roles: MEAN, RESIDUAL, scale()composites uses scale: Form, triangular()improper uses stacked: Binds, Stackednormal uses roles: INFORMATION_ROOT, LOG_VOLUME, MEAN, RESIDUAL, TANGENT, scale()sample uses composites: lower()scale uses refuse: refuse()stacked uses normal: Normal1refuse2scale3composites4sample5roles6normal7stacked8improper

Hover over or tap a module to see everything it uses and everything that uses it.

0 uses of a later module, naming 0 items: as few as any order allows.