pub struct ProbabilisticPredictionProvider;Expand description
Probabilistic prediction provider for classification
Trait Implementations§
Source§impl PredictionProvider for ProbabilisticPredictionProvider
impl PredictionProvider for ProbabilisticPredictionProvider
fn predict( &self, features: &Array2<Float>, coefficients: &Array1<Float>, intercept: Option<Float>, ) -> Result<Array1<Float>>
Source§fn supports_confidence_intervals(&self) -> bool
fn supports_confidence_intervals(&self) -> bool
Check if this provider supports confidence intervals
fn predict_with_confidence( &self, features: &Array2<Float>, coefficients: &Array1<Float>, intercept: Option<Float>, confidence_level: Float, ) -> Result<PredictionWithConfidence>
Source§fn predict_with_uncertainty(
&self,
features: &Array2<Float>,
coefficients: &Array1<Float>,
intercept: Option<Float>,
) -> Result<PredictionWithUncertainty>
fn predict_with_uncertainty( &self, features: &Array2<Float>, coefficients: &Array1<Float>, intercept: Option<Float>, ) -> Result<PredictionWithUncertainty>
Prediction with uncertainty quantification (if supported)
Source§fn supports_uncertainty_quantification(&self) -> bool
fn supports_uncertainty_quantification(&self) -> bool
Check if this provider supports uncertainty quantification
Auto Trait Implementations§
impl Freeze for ProbabilisticPredictionProvider
impl RefUnwindSafe for ProbabilisticPredictionProvider
impl Send for ProbabilisticPredictionProvider
impl Sync for ProbabilisticPredictionProvider
impl Unpin for ProbabilisticPredictionProvider
impl UnwindSafe for ProbabilisticPredictionProvider
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> 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