pub struct LocalOutcomeEngine { /* private fields */ }Expand description
OSS outcome engine that retains observations without producing predictions.
Implementations§
Source§impl LocalOutcomeEngine
impl LocalOutcomeEngine
Sourcepub fn events(&self) -> &[LearningEvent]
pub fn events(&self) -> &[LearningEvent]
Return the observations retained by this local process.
Trait Implementations§
Source§impl Clone for LocalOutcomeEngine
impl Clone for LocalOutcomeEngine
Source§impl Debug for LocalOutcomeEngine
impl Debug for LocalOutcomeEngine
Source§impl Default for LocalOutcomeEngine
impl Default for LocalOutcomeEngine
Source§impl OutcomeEngineContract for LocalOutcomeEngine
impl OutcomeEngineContract for LocalOutcomeEngine
Source§fn observe(&mut self, event: LearningEvent)
fn observe(&mut self, event: LearningEvent)
Record an observed outcome for a prior decision.
Source§fn predict_outcome(&self, _task_profile: &TaskProfileV1) -> f64
fn predict_outcome(&self, _task_profile: &TaskProfileV1) -> f64
Estimate an outcome score for a task profile in the inclusive 0.0..=1.0 range.
Source§impl PartialEq for LocalOutcomeEngine
impl PartialEq for LocalOutcomeEngine
impl StructuralPartialEq for LocalOutcomeEngine
Auto Trait Implementations§
impl Freeze for LocalOutcomeEngine
impl RefUnwindSafe for LocalOutcomeEngine
impl Send for LocalOutcomeEngine
impl Sync for LocalOutcomeEngine
impl Unpin for LocalOutcomeEngine
impl UnsafeUnpin for LocalOutcomeEngine
impl UnwindSafe for LocalOutcomeEngine
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