indicators: Calculate the f1,precision,recall score of the graph

Description Usage Arguments Value Examples

Description

Calculate the f1,precision,recall score of the graph

Usage

1

Arguments

pred

Predicted graph

real

Real graph

Value

f1,precision,recall score.

Examples

1
2
3
pred<-matrix(c(0,0,0,0,1,0,1,1,0),nrow=3,ncol=3)
real<-matrix(c(0,0,0,0,1,0,1,0,0),nrow=3,ncol=3)
indicators(pred,real)

DMIRLAB-Group/SELF documentation built on May 28, 2019, 12:18 p.m.