def _new_instance(cls, children=None, connector=None, negated=False):
        obj = Node(children, connector, negated)
        obj.__class__ = cls
        return obj
Load the mushroom dataset, split it into X and y, and then call the label encoder to get an integer y column.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/utils/tree.py/Node._new_instance--crossover with--dataset/ETHPy150Open wdm0006/categorical_encoding/source_data/loaders.py/get_splice_data