evaluate compares the inferred network to the true
underlying network for several threshold values and appends the
resulting confusion matrices to the returned object.
An adjacency matrix representing the inferred network.
An adjacency matrix representing the true underlying network.
Logical, make a symmetric evaluation (default = TRUE).
Integer, specifying the desired number of links to extend in the network (default=0)
The first edgelist network
inet is compared to the true
tnet, in order to compute the
metrics of the performance.
If extend is specified,
extend links that network
inet has set to 0 are added to the inferred network
randomly at the end of the edgelist.
evaluate returns a matrix with four columns representing
These values are computed for each of the predicted links that
should be sorted. Thus, each row of the returned object contains
the confusion matrix as a function of the cutoff in the edgelist.
1 2 3 4 5
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.