def get_tree_explanation(tree, v):
    t = tree.tree_
    nonzero = v.nonzero()[1]
    current = 0
    left_child = t.children_left[current]
    exp = set()
    while left_child != sklearn.tree._tree.TREE_LEAF:
        left_child = t.children_left[current]
        right_child = t.children_right[current]
        f = t.feature[current]
        if nonzero in f:
            exp.add(f)
        if v[0,f] < t.threshold[current]:
            current = left_child
        else:
            current = right_child
    return exp
dataset/ETHPy150Open marcotcr/lime-experiments/evaluate_explanations.py/get_tree_explanation/swapped operands of `in`