所以我正在用RandomForest和GridsearchCV做一些参数方面的事情。这是我的代码。#Import 'GridSearchCV' and 'make_scorer'from sklearn.metrics(RandomForestClassifier(), parameters)
#Make an f1 scoring function using &
from sklearn.model_selection import GridSearchCV grid={svm_grid.score(xtrain,ytrain)svm_grid.score(xtest,ytest)我的问题是,即使在执行GridSearch后,为什么模型仍然过拟合,以及如何进一步提高精度和战斗过度。