Open Rishabvanigotha123 opened 1 year ago
Have you managed to fix this?
This is the correct way to set a list of classifiers, is not a list of strings:
from sklearn.utils import all_estimators from sklearn.base import ClassifierMixin
removed_classifiers = [ "ClassifierChain", "ComplementNB", "GradientBoostingClassifier", "GaussianProcessClassifier", "HistGradientBoostingClassifier", "MLPClassifier", "LogisticRegressionCV", "MultiOutputClassifier", "MultinomialNB", "OneVsOneClassifier", "OneVsRestClassifier", "OutputCodeClassifier", "RadiusNeighborsClassifier", "VotingClassifier", 'SVC','LabelPropagation','LabelSpreading','NuSV','CategoricalNB '] classifiers_list = [est for est in all_estimators() if (issubclass(est[1], ClassifierMixin) and (est[0] not in removed_classifiers))]
i tried to specify few classifiers names in LazyClassfier functionbut it ended up with the following error ValueError: too many values to unpack (expected 2)
i gave classifiers = ['LogisticRegression','RandomForest','SVC'] as the input in LazyClassfier function