baby.performance

Functions

best_IoU(IoUs)

Return the IoUs for the best-matching pairs

calc_AP(IoUs[, probs, iou_thresh])

Calculate the Average Precision from the matrix of IoU terms

calc_IoUs(true_segs, pred_segs[, fill_holes])

calc_PR(IoUs[, iou_thresh])

Calculate precision and recall from IoU matrix

edge_prob(cnn_output, segs)

flattener_seg_probs(cnn_output, flattener, segs)

Estimate the probability of segmentation from flattener CNN