Learn R Programming

JointNets (version 2.0.1)

F1: Compute F1 score for JointNets result

Description

Compute F1 score for JointNets result

Usage

F1(result, simulatedgraphs, ...)

Arguments

result

output generated from any one of the jointnet algorithms

simulatedgraphs

$simulatedgraphs from function simulation()

...

unused

Value

F1 scores (F1 score for each context and the shared part (for simule and wsimule))

Examples

Run this code
# NOT RUN {
library(JointNets)
simulationresult = simulation(p = 20,  n = c(100,100))
truth = simulationresult$simulatedgraphs
result = simule(simulationresult$simulatedsamples, 0.2, 0.5, covType = "cov", FALSE)
F1(result,truth)
# }

Run the code above in your browser using DataLab