Commit 8feb6c8
Allow passing Y_samples directly in MARS.set_baseline_Y (#1364)
Summary:
Pull Request resolved: #1364
We currently sample from the model to generate `Y` to compute the `MVaR` of, and set the Pareto subset of MVaR as the `baseline_Y`. This adds an option to skip the sampling bit and provide the `Y` directly. This saves us compute in cases where we may have access to pre-computed samples and may not want to re-sample.
Reviewed By: esantorella
Differential Revision: D38950165
fbshipit-source-id: 8eb24b086a03ad0035e4018f54975d057eaa1c951 parent 2dda2e6 commit 8feb6c8
File tree
2 files changed
+35
-10
lines changed- botorch/acquisition/multi_objective
- test/acquisition/multi_objective
2 files changed
+35
-10
lines changedLines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
568 | 569 | | |
569 | 570 | | |
570 | 571 | | |
571 | | - | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
572 | 578 | | |
573 | 579 | | |
574 | 580 | | |
575 | 581 | | |
576 | 582 | | |
577 | | - | |
| 583 | + | |
578 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
579 | 588 | | |
580 | | - | |
581 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
582 | 600 | | |
583 | 601 | | |
584 | 602 | | |
| |||
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
475 | 478 | | |
476 | 479 | | |
477 | 480 | | |
478 | | - | |
479 | | - | |
480 | | - | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
481 | 489 | | |
| 490 | + | |
482 | 491 | | |
483 | 492 | | |
484 | 493 | | |
485 | 494 | | |
486 | 495 | | |
487 | 496 | | |
488 | 497 | | |
489 | | - | |
490 | | - | |
491 | | - | |
| 498 | + | |
492 | 499 | | |
493 | 500 | | |
494 | 501 | | |
| |||
0 commit comments