| false_omission_rate | R Documentation |
Computes false omission rate from two PDAG caugi::caugi objects.
It converts the caugi::caugi objects to adjacency matrices and computes
false omission rate as FN/(FN + TN), where FN are false negatives and
TN are true negatives. If FN + TN = 0, 1 is returned.
Only supports caugi::caugi objects whose edges are restricted to
-->, <->, ---, or absence of an edge.
false_omission_rate(truth, est, type = c("adj", "dir"))
truth |
A caugi::caugi object representing the truth graph. |
est |
A caugi::caugi object representing the estimated graph. |
type |
Character string specifying the comparison type:
|
A numeric in [0,1].
Other metrics:
confusion(),
evaluate(),
f1_score(),
fdr(),
g1_score(),
npv(),
precision(),
recall(),
reexports,
specificity()
cg1 <- caugi::caugi(A %-->% B + C)
cg2 <- caugi::caugi(B %-->% A + C)
false_omission_rate(cg1, cg2, type = "adj")
false_omission_rate(cg1, cg2, type = "dir")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.