pub struct DataMixingStatsDto {
pub negative_count: u64,
pub negative_ratio: f64,
pub real_count: u64,
pub real_ratio: f64,
pub sort_coverage: HashMap<String, u64>,
pub synthetic_count: u64,
pub synthetic_ratio: f64,
pub total_count: u64,
}Expand description
Data mixing statistics.
Fields§
§negative_count: u64Number of negative examples.
negative_ratio: f64Actual negative ratio.
real_count: u64Number of real examples.
real_ratio: f64Actual real ratio.
sort_coverage: HashMap<String, u64>Per-sort coverage counts.
synthetic_count: u64Number of synthetic examples.
synthetic_ratio: f64Actual synthetic ratio.
total_count: u64Total example count.
Implementations§
Source§impl DataMixingStatsDto
impl DataMixingStatsDto
pub fn builder() -> DataMixingStatsDto
Trait Implementations§
Source§impl Clone for DataMixingStatsDto
impl Clone for DataMixingStatsDto
Source§fn clone(&self) -> DataMixingStatsDto
fn clone(&self) -> DataMixingStatsDto
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 DataMixingStatsDto
impl Debug for DataMixingStatsDto
Source§impl<'de> Deserialize<'de> for DataMixingStatsDto
impl<'de> Deserialize<'de> for DataMixingStatsDto
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
Source§impl From<DataMixingStatsDto> for DataMixingStatsDto
impl From<DataMixingStatsDto> for DataMixingStatsDto
Source§fn from(value: DataMixingStatsDto) -> Self
fn from(value: DataMixingStatsDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataMixingStatsDto
impl PartialEq for DataMixingStatsDto
Source§impl Serialize for DataMixingStatsDto
impl Serialize for DataMixingStatsDto
Source§impl TryFrom<DataMixingStatsDto> for DataMixingStatsDto
impl TryFrom<DataMixingStatsDto> for DataMixingStatsDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DataMixingStatsDto) -> Result<Self, ConversionError>
fn try_from(value: DataMixingStatsDto) -> Result<Self, ConversionError>
Performs the conversion.
impl StructuralPartialEq for DataMixingStatsDto
Auto Trait Implementations§
impl Freeze for DataMixingStatsDto
impl RefUnwindSafe for DataMixingStatsDto
impl Send for DataMixingStatsDto
impl Sync for DataMixingStatsDto
impl Unpin for DataMixingStatsDto
impl UnsafeUnpin for DataMixingStatsDto
impl UnwindSafe for DataMixingStatsDto
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