Kernels from weight functions #
This file defines ProbabilityTheory.Kernel.ofWeights, the kernel that normalizes a
nonnegative weight function on a finite target into a probability measure per row, and
evaluates it at singletons. A row of zero or infinite total weight collapses to the zero
measure, so the kernel is always finite; it is Markov exactly on rows with a positive finite
total.
Main definitions #
ProbabilityTheory.Kernel.ofWeights— rowais proportional tow a.
Main results #
ProbabilityTheory.Kernel.ofWeights_apply_singleton—w a b / ∑ b', w a b';ofWeights_apply_finset,ofWeights_real_setOffor finite events.ProbabilityTheory.Kernel.ofWeights_real_singleton_lt_iff— row preference is weight comparison.ProbabilityTheory.Kernel.ofWeights_uniformOn_mul_uniformOn— the product of two uniform experts is uniform on their agreement set.
A finite sum of scaled Dirac measures evaluates at a singleton to its weight.
The kernel that normalizes a nonnegative weight function on a finite
target: row a is the probability measure proportional to w a. A row of
zero (or infinite) total weight collapses to the zero measure.
Equations
- ProbabilityTheory.Kernel.ofWeights w = ProbabilityTheory.Kernel.ofFunOfCountable fun (a : α) => (∑ b : β, w a b)⁻¹ • ∑ b : β, w a b • MeasureTheory.Measure.dirac b
Instances For
A zero weight gives zero mass.
A nonzero weight in a row of finite weights gives positive mass.
Two rows whose weights differ by a positive finite factor are the same row.
In a row with exactly two nonzero weights, both finite, the real mass of one is its share of the two.
The mass of a finite event under a weight-kernel row.
A weight-kernel row is carried by the support of its weights.
The real mass of a finite event under a weight-kernel row with finite weights.
The real mass of an atom under a weight-kernel row with finite weights.
The real mass of a decidable event under a weight-kernel row with finite weights.
A row with a positive entry and finite entries normalizes to a probability measure.
Row-preference in a weight kernel reduces to weight comparison; the normalization cancels.
Weight-kernel rows are subprobabilities: normalization gives mass 1 on positive finite total weight and 0 otherwise.
Two uniform experts weight a point by (#A · #B)⁻¹ on their agreement set and 0 off it.
Product of Experts of two uniform experts: the row is uniform on their agreement set, and collapses to the zero measure when they agree nowhere.