powered by
Compute the accuracy of a fit
accuracy(reference_m, a)
A numeric value between 0 and 1 representing the accuracy of the fit, computed as the proportion of correctly identified zero/non-zero entries.
the matrix to use as reference
the matrix obtained from a fit