Expand description
Node compositions, and scoring counts against them: what the local swaps move pseudobulks by, and what places a unit the fit never saw (predict, impute) on a node or a link state.
ln p_{k,b} = ln normalize(μ_k ⊙ f_{k,b}), score(x → k) = Σ_g x_g · ln p_{k,b,g}with μ_k the node’s fold-corrected composition and f_{k,b} its fold
in batch b (carrying δ). A batch the fit never saw has no fold: its
units are scored against μ_k alone, on counts the caller has divided by
that batch’s own δ.
Structs§
- Composition
Placer - Places units the fit never saw, by composition: each node’s composition
in each batch, built once, then any number of count columns scored
against them (
Self::place).
Functions§
- place_
by_ composition - One placement by
CompositionPlacer: built, then used once.