pub struct TasteMap {
pub points: Vec<MapPoint>,
pub explained: [f64; 2],
pub converged: [bool; 2],
}Expand description
The 2D taste map.
Fields§
§points: Vec<MapPoint>All points (pool first, then history ghosts).
explained: [f64; 2]Fraction of total variance captured by each of the two axes.
converged: [bool; 2]Whether each axis’s power iteration actually converged.
false means the projection is a direction the solver was still moving
toward when it hit its cap, which happens when the top two eigenvalues
are near-tied — a live possibility here, because φ’s brightness cluster
is three genuine measurements of one perceptual thing. The map is still
drawable; what it is not, in that case, is stable, and a surface that
invites the reader to recognise territory should be able to know that.
#[serde(default)] so maps serialized before this existed load as
[false, false] rather than failing — the honest reading, since nothing
checked convergence when they were written.