This function computes the l_2 distance between a point and a simplex, that is the shortest l_2 distance between the given point and any point in the simplex.
A (K-1) dimensional vector, representing a point.
The K-by-(K-1) vertices matrix, with each row being a vertex.
The l_2 distance.
Ke, Z. T., & Wang, M. (2017). A new SVD approach to optimal topic estimation. arXiv preprint arXiv:1704.07016.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.