pub struct ClassifierStats {
pub training_examples: usize,
pub vocabulary_size: usize,
pub intent_count: usize,
pub feedback_examples: usize,
pub last_updated: Option<DateTime<Utc>>,
}
Expand description
Statistics about the classifier
Fields§
§training_examples: usize
Number of training examples
vocabulary_size: usize
Size of the vocabulary
intent_count: usize
Number of known intents
feedback_examples: usize
Number of user feedback examples
last_updated: Option<DateTime<Utc>>
Last update timestamp
Trait Implementations§
Source§impl Clone for ClassifierStats
impl Clone for ClassifierStats
Source§fn clone(&self) -> ClassifierStats
fn clone(&self) -> ClassifierStats
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 ClassifierStats
impl Debug for ClassifierStats
Source§impl<'de> Deserialize<'de> for ClassifierStats
impl<'de> Deserialize<'de> for ClassifierStats
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 ClassifierStats
impl RefUnwindSafe for ClassifierStats
impl Send for ClassifierStats
impl Sync for ClassifierStats
impl Unpin for ClassifierStats
impl UnwindSafe for ClassifierStats
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