megicparc.utils.compute_auc

megicparc.utils.compute_auc(estimated_values, true_roi)

Compute the value of the area under the receiver operating characteristic curve (AUC).

Parameters:

estimated_values: ndarray of float [Nroi x Nroi]

Estimated connectivity values for a parcellation

true_roi: array of int [2, ]

Indices of the regions containing the interacting sources

Returns:

aucfloat

AUC value