Struct rusty_machine::data::transforms::minmax::MinMaxScaler
source · [−]pub struct MinMaxScaler<T: Float> { /* private fields */ }
Expand description
The MinMaxScaler
The MinMaxScaler
provides an implementation of Transformer
which allows us to transform the input data to have a new minimum
and maximum per column.
See the module description for more information.
Trait Implementations
sourceimpl<T: Debug + Float> Debug for MinMaxScaler<T>
impl<T: Debug + Float> Debug for MinMaxScaler<T>
sourceimpl<T: Float> Invertible<Matrix<T>> for MinMaxScaler<T>
impl<T: Float> Invertible<Matrix<T>> for MinMaxScaler<T>
sourcefn inv_transform(&self, inputs: Matrix<T>) -> Result<Matrix<T>, Error>
fn inv_transform(&self, inputs: Matrix<T>) -> Result<Matrix<T>, Error>
Maps the inputs using the inverse of the fitted transform.
sourceimpl<T: Float> TransformFitter<Matrix<T>, MinMaxScaler<T>> for MinMaxFitter<T>
impl<T: Float> TransformFitter<Matrix<T>, MinMaxScaler<T>> for MinMaxFitter<T>
sourcefn fit(self, inputs: &Matrix<T>) -> LearningResult<MinMaxScaler<T>>
fn fit(self, inputs: &Matrix<T>) -> LearningResult<MinMaxScaler<T>>
Fit the inputs to create the
Transformer
sourceimpl<T: Float> Transformer<Matrix<T>> for MinMaxScaler<T>
impl<T: Float> Transformer<Matrix<T>> for MinMaxScaler<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for MinMaxScaler<T>where
T: RefUnwindSafe,
impl<T> Send for MinMaxScaler<T>where
T: Send,
impl<T> Sync for MinMaxScaler<T>where
T: Sync,
impl<T> Unpin for MinMaxScaler<T>where
T: Unpin,
impl<T> UnwindSafe for MinMaxScaler<T>where
T: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more