GridSearchCV实际上可以看做是for循环输入一组参数后再比较哪种情况下最优.
参考:https://machinelearningmastery.com/grid-search-hyperparameters-deep-learning-models-python-keras/
https://blog.csdn.net/weixin_41988628/article/details/83098130
原文:https://www.cnblogs.com/xxswkl/p/11072795.html