from sklearn.tree import Decision Tree Classifier # 导入决策树模型 model1 = Decision Tree Classifier(random_state=1) # model1-决策树 test_pred1 , train_pred1 = Stacking(model=model1, n_fold=10,