def split(children):
    field = set([child.predicate.field for child in children])

    if len(field) == 1:
        return field.pop()
Returns the field that is used by the node to make a decision.
dataset/ETHPy150Open bigmlcom/python/bigml/util.py/split