def _classifiers(self):
        """
        Get a set of supported classifiers.

        Returns
        -------
        classifiers : {set}
            The set of supported classifiers.
        """

        # sklearn version < 0.18.0
        classifiers = (
            AdaBoostClassifier,
            BernoulliNB,
            DecisionTreeClassifier,
            ExtraTreesClassifier,
            GaussianNB,
            KNeighborsClassifier,
            LinearSVC,
            NuSVC,
            RandomForestClassifier,
            SVC,
        )

        # sklearn version >= 0.18.0
        if self.sklearn_ver[:2] >= (0, 18):
            from sklearn.neural_network.multilayer_perceptron \
                import MLPClassifier
            classifiers += (MLPClassifier, )

        return classifiers
def _classifiers ( self ) : classifiers = ( AdaBoostClassifier , BernoulliNB , DecisionTreeClassifier , ExtraTreesClassifier , GaussianNB , KNeighborsClassifier , LinearSVC , NuSVC , RandomForestClassifier , SVC , ) if self . sklearn_ver [ : 2 ] >= ( 0 , 18 ) : from sklearn . neural_network . multilayer_perceptron import MLPClassifier classifiers += ( MLPClassifier , ) return classifiers
Get a set of supported classifiers.

        Returns
        -------
        classifiers : {set}
            The set of supported classifiers.