pub struct ExtrapolatedPrediction {
pub value: f64,
pub r_squared: f64,
pub k: usize,
}Expand description
Result of extrapolating neighbor outputs to distance=0.
Fields§
§value: f64Predicted output at distance=0.
r_squared: f64R² of the linear fit. Low values mean the trend is unreliable.
k: usizeNumber of neighbors used.
Trait Implementations§
Source§impl Clone for ExtrapolatedPrediction
impl Clone for ExtrapolatedPrediction
Source§fn clone(&self) -> ExtrapolatedPrediction
fn clone(&self) -> ExtrapolatedPrediction
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 ExtrapolatedPrediction
impl RefUnwindSafe for ExtrapolatedPrediction
impl Send for ExtrapolatedPrediction
impl Sync for ExtrapolatedPrediction
impl Unpin for ExtrapolatedPrediction
impl UnsafeUnpin for ExtrapolatedPrediction
impl UnwindSafe for ExtrapolatedPrediction
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