pub struct GromovWasserstein { /* private fields */ }Expand description
Gromov-Wasserstein distance calculator
Implementations§
Source§impl GromovWasserstein
impl GromovWasserstein
Sourcepub fn new(regularization: f64) -> Self
pub fn new(regularization: f64) -> Self
Create a new Gromov-Wasserstein calculator
§Arguments
regularization- Entropy regularization (0.01-0.1 typical)
Sourcepub fn with_max_iterations(self, max_iter: usize) -> Self
pub fn with_max_iterations(self, max_iter: usize) -> Self
Set maximum iterations
Sourcepub fn with_threshold(self, threshold: f64) -> Self
pub fn with_threshold(self, threshold: f64) -> Self
Set convergence threshold
Trait Implementations§
Source§impl Clone for GromovWasserstein
impl Clone for GromovWasserstein
Source§fn clone(&self) -> GromovWasserstein
fn clone(&self) -> GromovWasserstein
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GromovWasserstein
impl RefUnwindSafe for GromovWasserstein
impl Send for GromovWasserstein
impl Sync for GromovWasserstein
impl Unpin for GromovWasserstein
impl UnsafeUnpin for GromovWasserstein
impl UnwindSafe for GromovWasserstein
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