pub struct ClusteringConfig {
pub k: usize,
pub num_eigenvectors: usize,
pub power_iters: usize,
pub kmeans_iters: usize,
pub seed: u64,
}Expand description
Spectral clustering configuration
Fields§
§k: usizeNumber of clusters
num_eigenvectors: usizeNumber of eigenvectors to use
power_iters: usizePower iteration steps for eigenvector approximation
kmeans_iters: usizeK-means iterations
seed: u64Random seed
Trait Implementations§
Source§impl Clone for ClusteringConfig
impl Clone for ClusteringConfig
Source§fn clone(&self) -> ClusteringConfig
fn clone(&self) -> ClusteringConfig
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 ClusteringConfig
impl Debug for ClusteringConfig
Auto Trait Implementations§
impl Freeze for ClusteringConfig
impl RefUnwindSafe for ClusteringConfig
impl Send for ClusteringConfig
impl Sync for ClusteringConfig
impl Unpin for ClusteringConfig
impl UnwindSafe for ClusteringConfig
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