pub struct PredictorConfig {
pub default_height: u16,
pub prior_strength: f64,
pub prior_mean: f64,
pub prior_variance: f64,
pub coverage: f64,
pub calibration_window: usize,
}Expand description
Configuration for the height predictor.
Fields§
§default_height: u16Default height when no data is available.
prior_strength: f64Prior strength κ₀ (higher = more trust in default). Default: 2.0.
prior_mean: f64Prior mean μ₀ (usually same as default_height).
prior_variance: f64Prior variance estimate. Default: 4.0.
coverage: f64Conformal coverage level (1 - α). Default: 0.90.
calibration_window: usizeMax calibration residuals to keep. Default: 200.
Trait Implementations§
Source§impl Clone for PredictorConfig
impl Clone for PredictorConfig
Source§fn clone(&self) -> PredictorConfig
fn clone(&self) -> PredictorConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictorConfig
impl Debug for PredictorConfig
Auto Trait Implementations§
impl Freeze for PredictorConfig
impl RefUnwindSafe for PredictorConfig
impl Send for PredictorConfig
impl Sync for PredictorConfig
impl Unpin for PredictorConfig
impl UnwindSafe for PredictorConfig
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