pub struct L2DiagnosticSample {Show 19 fields
pub step: u64,
pub selected_arm: usize,
pub optimal_arm: usize,
pub reward: f64,
pub spectral_bias: f64,
pub normalized_energy: f64,
pub spectral_dc_drift: f64,
pub convergence_residual: f64,
pub controller_residual: f64,
pub alpha: f64,
pub beta: f64,
pub confidence: f64,
pub proposed_expert: Option<usize>,
pub applied: bool,
pub dry_run_baseline_arm: Option<usize>,
pub dry_run_treatment_arm: Option<usize>,
pub dry_run_baseline_candidate: Option<usize>,
pub dry_run_treatment_candidate: Option<usize>,
pub rejection_reason: Option<String>,
}Available on crate feature
std only.Expand description
Data structure representing L2 diagnostic sample.
Fields§
§step: u64Step for this value.
selected_arm: usizeSelected arm for this value.
optimal_arm: usizeOptimal arm for this value.
reward: f64Reward for this value.
spectral_bias: f64Spectral bias for this value.
normalized_energy: f64Normalized energy for this value.
spectral_dc_drift: f64Spectral dc drift for this value.
convergence_residual: f64Convergence residual for this value.
controller_residual: f64Controller residual for this value.
alpha: f64Alpha for this value.
beta: f64Beta for this value.
confidence: f64Confidence for this value.
proposed_expert: Option<usize>Optional proposed expert.
applied: boolWhether applied is enabled or active.
dry_run_baseline_arm: Option<usize>Optional dry run baseline arm.
dry_run_treatment_arm: Option<usize>Optional dry run treatment arm.
dry_run_baseline_candidate: Option<usize>Optional dry run baseline candidate.
dry_run_treatment_candidate: Option<usize>Optional dry run treatment candidate.
rejection_reason: Option<String>Optional rejection reason.
Trait Implementations§
Source§impl Clone for L2DiagnosticSample
impl Clone for L2DiagnosticSample
Source§impl Debug for L2DiagnosticSample
impl Debug for L2DiagnosticSample
Source§impl PartialEq for L2DiagnosticSample
impl PartialEq for L2DiagnosticSample
Source§impl Serialize for L2DiagnosticSample
impl Serialize for L2DiagnosticSample
impl StructuralPartialEq for L2DiagnosticSample
Auto Trait Implementations§
impl Forget for L2DiagnosticSample
impl Freeze for L2DiagnosticSample
impl Move for L2DiagnosticSample
impl RefUnwindSafe for L2DiagnosticSample
impl Send for L2DiagnosticSamplewhere
RawVecInner: Send,
impl Sync for L2DiagnosticSamplewhere
RawVecInner: Sync,
impl Unpin for L2DiagnosticSample
impl UnsafeUnpin for L2DiagnosticSample
impl UnwindSafe for L2DiagnosticSamplewhere
RawVecInner: UnwindSafe,
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