TNR | R Documentation |
This is a function that compares the structure of two matrices A and B. It outputs the number of entries where A and B are both 0. A and B need to have the same number of rows and columns
TNR(A, B, tol = 1e-04)
A |
A matrix. |
B |
A matrix (assumed to be the ground truth).. |
tol |
tolerance for declaring the entries non zero. |
True Negative Rate (nb of values that are zero in A and zero in B / (nb of values that are zero in A))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.