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]
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
Auto Trait Implementations
impl RefUnwindSafe for DiffusionMapParams
impl RefUnwindSafe for DiffusionMapParamsimpl Send for DiffusionMapParams
impl Send for DiffusionMapParamsimpl Sync for DiffusionMapParams
impl Sync for DiffusionMapParamsimpl Unpin for DiffusionMapParams
impl Unpin for DiffusionMapParamsimpl UnwindSafe for DiffusionMapParams
impl UnwindSafe for DiffusionMapParams