fit_a_nef.metrics

Functions

iou(occ1, occ2)

Computes the Intersection over Union (IoU) value for two sets of occupancy values.

kmeans(feats, k[, niter, gpu])

Compute K-means clustering on the given features.

mae(a, b)

Vectorized version of mae.

mse(a, b)

Vectorized version of mse.

nmi(feats, labels, k[, niter, gpu])

psnr(image, ground_truth, mean, std)

Vectorized version of psnr.

rmse(a, b)

Vectorized version of rmse.

simse(a, b)

Vectorized version of simse.

ssim(a, b[, max_val, filter_size, ...])

Vectorized version of ssim.