pub struct FeatureDiagnostics {
pub index: usize,
pub weight: f64,
pub effect_curve: Vec<(f64, f64)>,
}Expand description
Diagnostics for a single feature’s learned metric.
Fields§
§index: usizeFeature index.
weight: f64Weight assigned to this feature (0.0 = noise, higher = more predictive).
effect_curve: Vec<(f64, f64)>The effect curve: (feature_value, predicted_output) points from isotonic regression. Sorted by feature_value.
Trait Implementations§
Source§impl Clone for FeatureDiagnostics
impl Clone for FeatureDiagnostics
Source§fn clone(&self) -> FeatureDiagnostics
fn clone(&self) -> FeatureDiagnostics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FeatureDiagnostics
impl RefUnwindSafe for FeatureDiagnostics
impl Send for FeatureDiagnostics
impl Sync for FeatureDiagnostics
impl Unpin for FeatureDiagnostics
impl UnsafeUnpin for FeatureDiagnostics
impl UnwindSafe for FeatureDiagnostics
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