accuracy {spectralGraphTopology} | R Documentation |
Computes the accuracy between two matrices
accuracy(Wtrue, West, eps = 1e-04)
Wtrue |
true matrix |
West |
estimated matrix |
eps |
real number such that edges whose values are smaller than eps are not considered in the computation of the fscore |
library(spectralGraphTopology)
X <- L(c(1, 0, 1))
accuracy(X, X)