huge_roc
Usage
huge_roc(path, theta, verbose=True, plot=False) -> HugeRocResult
Description
Native ROC computation across graph path estimates.
Key arguments
path: sequence of adjacency matricestheta: ground-truth adjacency matrix containing at least one edge and one absent off-diagonal edgeplot: ifTrue, draw ROC curve via matplotlib helper
Returns
HugeRocResult with:
f1: F1-score arraytp: true-positive-rate arrayfp: false-positive-rate arrayauc: area under ROC curve
ROC/AUC is undefined for a one-class truth matrix, which is rejected with a clear error.