transformedWeights | R Documentation |
Enumerate Transformed Weights for Choosing i and j Non-Uniformly
transformedWeights(m, fn = function(x) x, eps = 1e-12)
m |
A square matrix of pairwise similarilities between items |
fn |
A function that maps pairwise similarities. Default is the identity function. |
eps |
A numeric value close to 0 to give some nonzero weight to pairs of items with 0 or 1 pairwise similarity |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.