Description Usage Arguments Value Author(s) References See Also Examples
View source: R/performanceNET.R
A function that computes the peformance indices (i.e. "Recall", "FPR", "Precision",
"Accuracy", "Fscore") between a predicted adjacency matrix (testNet
)
and a true one (gsNet
) when the false interactions are already removed.
1 | performanceNET(predAdjMat, valAdjMat)
|
predAdjMat |
a predicted adjacency matrix to evaluate when the false interactions are already removed. |
valAdjMat |
the true adjacency matrix. |
The performanceIndex
function returns a data.frame with the considered
performance indices.
Luciano Garofano lucianogarofano88@gmail.com, Stefano Maria Pagnotta, Michele Ceccarelli
Stehman, S.V. (1997). Selecting and interpreting measures of thematic classification accuracy. Remote Sensing of Environment 62 (1): 77-89.
simulatedData,
mainNetFunction,
performanceIndex
1 2 3 4 5 6 7 8 9 | simData <- simulatedData(p = 10, n = 20, mu = 100, sigma = 0.25,
ppower = 0.73, noise = FALSE)
counts <- simData$counts
adjMat <- simData$adjMat
miML <- parMIEstimate(counts, method = "ML", unit = "nat", nchips = 2)
miML <- aracne.a(miML, eps = 0.5)
valML <- performanceNET(miML, adjMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.