pub struct FastTransformExtractor { /* private fields */ }Implementations§
Source§impl FastTransformExtractor
impl FastTransformExtractor
Sourcepub fn transform_type(self, transform_type: TransformType) -> Self
pub fn transform_type(self, transform_type: TransformType) -> Self
Set the transform type
Sourcepub fn include_magnitude(self, include: bool) -> Self
pub fn include_magnitude(self, include: bool) -> Self
Set whether to include magnitude features
Sourcepub fn include_phase(self, include: bool) -> Self
pub fn include_phase(self, include: bool) -> Self
Set whether to include phase features
Sourcepub fn include_power(self, include: bool) -> Self
pub fn include_power(self, include: bool) -> Self
Set whether to include power features
Sourcepub fn zero_pad_to_power_of_2(self, zero_pad: bool) -> Self
pub fn zero_pad_to_power_of_2(self, zero_pad: bool) -> Self
Set whether to zero-pad to next power of 2
Sourcepub fn extract_features(
&self,
data: &ArrayView2<'_, Float>,
) -> SklResult<Array2<Float>>
pub fn extract_features( &self, data: &ArrayView2<'_, Float>, ) -> SklResult<Array2<Float>>
Extract features using fast transform methods
Trait Implementations§
Source§impl Clone for FastTransformExtractor
impl Clone for FastTransformExtractor
Source§impl Debug for FastTransformExtractor
impl Debug for FastTransformExtractor
Auto Trait Implementations§
impl Freeze for FastTransformExtractor
impl RefUnwindSafe for FastTransformExtractor
impl Send for FastTransformExtractor
impl Sync for FastTransformExtractor
impl Unpin for FastTransformExtractor
impl UnsafeUnpin for FastTransformExtractor
impl UnwindSafe for FastTransformExtractor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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