Grid search(网格搜索):一种常用的超参数调优方法。它会在预先设定的参数取值“网格”上穷举所有组合,通过交叉验证或验证集评估,选出表现最好的参数配置。(在机器学习、统计建模与优化中很常见。)
/ɡrɪd sɝːtʃ/
We used grid search to choose the best learning rate.
我们用网格搜索来选择最佳学习率。
After defining a grid of values for C and gamma, the team ran grid search with cross-validation to find the hyperparameters that minimized validation error on the classification task.
在为 C 和 gamma 设定了一组取值网格后,团队通过交叉验证运行网格搜索,找出能在该分类任务上使验证误差最小的超参数。
grid 原意为“格子、网格”(指像方格纸一样的结构),search 意为“搜索”。合起来的 grid search 字面意思就是“在网格上搜索”,对应其做法:在离散的参数格点上逐一尝试并比较结果。该术语在机器学习与统计学习领域中广泛使用,用来描述系统化的参数穷举调参流程。