#[non_exhaustive]pub struct FunHddcConfig {
pub k: usize,
pub d_k: usize,
pub max_iter: usize,
pub tol: f64,
pub n_init: usize,
pub seed: u64,
pub ncomp_init: usize,
}Expand description
Configuration for funHDDC per-group subspace clustering.
Implements the AkBk model from Bouveyron & Brunet (2012):
each group k has d_k leading eigenvectors (intrinsic subspace) plus an
isotropic residual noise variance on the complement.
Note: This is a single representative model and does not implement
the full six-model akjbkqkdk family offered by the R funHDDC package.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.k: usizeNumber of clusters (default: 2).
d_k: usizeIntrinsic subspace dimension per group (default: 2).
max_iter: usizeMaximum EM iterations per restart (default: 100).
tol: f64Log-likelihood convergence tolerance (default: 1e-6).
n_init: usizeNumber of random restarts; best result by log-likelihood is returned (default: 3).
seed: u64Base random seed; restart i uses seed + i * 1000 (default: 42).
ncomp_init: usizeNumber of global FPCA components used for initialisation features (default: 10).
Trait Implementations§
Source§impl Clone for FunHddcConfig
impl Clone for FunHddcConfig
Source§fn clone(&self) -> FunHddcConfig
fn clone(&self) -> FunHddcConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FunHddcConfig
impl Debug for FunHddcConfig
Source§impl Default for FunHddcConfig
impl Default for FunHddcConfig
Source§impl PartialEq for FunHddcConfig
impl PartialEq for FunHddcConfig
impl StructuralPartialEq for FunHddcConfig
Auto Trait Implementations§
impl Freeze for FunHddcConfig
impl RefUnwindSafe for FunHddcConfig
impl Send for FunHddcConfig
impl Sync for FunHddcConfig
impl Unpin for FunHddcConfig
impl UnsafeUnpin for FunHddcConfig
impl UnwindSafe for FunHddcConfig
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
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> ⓘ
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> ⓘ
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.