pub struct TransformationInfo {
pub transformations: Vec<(FeatureTransformationType, Vec<usize>)>,
pub selected_indices: Vec<usize>,
pub scaling_params: HashMap<usize, (f64, f64)>,
pub binning_boundaries: HashMap<usize, Vec<f64>>,
}Expand description
Information needed to transform new data
Fields§
§transformations: Vec<(FeatureTransformationType, Vec<usize>)>Transformation types to apply
selected_indices: Vec<usize>Selected feature indices after transformation
scaling_params: HashMap<usize, (f64, f64)>Scaling parameters
binning_boundaries: HashMap<usize, Vec<f64>>Binning boundaries
Trait Implementations§
Source§impl Clone for TransformationInfo
impl Clone for TransformationInfo
Source§fn clone(&self) -> TransformationInfo
fn clone(&self) -> TransformationInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 TransformationInfo
impl RefUnwindSafe for TransformationInfo
impl Send for TransformationInfo
impl Sync for TransformationInfo
impl Unpin for TransformationInfo
impl UnwindSafe for TransformationInfo
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