Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道这GridSearchCV将通过使用 k-fold cv 找到“最佳”超参数。但是在找到那些超参数之后,是否会GridSearchCV用整个数据集再次训练模型以获得可训练的参数?或者它只用产生最佳超参数的折叠训练模型?
GridSearchCV
根据 sklearn文档:
查找关键字refit默认为True. 我相信这回答了你的问题。
refit
True