pub struct EnsemblePredictor { /* private fields */ }Expand description
Ensemble predictor combining multiple prediction methods
Implementations§
Source§impl EnsemblePredictor
impl EnsemblePredictor
Sourcepub fn with_threshold(self, threshold: f64) -> Self
pub fn with_threshold(self, threshold: f64) -> Self
Set confidence threshold
Sourcepub async fn record_access(&self, record: AccessRecord)
pub async fn record_access(&self, record: AccessRecord)
Record an access
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnsemblePredictor
impl !RefUnwindSafe for EnsemblePredictor
impl Send for EnsemblePredictor
impl Sync for EnsemblePredictor
impl Unpin for EnsemblePredictor
impl UnsafeUnpin for EnsemblePredictor
impl !UnwindSafe for EnsemblePredictor
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