pub struct SignedEmbedConfig {
pub dim: usize,
pub n_iter: usize,
pub lr: f64,
pub neg_sample: usize,
}Expand description
Configuration for signed graph spectral embedding (SPONGE / ratio-cut).
Fields§
§dim: usizeEmbedding dimension.
n_iter: usizeNumber of power-iteration steps.
lr: f64Learning rate (used in gradient-based optimisation stages).
neg_sample: usizeNumber of negative samples (used in sampling-based objectives).
Trait Implementations§
Source§impl Clone for SignedEmbedConfig
impl Clone for SignedEmbedConfig
Source§fn clone(&self) -> SignedEmbedConfig
fn clone(&self) -> SignedEmbedConfig
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 SignedEmbedConfig
impl Debug for SignedEmbedConfig
Auto Trait Implementations§
impl Freeze for SignedEmbedConfig
impl RefUnwindSafe for SignedEmbedConfig
impl Send for SignedEmbedConfig
impl Sync for SignedEmbedConfig
impl Unpin for SignedEmbedConfig
impl UnsafeUnpin for SignedEmbedConfig
impl UnwindSafe for SignedEmbedConfig
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> 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