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

def __init__(self, featureExtractors=[], flavor='Tree', flavorDict=None):

    if (not ORANGE_ENABLED):
        logger.warning("I'm    sorry,    but    you    need    the    orange    machine    learning    library    installed    to    use    this")
        return None
    self.mClassNames = []
    self.mDataSetRaw = []
    self.mDataSetOrange = []
    self.mClassifier = None
    self.mLearner = None
    self.mTree = None
    self.mFeatureExtractors = None
    self.mOrangeDomain = None
    self.mFlavorParams = None
    self.mFlavor = self.mTreeTypeDict[flavor]
    if (flavorDict is None):
        if (self.mFlavor == self.mTreeTypeDict['Bagged']):
            self.mFlavorParams = self.mBaggedFlavorDict
        elif (self.mFlavor == self.mTreeTypeDict['Forest']):
            self.mFlavorParams = self.mforestFlavorDict
        elif (self.mFlavor == self.mTreeTypeDict['Boosted']):
            self.mFlavorParams = self.mBoostedFlavorDict
    else:
        self.mFlavorParams = flavorDict
    self.mFeatureExtractors = featureExtractors
