'dist = distance algorithm
k = number of nearest neighbors'

def __init__(self, featureExtractors, k=1, dist=None):

    if (not ORANGE_ENABLED):
        logger.warning('The    required    orange    machine    learning    library    is    not    installed')
        return None
    self.mDistDict = {'Hamming': orange.ExamplesDistanceConstructor_Hamming(), 'Maximal': orange.ExamplesDistance_Maximal(), 'Manhattan': orange.ExamplesDistanceConstructor_Manhattan(), 'Euclidean': orange.ExamplesDistanceConstructor_Euclidean(), 'Normalized': None}
    self.mFeatureExtractors = featureExtractors
    if (dist is not None):
        self.mDistType = self.mDistDict[dist]
    self.mK = k
    self.mLearner = None
    self.mClassNames = []
    self.mDataSetRaw = []
    self.mDataSetOrange = []
    self.mClassifier = None
    self.mOrangeDomain = None
