pub struct OneHotEncoding { /* private fields */ }
Implementations§
Source§impl OneHotEncoding
impl OneHotEncoding
Sourcepub fn new(input_column: NDArray<f64>) -> Result<OneHotEncoding, String>
pub fn new(input_column: NDArray<f64>) -> Result<OneHotEncoding, String>
Create new instance of one hot encoding
Sourcepub fn num_samples(&self) -> f64
pub fn num_samples(&self) -> f64
Get number of samples in one hot encoding
Auto Trait Implementations§
impl Freeze for OneHotEncoding
impl RefUnwindSafe for OneHotEncoding
impl Send for OneHotEncoding
impl Sync for OneHotEncoding
impl Unpin for OneHotEncoding
impl UnwindSafe for OneHotEncoding
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