in util.py [0:0]
def true_positive(self, rule):
cache_key = get_cache_key(rule, self.df)
if cache_key in cache.keys():
(q, tps, fps, nc) = cache[cache_key]
return tps
tp_coverage = self.coverage(rule, self.pos_df)
return {u_id for u_id, row in tp_coverage.iterrows()}