Reference measures and chart volumes of spaces
Every continuous space of the core now has a reference measure, given through the log-volume of its retraction's chart, and the core's appendix no longer leaves curved types without one. Space::log_volume gives the log-volume as a composite beside the retraction: zero on the Euclidean types, the logarithm of the moved point's coordinates on the positive orthant (both against Lebesgue measure), and the sum of the factors' on a product. An embedded type may declare its chart's volume with Embedded::with_volume: a log-volume written as an operation on Euclidean values, against the measure its retraction normalizes (Haar measure on a group, surface measure on a sphere, whatever the storage), and a domain, global or given by a discretization, on which the chart is a diffeomorphism onto all of the type but a set of measure zero. A type that declares none has no densities: the core refuses to score, propose or integrate out a quantity of it, and a measurement of it is a likelihood factor over data. The volume is declared rather than computed from the retraction, which would need third derivatives in a term's Hessian, and testing::check_volume holds each declaration to the area formula instead. The mathematics rests on the note densities in tangent charts, brought from the normal branch, which this entry corrected and extended with the measure a retraction normalizes in its intrinsic form and the volume of a product chart. The acceptance test's sphere declares its stereographic chart's volume, and an exponential sphere is the tests' chart with a bounded domain. The normal entry's tangent normal builds on this, and its branch drops its own copy of the note once this entry is merged.
Every continuous space of the core now has a reference measure, given through the
log-volume of its retraction’s chart, and the core’s appendix no longer leaves curved types without
one. Space::log_volume gives the log-volume as a composite beside the retraction: zero on the
Euclidean types, the logarithm of the moved point’s coordinates on the positive orthant (both
against Lebesgue measure), and the sum of the factors’ on a product. An embedded type may declare
its chart’s volume with Embedded::with_volume: a log-volume written as an operation on Euclidean
values, against the measure its retraction normalizes (Haar measure on a group, surface measure on
a sphere, whatever the storage), and a domain, global or given by a discretization, on which the
chart is a diffeomorphism onto all of the type but a set of measure zero. A type that declares none
has no densities: the core refuses to score, propose or integrate out a quantity of it, and a
measurement of it is a likelihood factor over data. The volume is declared rather than computed
from the retraction, which would need third derivatives in a term’s Hessian, and testing::check_volume holds each declaration to the area formula instead. The mathematics rests
on the note densities in tangent charts, brought from the normal branch, which this entry corrected and extended with the measure a retraction normalizes in its
intrinsic form and the volume of a product chart. The acceptance test’s sphere declares its
stereographic chart’s volume, and an exponential sphere is the tests’ chart with a bounded domain.
The normal entry’s tangent normal builds on this, and its branch drops its own copy of the note
once this entry is merged.
Where it stands
- Mathematics
- Implementation
- Plan
- Build
- Publish
Documents
What it changed
The pages that say what this entry made true:
- Spaces and quantities Every value in a model lives in a space, which fixes how it is stored, how it moves, and the typed handle code holds it by.
- Terms and the probabilistic graph A model's density is a sum of terms, each a log-density that scores one quantity or none; the terms and quantities together make the probabilistic graph inference reads, and a retirement removes some quantities, replaces their terms, and frees what it leaves needed by nothing.
- Crates The workspace's crates, what each holds, and what each depends on.
The crates it changed:
What it revises
- The core Done The core of skoro, built to the charter: three crates in which a model can be built, queried and differentiated, but no distribution exists yet. skoro-tensor is the layer over burn, whose tensors are…
History
- Started at math
- Approved math
bdab701 - Approved implementation
b011bd7 - Approved plan
0ad3621 - Approved build
2f2fb34 - Approved publish
0930b93 - Amended archive/measures/implementation by mathematics-in-order
a7dd3d2 - Amended archive/measures/math by mathematics-in-order
a7dd3d2 - Amended archive/measures/plan by mathematics-in-order
a7dd3d2