pub fn make_affinity_continuous<T>(
data: &MatRef<'_, T>,
distance_type: &str,
k: usize,
mu: T,
normalise: bool,
) -> Mat<T>Expand description
Generates an affinity matrix for SNF on continuous values
§Params
data- The underlying data. Assumes the orientation features x samples!distance_type- One of the implemented distances.k- Number of neighbours to considermu- Controls the Gaussian kernel strengthnormalise- Shall the data be normalised prior to distance calculation
§Returns
The affinity matrix based on continuous values