pub struct StatisticalOutlierConfig {
pub k_neighbors: usize,
pub std_mul: f32,
}Expand description
Configuration for StatisticalOutlierRemoval.
Fields§
§k_neighbors: usizeNumber of nearest neighbors averaged per point.
std_mul: f32Standard-deviation multiplier; points whose mean neighbor distance
exceeds global_mean + std_mul * global_std are removed.
Implementations§
Source§impl StatisticalOutlierConfig
impl StatisticalOutlierConfig
Sourcepub const fn new(k_neighbors: usize, std_mul: f32) -> StatisticalOutlierConfig
pub const fn new(k_neighbors: usize, std_mul: f32) -> StatisticalOutlierConfig
Creates a config from the neighbor count and std multiplier.
Trait Implementations§
Source§impl Clone for StatisticalOutlierConfig
impl Clone for StatisticalOutlierConfig
Source§fn clone(&self) -> StatisticalOutlierConfig
fn clone(&self) -> StatisticalOutlierConfig
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 moreSource§impl Debug for StatisticalOutlierConfig
impl Debug for StatisticalOutlierConfig
Source§impl Default for StatisticalOutlierConfig
impl Default for StatisticalOutlierConfig
Source§fn default() -> StatisticalOutlierConfig
fn default() -> StatisticalOutlierConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for StatisticalOutlierConfig
impl PartialEq for StatisticalOutlierConfig
impl Copy for StatisticalOutlierConfig
impl StructuralPartialEq for StatisticalOutlierConfig
Auto Trait Implementations§
impl Freeze for StatisticalOutlierConfig
impl RefUnwindSafe for StatisticalOutlierConfig
impl Send for StatisticalOutlierConfig
impl Sync for StatisticalOutlierConfig
impl Unpin for StatisticalOutlierConfig
impl UnsafeUnpin for StatisticalOutlierConfig
impl UnwindSafe for StatisticalOutlierConfig
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