
Wrapper function to generate diffusion maps parameters
Source:R/params-examples.R, R/params-generated.R
params_diffusion_maps.RdWrapper function to generate diffusion maps parameters
Arguments
- bandwidth_scale
Numeric. Multiplicative factor applied to the adaptive kernel bandwidth. Defaults to
1.0.- thresh
Numeric. Sparsity threshold applied to kernel entries. Defaults to
1e-04.- graph_symmetry
String. Method used to symmetrise the affinity graph. One of
c("additive", "multiplicative", "mnn", "none"). Defaults to"additive".- alpha_norm
Numeric. Anisotropic density-correction exponent.
0gives the normalised graph Laplacian,0.5the Fokker-Planck operator,1the Laplace-Beltrami operator. Defaults to1.0.- t_max
Integer. Maximum diffusion time considered during automatic selection via Von Neumann entropy knee point detection. At least
3, as the knee search needs three points. Defaults to100L.- t_custom
Integer or
NULL. Fixed diffusion time. If set, overrides automatic time selection. Defaults toNULL.- n_landmarks
Integer or
NULL. Number of landmarks for compressed diffusion. IfNULL, or at least the number of samples, the full N x N diffusion operator is used. Keepka small fraction of the landmark count: whenkcovers a large share of the landmarks, the landmark kernel turns broad and the later coordinates shrink towards a line. Defaults toNULL.- landmark_method
String. Method used to select landmarks. One of
c("spectral", "random", "density"). Defaults to"spectral".- n_svd
Integer or
NULL. Number of singular vectors for spectral landmark selection. IfNULL, uses100. Ignored by the other landmark methods. Defaults toNULL.
Value
A named list with the following elements:
bandwidth_scale - Numeric. Multiplicative factor applied to the adaptive kernel bandwidth. Defaults to
1.0.thresh - Numeric. Sparsity threshold applied to kernel entries. Defaults to
1e-04.graph_symmetry - String. Method used to symmetrise the affinity graph. One of
c("additive", "multiplicative", "mnn", "none"). Defaults to"additive".alpha_norm - Numeric. Anisotropic density-correction exponent.
0gives the normalised graph Laplacian,0.5the Fokker-Planck operator,1the Laplace-Beltrami operator. Defaults to1.0.t_max - Integer. Maximum diffusion time considered during automatic selection via Von Neumann entropy knee point detection. At least
3, as the knee search needs three points. Defaults to100L.t_custom - Integer or
NULL. Fixed diffusion time. If set, overrides automatic time selection. Defaults toNULL.n_landmarks - Integer or
NULL. Number of landmarks for compressed diffusion. IfNULL, or at least the number of samples, the full N x N diffusion operator is used. Keepka small fraction of the landmark count: whenkcovers a large share of the landmarks, the landmark kernel turns broad and the later coordinates shrink towards a line. Defaults toNULL.landmark_method - String. Method used to select landmarks. One of
c("spectral", "random", "density"). Defaults to"spectral".n_svd - Integer or
NULL. Number of singular vectors for spectral landmark selection. IfNULL, uses100. Ignored by the other landmark methods. Defaults toNULL.
Examples
params_diffusion_maps()
#> $bandwidth_scale
#> [1] 1
#>
#> $thresh
#> [1] 1e-04
#>
#> $graph_symmetry
#> [1] "additive"
#>
#> $alpha_norm
#> [1] 1
#>
#> $t_max
#> [1] 100
#>
#> $t_custom
#> NULL
#>
#> $n_landmarks
#> NULL
#>
#> $landmark_method
#> [1] "spectral"
#>
#> $n_svd
#> NULL
#>
params_diffusion_maps(t_max = 50L)
#> $bandwidth_scale
#> [1] 1
#>
#> $thresh
#> [1] 1e-04
#>
#> $graph_symmetry
#> [1] "additive"
#>
#> $alpha_norm
#> [1] 1
#>
#> $t_max
#> [1] 50
#>
#> $t_custom
#> NULL
#>
#> $n_landmarks
#> NULL
#>
#> $landmark_method
#> [1] "spectral"
#>
#> $n_svd
#> NULL
#>