Description Usage Arguments Value Author(s) References See Also Examples
View source: R/performanceIndex.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
) for each mutual information threshold.
1 | performanceIndex(testNet, gsNet)
|
testNet |
a predicted adjacency matrix to evaluate. |
gsNet |
the true adjacency matrix. |
The performanceIndex
function returns a data.frame with the considered
performance indices for each mutual information threshold.
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,
performanceNET
1 2 3 4 5 6 7 | 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)
valML <- performanceIndex(miML, adjMat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.