pub struct EnsembleResult {
pub final_outputs: Vec<f64>,
pub strategy_used: String,
pub participating_models: usize,
pub avg_confidence: f64,
pub avg_latency_ms: f64,
pub disagreement: f64,
}Expand description
The aggregated output of the ensemble.
Fields§
§final_outputs: Vec<f64>Final aggregated outputs (class probabilities or regression value).
strategy_used: StringHuman-readable name of the strategy that was applied.
participating_models: usizeNumber of models whose predictions were included.
avg_confidence: f64Mean confidence across participating models.
avg_latency_ms: f64Mean latency in milliseconds across participating models.
disagreement: f64Disagreement metric:
- Classification →
1 - max_vote_fraction - Regression → standard deviation of
outputs[0]across models
Trait Implementations§
Source§impl Clone for EnsembleResult
impl Clone for EnsembleResult
Source§fn clone(&self) -> EnsembleResult
fn clone(&self) -> EnsembleResult
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 EnsembleResult
impl RefUnwindSafe for EnsembleResult
impl Send for EnsembleResult
impl Sync for EnsembleResult
impl Unpin for EnsembleResult
impl UnsafeUnpin for EnsembleResult
impl UnwindSafe for EnsembleResult
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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