pub struct EvocParams<T> {
pub n_neighbours: usize,
pub noise_level: T,
pub n_epochs: usize,
pub embedding_dim: Option<usize>,
pub neighbour_scale: T,
pub symmetrise: bool,
pub min_samples: usize,
pub base_min_cluster_size: usize,
pub approx_n_clusters: Option<usize>,
pub min_similarity_threshold: f64,
pub max_layers: usize,
}Expand description
Parameters for EVoC clustering.
Fields§
§n_neighbours: usizeNumber of nearest neighbours for graph construction.
noise_level: TNoise level for the embedding gradient (0.0 = aggressive, 1.0 = conservative).
n_epochs: usizeNumber of embedding optimisation epochs.
embedding_dim: Option<usize>Embedding dimensionality. If None, defaults to
min(max(n_neighbours / 4, 4), 16).
neighbour_scale: TMultiplier on effective neighbours for fuzzy graph construction.
symmetrise: boolWhether to symmetrise the fuzzy graph.
min_samples: usizeMinimum samples for core distance in MST density estimation.
base_min_cluster_size: usizeBase minimum cluster size for the finest layer.
approx_n_clusters: Option<usize>If set, binary-search for approximately this many clusters (single layer output).
min_similarity_threshold: f64Jaccard similarity threshold for filtering redundant layers.
max_layers: usizeMaximum number of cluster layers to return.
Trait Implementations§
Source§impl<T: Clone> Clone for EvocParams<T>
impl<T: Clone> Clone for EvocParams<T>
Source§fn clone(&self) -> EvocParams<T>
fn clone(&self) -> EvocParams<T>
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<T: Debug> Debug for EvocParams<T>
impl<T: Debug> Debug for EvocParams<T>
Auto Trait Implementations§
impl<T> Freeze for EvocParams<T>where
T: Freeze,
impl<T> RefUnwindSafe for EvocParams<T>where
T: RefUnwindSafe,
impl<T> Send for EvocParams<T>where
T: Send,
impl<T> Sync for EvocParams<T>where
T: Sync,
impl<T> Unpin for EvocParams<T>where
T: Unpin,
impl<T> UnsafeUnpin for EvocParams<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for EvocParams<T>where
T: UnwindSafe,
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> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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