powered by
Calculates sigmas for a distance matrix
calculateVariableSigmas(d, knn)
Square distance matrix with 0 diagonal
Number of nearest neighbours to use for calculation
Returns a vector of sigmas
Calculates sigmas for a distance matrix Using Laleh Hagherverdi's method
# NOT RUN { sigmas <- calculateVariableSigmas(dist, 5) # }
Run the code above in your browser using DataLab