View source: R/postprocessing.R
recall | R Documentation |
Calculate the recall of estimated links relative to true links
recall(sl.est, sl.true)
sl.est |
streaminglinks object representing link estimates |
sl.true |
streaminglinks object representing true links |
The recall of the estimated links.
data(geco_small) data(geco_small_result) sl.true <- fromentities(geco_small[[1]]$entity, geco_small[[2]]$entity, geco_small[[3]]$entity, geco_small[[4]]$entity) posterior <- extractlinks(geco_small_result) # Compare one posterior sample to previously computed known truth class(sl.true) recall(posterior[[42]], sl.true)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.