pub struct BinaryClassificationSample {
pub features: Vec<f64>,
pub target: bool,
}Expand description
A single binary classification sample.
Fields§
§features: Vec<f64>Feature vector.
target: boolBoolean label.
Trait Implementations§
Source§impl Clone for BinaryClassificationSample
impl Clone for BinaryClassificationSample
Source§fn clone(&self) -> BinaryClassificationSample
fn clone(&self) -> BinaryClassificationSample
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 moreAuto Trait Implementations§
impl Freeze for BinaryClassificationSample
impl RefUnwindSafe for BinaryClassificationSample
impl Send for BinaryClassificationSample
impl Sync for BinaryClassificationSample
impl Unpin for BinaryClassificationSample
impl UnsafeUnpin for BinaryClassificationSample
impl UnwindSafe for BinaryClassificationSample
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