indicators {SELF} | R Documentation |
Calculate the f1,precision,recall score of the graph
Description
Calculate the f1,precision,recall score of the graph
Usage
indicators(pred, real)
Arguments
pred |
Predicted graph |
real |
Real graph |
Value
f1,precision,recall score.
Examples
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)
[Package SELF version 0.1.1 Index]