pub struct LearningStats {
pub query_count: u64,
pub replay_buffer_size: usize,
pub learned_entries: usize,
pub avg_relevance_weight: f32,
pub weight_variance: f32,
}Expand description
Learning statistics.
Fields§
§query_count: u64Total number of queries processed.
replay_buffer_size: usizeCurrent number of experiences in the replay buffer.
learned_entries: usizeNumber of entries with learned relevance scores.
avg_relevance_weight: f32Mean relevance weight across all embedding dimensions.
weight_variance: f32Variance of relevance weights (measures how specialised learning has become).
Trait Implementations§
Source§impl Clone for LearningStats
impl Clone for LearningStats
Source§fn clone(&self) -> LearningStats
fn clone(&self) -> LearningStats
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 LearningStats
impl Debug for LearningStats
Source§impl<'de> Deserialize<'de> for LearningStats
impl<'de> Deserialize<'de> for LearningStats
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 LearningStats
impl RefUnwindSafe for LearningStats
impl Send for LearningStats
impl Sync for LearningStats
impl Unpin for LearningStats
impl UnsafeUnpin for LearningStats
impl UnwindSafe for LearningStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request