jaccard_indicator_comp | R Documentation |
Perform the computations for thresholded Jaccard distance
jaccard_indicator_comp(gs, eps)
gs |
a list of integer vectors, one for each row, giving the column
indices of the non-zero elements of the row or |
eps |
an upper bound on the Jaccard distance ( |
This function is optimized for sparse matrices and computes the pairwise
Jaccard distances between the rows of the input matrix. Note that the
actual distance is not saved. Instead, a threshold (eps
) is supplied
and an indicator matrix is returned, with a one indicating that the
distance is smaller than eps
(equivalently, the Jaccard similarity
is larger than 1 - eps
).
A list with row and column indices in the #row x #row indicator
matrix specifying which rows in the original matrix had a distance
of at most eps
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.