softvoting专题

softVoting Classifier

还是加载上一节的数据 #%% soft voting classifiervoting_clf2 = VotingClassifier(estimators=[('log_clf',LogisticRegression()),('svm_clf',SVC(probability=True)),('dt_clf',DecisionTreeClassifier())],voting='soft')