'Construct a new intent classifier using the sklearn framework.'

def __init__(self, clf=None, le=None):

    from sklearn.preprocessing import LabelEncoder
    if (le is not None):
        self.le = le
    else:
        self.le = LabelEncoder()
    self.clf = clf
