Description Usage Arguments Value References Examples
View source: R/kernel_functions.R
This is the kernel from the Ng spectral clustering algorithm. It takes a global sigma which requires tuning for new datasets in most cases. It is possible to use the sigma_finder function to find a sigma for a dataset. Sigma is assumed to be squared already.
1 |
data |
Data frame or matrix: with points as columns, features as rows |
sigma |
Numerical value: a global sigma that controls the drop off in affinity |
A similarity matrix of the input data
Ng, Andrew Y., Michael I. Jordan, and Yair Weiss. "On spectral clustering: Analysis and an algorithm." Advances in neural information processing systems. 2002.
1 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.