pub struct ContinuousLearningSystem {
pub id: String,
pub outcomes: Vec<PortingOutcome>,
pub feedback: Vec<UserFeedback>,
pub insights: Vec<LearningInsight>,
pub metrics: LearningSystemMetrics,
}Expand description
Continuous learning system for porting outcomes.
Fields§
§id: StringSystem ID
outcomes: Vec<PortingOutcome>Outcome database
feedback: Vec<UserFeedback>Feedback database
insights: Vec<LearningInsight>Learning insights
metrics: LearningSystemMetricsSystem metrics
Implementations§
Source§impl ContinuousLearningSystem
impl ContinuousLearningSystem
Sourcepub fn record_outcome(&mut self, outcome: PortingOutcome)
pub fn record_outcome(&mut self, outcome: PortingOutcome)
Records a porting outcome.
Sourcepub fn add_feedback(&mut self, feedback: UserFeedback)
pub fn add_feedback(&mut self, feedback: UserFeedback)
Adds user feedback.
Sourcepub fn add_insight(&mut self, insight: LearningInsight)
pub fn add_insight(&mut self, insight: LearningInsight)
Adds a learning insight.
Sourcepub fn high_confidence_insights(&self) -> Vec<&LearningInsight>
pub fn high_confidence_insights(&self) -> Vec<&LearningInsight>
Gets high-confidence insights (>= 0.8).
Trait Implementations§
Source§impl Clone for ContinuousLearningSystem
impl Clone for ContinuousLearningSystem
Source§fn clone(&self) -> ContinuousLearningSystem
fn clone(&self) -> ContinuousLearningSystem
Returns a duplicate of the value. Read more
1.0.0 · 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 ContinuousLearningSystem
impl Debug for ContinuousLearningSystem
Source§impl Default for ContinuousLearningSystem
impl Default for ContinuousLearningSystem
Source§impl<'de> Deserialize<'de> for ContinuousLearningSystem
impl<'de> Deserialize<'de> for ContinuousLearningSystem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContinuousLearningSystem
impl RefUnwindSafe for ContinuousLearningSystem
impl Send for ContinuousLearningSystem
impl Sync for ContinuousLearningSystem
impl Unpin for ContinuousLearningSystem
impl UnwindSafe for ContinuousLearningSystem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more