code: def find_frequent_patterns(transactions, support_threshold):
      
      tree = FPTree(transactions, support_threshold, None, None)
      return tree.mine_patterns(support_threshold)
docs: Given a set of transactions, find the patterns in it
      over the specified support threshold.