pub struct DatasetComparison {
pub stats_a: DatasetStats,
pub stats_b: DatasetStats,
pub type_divergence: f64,
pub vocab_overlap: f64,
pub entity_text_overlap: f64,
pub types_only_in_a: Vec<String>,
pub types_only_in_b: Vec<String>,
pub estimated_domain_gap: f64,
pub recommendations: Vec<String>,
}Expand description
Comparison between two datasets.
Fields§
§stats_a: DatasetStatsStats for dataset A
stats_b: DatasetStatsStats for dataset B
type_divergence: f64Jensen-Shannon divergence of type distributions (0 = identical, 1 = disjoint)
vocab_overlap: f64Vocabulary overlap (Jaccard similarity)
entity_text_overlap: f64Entity text overlap (Jaccard similarity)
types_only_in_a: Vec<String>Types present in A but not B
types_only_in_b: Vec<String>Types present in B but not A
estimated_domain_gap: f64Estimated domain gap (heuristic combining multiple factors)
recommendations: Vec<String>Recommendations for transfer learning
Trait Implementations§
Source§impl Clone for DatasetComparison
impl Clone for DatasetComparison
Source§fn clone(&self) -> DatasetComparison
fn clone(&self) -> DatasetComparison
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 DatasetComparison
impl Debug for DatasetComparison
Source§impl<'de> Deserialize<'de> for DatasetComparison
impl<'de> Deserialize<'de> for DatasetComparison
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 DatasetComparison
impl RefUnwindSafe for DatasetComparison
impl Send for DatasetComparison
impl Sync for DatasetComparison
impl Unpin for DatasetComparison
impl UnsafeUnpin for DatasetComparison
impl UnwindSafe for DatasetComparison
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