Module linfa_reduction::utils [−][src]
Functions
Generate blob_size
data points (a “blob”) around blob_centroid
.
Given an input matrix blob_centroids
, with shape (n_blobs, n_features)
,
generate blob_size
data points (a “blob”) around each of the blob centroids.
Generates a three dimension swiss roll, centered at the origin with height height
and
outwards speed speed
Computes a similarity matrix with gaussian kernel and scaling parameter eps