pub struct SelectionDescriptor {
pub metric: String,
pub phi_layer: usize,
pub mean: String,
pub basis: String,
pub rank: usize,
pub err_mean: Option<f32>,
pub err_std: Option<f32>,
pub holdout: Option<String>,
pub holdout_n: Option<usize>,
}Expand description
Recon-argmin routing parameters (spec §9; P1 signal-consistency): E = ‖(φ−mean) − B·Bᵀ(φ−mean)‖² / ‖φ−mean‖²; pick argmin over skills.
Fields§
§metric: String“mse” (normalized reconstruction error) — the only metric today.
phi_layer: usizeBackbone layer whose mean-pooled hidden is φ(x).
mean: StringSubspace mean, f16 LE base64, len = hidden.
basis: StringOrthonormal basis rows, f16 LE base64, len = rank·hidden.
rank: usize§err_mean: Option<f32>Training reconstruction-error statistics (mean, std) — the z-score “energy” of the novelty ensemble. Additive (cortiq-router recipe).
err_std: Option<f32>§holdout: Option<String>Held-out in-scope φ samples, f16 LE base64, len = holdout_n·hidden — what the file-level temperature/θ calibration is fitted on, so a container recalibrates itself after every appended skill.
holdout_n: Option<usize>Trait Implementations§
Source§impl Clone for SelectionDescriptor
impl Clone for SelectionDescriptor
Source§impl Debug for SelectionDescriptor
impl Debug for SelectionDescriptor
Source§impl<'de> Deserialize<'de> for SelectionDescriptor
impl<'de> Deserialize<'de> for SelectionDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SelectionDescriptor
impl RefUnwindSafe for SelectionDescriptor
impl Send for SelectionDescriptor
impl Sync for SelectionDescriptor
impl Unpin for SelectionDescriptor
impl UnsafeUnpin for SelectionDescriptor
impl UnwindSafe for SelectionDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more