def Lk(self, sets, candidates, support=0.0):
        Lk, x = {}, 1.0 / (len(sets) or 1) # relative count
        for s1 in candidates:
            for s2 in sets:
                if s1.issubset(s2):
                    Lk[s1] = s1 in Lk and Lk[s1] + x or x
        return dict((s, f) for s, f in Lk.items() if f >= support)
Takes one metric or a wildcard seriesList.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Apriori.Lk--crossover with--dataset/ETHPy150Open brutasse/graphite-api/graphite_api/functions.py/sortByMinima