pub struct SimdImputationOps;Expand description
Enhanced imputation operations with SIMD optimizations
Implementations§
Source§impl SimdImputationOps
impl SimdImputationOps
Sourcepub fn weighted_mean_simd(values: &[f64], weights: &[f64]) -> f64
pub fn weighted_mean_simd(values: &[f64], weights: &[f64]) -> f64
Optimized weighted mean calculation for KNN imputation using SIMD
Sourcepub fn count_missing_simd(data: &[f64]) -> usize
pub fn count_missing_simd(data: &[f64]) -> usize
Optimized missing value detection using SIMD
Sourcepub fn batch_distances_simd(
query_point: &[f64],
data_points: &Array2<f64>,
metric: &str,
) -> Vec<f64>
pub fn batch_distances_simd( query_point: &[f64], data_points: &Array2<f64>, metric: &str, ) -> Vec<f64>
Optimized batch distance calculation for KNN
Auto Trait Implementations§
impl Freeze for SimdImputationOps
impl RefUnwindSafe for SimdImputationOps
impl Send for SimdImputationOps
impl Sync for SimdImputationOps
impl Unpin for SimdImputationOps
impl UnwindSafe for SimdImputationOps
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> 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