pub enum FeaturizeError {
Compile(PatchError),
Quarantined(VetFailure),
OutOfDomain {
site: String,
value: f64,
},
NonFiniteFeature {
name: String,
value: f64,
},
}Expand description
Why featurization rejected a candidate.
Variants§
Compile(PatchError)
The term failed to compile into a quiver patch (grammar bug — the typed prior should make this unreachable).
Quarantined(VetFailure)
The render was quarantined by the vetting gate.
OutOfDomain
A continuous site of the term sits outside its declared range, so the φ this would produce is not a measurement of anything.
The quarantine used to catch only audio pathology — a render that was
silent, clipped or DC-dominated — which is a gate on the sound and not
on the term. amp.sustain = 1e30 renders perfectly well (the limiter
bounds it), so it passed the vet, and its φ then entered the observation
log where one row’s outlier set the whole amp_sustain column’s scale
and killed the coordinate. A row the model cannot interpret must not be
recorded as evidence, and this is the last place that can say so.
NonFiniteFeature
An extracted coordinate is not a finite number.
Distinct from Self::OutOfDomain: the term was legal, so this is the
measurement having gone wrong (an audio descriptor over a degenerate
buffer), and it names the coordinate rather than a genome site.
Trait Implementations§
Source§impl Debug for FeaturizeError
impl Debug for FeaturizeError
Source§impl Display for FeaturizeError
impl Display for FeaturizeError
Source§impl Error for FeaturizeError
impl Error for FeaturizeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()