pub struct UmapParams {
pub min_dist: f64,
pub epochs: u32,
pub distances_are_weights: bool,
}Expand description
Parameters for the UMAP layout algorithm.
Fields§
§min_dist: f64Minimum distance parameter controlling embedding tightness. Typical values: 0.0 to 1.0. Default: 0.01.
epochs: u32Number of SGD epochs. Typical values: 30 to 500. Default: 500.
distances_are_weights: boolWhether distances are pre-computed weights (skip weight computation).
Default: false.
Trait Implementations§
Source§impl Clone for UmapParams
impl Clone for UmapParams
Source§fn clone(&self) -> UmapParams
fn clone(&self) -> UmapParams
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 UmapParams
impl Debug for UmapParams
Auto Trait Implementations§
impl Freeze for UmapParams
impl RefUnwindSafe for UmapParams
impl Send for UmapParams
impl Sync for UmapParams
impl Unpin for UmapParams
impl UnsafeUnpin for UmapParams
impl UnwindSafe for UmapParams
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