powered by
Calculate the f1,precision,recall score of the graph
indicators(pred, real)
Predicted graph
Real graph
f1,precision,recall score.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab