def getitem(self, key):
        with self.lock:
            return self.tbl[key]
Compute average precision (AP) from prediction scores
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/Bunch.py/threadSafeBunch.getitem--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/metrics/ranking.py/average_precision_score