pub enum OneHotOutput {
Dense(Matrix),
Sparse(SparseMatrix),
}Expand description
Output of OneHotEncoder::transform_auto.
Variants§
Trait Implementations§
Source§impl Clone for OneHotOutput
impl Clone for OneHotOutput
Source§fn clone(&self) -> OneHotOutput
fn clone(&self) -> OneHotOutput
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 OneHotOutput
impl Debug for OneHotOutput
Source§impl PartialEq for OneHotOutput
impl PartialEq for OneHotOutput
impl StructuralPartialEq for OneHotOutput
Auto Trait Implementations§
impl Freeze for OneHotOutput
impl RefUnwindSafe for OneHotOutput
impl Send for OneHotOutput
impl Sync for OneHotOutput
impl Unpin for OneHotOutput
impl UnsafeUnpin for OneHotOutput
impl UnwindSafe for OneHotOutput
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,
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