pub struct PredictionWithConfidence {
pub predictions: Array1<Float>,
pub lower_bounds: Option<Array1<Float>>,
pub upper_bounds: Option<Array1<Float>>,
pub confidence_level: Float,
}Expand description
Prediction result with confidence intervals
Fields§
§predictions: Array1<Float>Point predictions
lower_bounds: Option<Array1<Float>>Lower confidence bounds (optional)
upper_bounds: Option<Array1<Float>>Upper confidence bounds (optional)
confidence_level: FloatConfidence level used (e.g., 0.95 for 95% confidence)
Trait Implementations§
Source§impl Clone for PredictionWithConfidence
impl Clone for PredictionWithConfidence
Source§fn clone(&self) -> PredictionWithConfidence
fn clone(&self) -> PredictionWithConfidence
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 moreAuto Trait Implementations§
impl Freeze for PredictionWithConfidence
impl RefUnwindSafe for PredictionWithConfidence
impl Send for PredictionWithConfidence
impl Sync for PredictionWithConfidence
impl Unpin for PredictionWithConfidence
impl UnwindSafe for PredictionWithConfidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more