pub struct Evaluation {
pub sessions: u64,
pub mean: f64,
pub ucb: Option<f64>,
pub units: u64,
pub ess: f64,
pub max_weight: f64,
pub truncated: u64,
}Expand description
The monitor’s weighted estimate (select/policy.rs Monitor), the auto-revert’s evidence, and how
far it can be trusted.
Fields§
§sessions: u64The learned policy’s sessions it read.
mean: f64Per apply, (policy − fixed rule) + α × the fixed rule’s value, and the confidence sequence’s upper bound on it (None until enough sessions): below 0 the store reverts to the fixed rule.
ucb: Option<f64>§units: u64The labelled units weighed, and their effective number ((Σw)² / Σw²).
ess: f64§max_weight: f64The largest weight against the mean weight.
truncated: u64The units whose weight was truncated.
Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§impl Debug for Evaluation
impl Debug for Evaluation
Source§impl Default for Evaluation
impl Default for Evaluation
Source§impl PartialEq for Evaluation
impl PartialEq for Evaluation
Source§impl Serialize for Evaluation
impl Serialize for Evaluation
impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnsafeUnpin for Evaluation
impl UnwindSafe for Evaluation
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