Commit 79ec1ba
committed
[ML] Stabilise Bayesian optimisation debug test
The testMaximumExpectedImprovement test was failing intermittently on
Windows and macOS debug builds. With only 10 trials and a 0.7 win rate
threshold, variance was too high for reliable results given the reduced
number of BO iterations in debug mode.
Use 20 trials with 10 iterations each (similar total runtime) and lower
the threshold to 0.5. This gives a more stable win rate estimate while
still verifying that BO outperforms random search.
Made-with: Cursor1 parent c40b317 commit 79ec1ba
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
0 commit comments