Struct linfa_reduction::diffusion_map::DiffusionMapParams [−][src]
Diffusion map hyperparameters
The diffusion map algorithms has only two explicit hyperparameter. The first is the stepsize. As the algorithm calculates the closeness of points after a number of steps taken in the diffusion graph, a larger step size introduces a more global behaviour of the projection while a smaller one (especially one) just projects close obserations closely together. The second parameter is the embedding size and defines the target dimensionality.
Fields
steps: usizeembedding_size: usizeImplementations
impl DiffusionMapParams[src]
pub fn steps(self, steps: usize) -> Self[src]
Set the number of steps in the diffusion operator
The diffusion map algorithm expresses the transition probability with a kernel matrix and then takes multiple steps along the diffusion operator. This scales in practice the eigenvalues of the decomposition exponentially with the number of steps.
pub fn validate(&self) -> Result<()>[src]
Validates the parameter
Trait Implementations
impl<'a, F: Float + Lapack> Transformer<&'a KernelBase<ArrayBase<OwnedRepr<F>, Dim<[usize; 2]>>, CsMatBase<F, usize, Vec<usize, Global>, Vec<usize, Global>, Vec<F, Global>, usize>>, Result<DiffusionMap<F>, Error>> for DiffusionMapParams[src]
Auto Trait Implementations
impl RefUnwindSafe for DiffusionMapParams
impl Send for DiffusionMapParams
impl Sync for DiffusionMapParams
impl Unpin for DiffusionMapParams
impl UnwindSafe for DiffusionMapParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,