Bayesian Hyperparameter Optimisation (Gaussian-Process Expected Improvement)
Bayesian hyperparameter optimisation tunes a learner by fitting a Gaussian-process surrogate to the cross-validated scores already evaluated and choosing each next configuration where expected improvement over the best score is largest.
베이지안 하이퍼파라미터 최적화는 이미 평가한 교차검증 점수에 가우시안 과정 대리모형을 적합하고, 최고 점수 대비 기대 개선량이 가장 큰 설정을 다음에 평가하며 학습기를 조율하는 방법입니다.
Grid search over my gradient boosting settings is taking forever; how can I find good hyperparameters with only about thirty model fits?
그래디언트 부스팅의 격자 탐색이 너무 오래 걸리는데, 서른 번 정도의 모형 적합만으로 좋은 하이퍼파라미터를 찾을 수 있을까요?
Treat the cross-validated score as an unknown function of the hyperparameters, model it with a Gaussian process and evaluate next the setting with the highest expected improvement. With a few dozen evaluations this usually reaches scores that random or grid search needs many more fits to find.
When to use Bayesian Hyperparameter Optimisation (Gaussian-Process Expected Improvement)
- Each evaluation (a full cross-validation) is expensive.
- There are a handful of continuous or integer hyperparameters with known ranges.
- You want a convergence trace and a fair comparison with random search at the same budget.
When to use something else
- The search space has many categorical or conditional parameters; use random search or a tree-structured Parzen estimator.
- You need an unbiased estimate of the tuned model's performance; wrap the tuning in nested cross-validation.
Assumptions and requirements
- The CV score changes smoothly with the (log-scaled) hyperparameters.
- The same folds are reused for every configuration, so differences reflect the settings.
- Supported learners are random forest, gradient boosting, SVM and elastic net with built-in default ranges.
What the analysis reports
- Best configuration and its cross-validated score
- Evaluation trace with the best score so far
- Random-search result at the same budget for comparison
How to report it
Bayesian optimisation with a Gaussian-process surrogate and expected improvement ([value] evaluations, [value]-fold CV) selected [hyperparameters] for the [model], with a cross-validated [metric] of [value]; random search with the same budget reached [value].
Related methods
- Random Search Hyperparameter Tuning
- Nested Cross-Validation
- Gaussian Process Regression
How this method is validated
이 방법의 검증 근거
- Automated tests. Checked by automated run tests; no external reference comparison is recorded yet.
자동 시험. 자동 실행 시험을 거칩니다. 외부 참조값과 대조한 기록은 아직 없습니다.
Run Bayesian Hyperparameter Optimisation (Gaussian-Process Expected Improvement) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Automated run tests; no external reference comparison yet
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.