pub struct DatasetStatsSummary {
pub total_examples: usize,
pub total_entities: usize,
pub entity_type_distribution: HashMap<String, usize>,
pub domain_distribution: HashMap<String, usize>,
pub difficulty_distribution: HashMap<String, usize>,
}Expand description
Summary statistics about the evaluated datasets.
Fields§
§total_examples: usizeTotal examples
total_entities: usizeTotal gold entities
entity_type_distribution: HashMap<String, usize>Entity type distribution
domain_distribution: HashMap<String, usize>Domain distribution (for synthetic)
difficulty_distribution: HashMap<String, usize>Difficulty distribution (for synthetic)
Trait Implementations§
Source§impl Clone for DatasetStatsSummary
impl Clone for DatasetStatsSummary
Source§fn clone(&self) -> DatasetStatsSummary
fn clone(&self) -> DatasetStatsSummary
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 DatasetStatsSummary
impl Debug for DatasetStatsSummary
Source§impl Default for DatasetStatsSummary
impl Default for DatasetStatsSummary
Source§fn default() -> DatasetStatsSummary
fn default() -> DatasetStatsSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DatasetStatsSummary
impl<'de> Deserialize<'de> for DatasetStatsSummary
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 DatasetStatsSummary
impl RefUnwindSafe for DatasetStatsSummary
impl Send for DatasetStatsSummary
impl Sync for DatasetStatsSummary
impl Unpin for DatasetStatsSummary
impl UnsafeUnpin for DatasetStatsSummary
impl UnwindSafe for DatasetStatsSummary
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> 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