F1: Compute F1 score for JointNets result

Description Usage Arguments Value Author(s) Examples

View source: R/F1.R

Description

Compute F1 score for JointNets result

Usage

1
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))

Author(s)

Zhaoyang Wang (Author), Zhaoyang Wang (maintainer) zw4dn@virginia.edu

Examples

1
2
3
4
5
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)

JointNets documentation built on July 30, 2019, 1:02 a.m.

Related to F1 in JointNets...