pub struct DriftAnalyzer { /* private fields */ }Expand description
Analyzes decision records to identify under-confident regions and drift.
Implementations§
Source§impl DriftAnalyzer
impl DriftAnalyzer
Sourcepub fn with_threshold(threshold: f64) -> Self
pub fn with_threshold(threshold: f64) -> Self
Create an analyzer with a custom threshold.
Sourcepub fn analyze(&self, ledger: &VersionedDecisionLedger) -> DriftFeedbackReport
pub fn analyze(&self, ledger: &VersionedDecisionLedger) -> DriftFeedbackReport
Analyze a ledger and produce a drift feedback report.
Trait Implementations§
Source§impl Clone for DriftAnalyzer
impl Clone for DriftAnalyzer
Source§fn clone(&self) -> DriftAnalyzer
fn clone(&self) -> DriftAnalyzer
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 moreSource§impl Debug for DriftAnalyzer
impl Debug for DriftAnalyzer
Source§impl Default for DriftAnalyzer
impl Default for DriftAnalyzer
Source§fn default() -> DriftAnalyzer
fn default() -> DriftAnalyzer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DriftAnalyzer
impl RefUnwindSafe for DriftAnalyzer
impl Send for DriftAnalyzer
impl Sync for DriftAnalyzer
impl Unpin for DriftAnalyzer
impl UnsafeUnpin for DriftAnalyzer
impl UnwindSafe for DriftAnalyzer
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