R/knn_weights.R
normalized_heat_kernel.Rd
normalized_heat_kernel
normalized_heat_kernel(x, sigma = 0.68, len)
the distances
the bandwidth
the normalization factor (e.g. the length of the feature vectors)
Numeric vector/matrix of normalized heat kernel values.
normalized_heat_kernel(c(1,2), sigma = .5, len = 4) #> [1] 0.7788008 0.3678794