pub struct ClassificationRecord<Features, Label> {
pub features: Features,
pub label: Label,
}Expand description
Single training record for classification task
Fields§
§features: Featuresfeature for a single classification record
label: Labellabel for a single classification record
Trait Implementations§
Source§impl<Features, Label> From<(Features, Label)> for ClassificationRecord<Features, Label>
impl<Features, Label> From<(Features, Label)> for ClassificationRecord<Features, Label>
Source§fn from(value: (Features, Label)) -> Self
fn from(value: (Features, Label)) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Features, Label> Freeze for ClassificationRecord<Features, Label>
impl<Features, Label> RefUnwindSafe for ClassificationRecord<Features, Label>where
Features: RefUnwindSafe,
Label: RefUnwindSafe,
impl<Features, Label> Send for ClassificationRecord<Features, Label>
impl<Features, Label> Sync for ClassificationRecord<Features, Label>
impl<Features, Label> Unpin for ClassificationRecord<Features, Label>
impl<Features, Label> UnwindSafe for ClassificationRecord<Features, Label>where
Features: UnwindSafe,
Label: UnwindSafe,
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