accuracy: Computes the accuracy between two matrices

View source: R/utils.R

accuracyR Documentation

Computes the accuracy between two matrices

Description

Computes the accuracy between two matrices

Usage

accuracy(Wtrue, West, eps = 1e-04)

Arguments

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

Examples

library(spectralGraphTopology)
X <- L(c(1, 0, 1))
accuracy(X, X)

spectralGraphTopology documentation built on March 18, 2022, 7:35 p.m.