pub struct SelfHealingJidoka { /* private fields */ }Expand description
Self-healing Jidoka controller for ML training [51][57].
Distinguishes between Andon (full stop) and auto-correction based on anomaly severity and correction history.
Implementations§
Source§impl SelfHealingJidoka
impl SelfHealingJidoka
Sourcepub const fn with_max_same_type(self, max: usize) -> Self
pub const fn with_max_same_type(self, max: usize) -> Self
Set maximum corrections of same type before escalation.
Sourcepub fn classify_response(&self, anomaly: &TrainingAnomaly) -> JidokaResponse
pub fn classify_response(&self, anomaly: &TrainingAnomaly) -> JidokaResponse
Determine response based on anomaly type and history.
Sourcepub fn generate_patch(&self, anomaly: &TrainingAnomaly) -> Option<RulePatch>
pub fn generate_patch(&self, anomaly: &TrainingAnomaly) -> Option<RulePatch>
Generate corrective patch for anomaly.
Sourcepub fn record_correction(&mut self, anomaly: &TrainingAnomaly, patch: RulePatch)
pub fn record_correction(&mut self, anomaly: &TrainingAnomaly, patch: RulePatch)
Record that a correction was applied.
Sourcepub const fn correction_count(&self) -> usize
pub const fn correction_count(&self) -> usize
Get total correction count.
Sourcepub fn applied_patches(&self) -> &[RulePatch]
pub fn applied_patches(&self) -> &[RulePatch]
Get applied patches.
Trait Implementations§
Source§impl Clone for SelfHealingJidoka
impl Clone for SelfHealingJidoka
Source§fn clone(&self) -> SelfHealingJidoka
fn clone(&self) -> SelfHealingJidoka
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 SelfHealingJidoka
impl Debug for SelfHealingJidoka
Auto Trait Implementations§
impl Freeze for SelfHealingJidoka
impl RefUnwindSafe for SelfHealingJidoka
impl Send for SelfHealingJidoka
impl Sync for SelfHealingJidoka
impl Unpin for SelfHealingJidoka
impl UnsafeUnpin for SelfHealingJidoka
impl UnwindSafe for SelfHealingJidoka
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