Evaluate

Submodules

kale.evaluate.metrics module

kale.evaluate.metrics.concord_index(y, y_pred)

Calculate the Concordance Index (CI), which is a metric to measure the proportion of concordant pairs between real and predict values.

Parameters
  • y (array) – real values.

  • y_pred (array) – predicted values.

kale.evaluate.metrics.auprc_auroc_ap(target: Tensor, score: Tensor)

auprc: area under the precision-recall curve auroc: area under the receiver operating characteristic curve ap: average precision

Copy-paste from https://github.com/NYXFLOWER/GripNet

Module contents