This module contains all the necessary functions for evaluating different video duplication detection techniques.
Following methods from: https://gist.github.com/bwhite/3726239¶
rs = [[1, 0, 0], [0, 1, 0], [0, 0, 0]]
mean_reciprocal_rank(rs)
r = [1, 1, 0, 1, 0, 1, 0, 0, 0, 1]
average_precision(r)
mean_average_precision(rs)
from nbdev.export import notebook2script
notebook2script()