Description Usage Arguments Details Value Examples
Weighted Norm
1 | weighted_norm(X, W, p = 1)
|
X |
Numeric matrix of size n*K. |
W |
Numeric matrix of size K*K. When |
p |
Numeric scalar. See |
Computes
[(x_i - x_j) %*% W %*% (x_i - x_j)]^(p/2), for all i, j
A square matrix of size n * n.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.