Setting a fit budget for randomized search
Randomized search samples a fixed number of configurations from specified choices or distributions before cross-validation.
RandomizedSearchCV in practice
With a budget of forty fits, four folds permit ten candidates before refitting. The sampling distribution matters for learning rates spanning orders of magnitude.
中文
随机参数搜索怎样固定实验预算?
随机搜索从指定列表或分布抽取固定数量的参数配置,再做交叉验证。
RandomizedSearchCV 应用实例
预算只够 40 次拟合,用四折可先试 10 组,不含最后重训。学习率跨多个数量级时,采样分布会显著改变探索范围。