Description Usage Arguments Examples
computes F1 score for jointnet result
1 2 |
result |
output generated from any one of the jointnet algorithms |
simulatedgraphs |
$simulatedgraphs from function simulation() |
... |
unused |
1 2 3 4 5 6 7 8 | library(JointNets)
simulationresult = simulation(p = 20, n = c(100,100))
truth = simulationresult$simulatedgraphs
result = kdiffnet(simulationresult$simulatedsamples[[1]],
simulationresult$simulatedsamples[[2]],
W = matrix(1,20,20), g = rep(0,20),epsilon = 0.2,
lambda = 0.4,covType = "cov")
F1(result,truth)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.