Commit f6a2727
new predict method API, and reduced sampling in input space (#404)
* added ForwardMapWrapper, made compatible with MCMC and encoder utilities
* format
* Update src/Emulator.jl
Co-authored-by: ArneBouillon <45404227+ArneBouillon@users.noreply.github.com>
* first update to predict
deprecate transform_to_real
replace transform_to_real kwarg, and add add_obs_noise_cov
* restore format
* initial encode/decode inputs
* add orth. compl. piece
* format
* precompiles
* corrected logic for encode/decode flags
* add maxlog to warning message
* add get_en/decoder_from_schedule
* running version or sampler with encoded inputs (just decoding for posterior currently)
* return full affine shift from get_encoder_from_schedule, and compute gaussian lifts correctly
* compute proposals correctly, resolve input dim checks
* format
* add guardrailsfor getting empty encoders
* reshape bug in test
* format
* due to reverse-diff slow downs with LinearMaps.jl, reduced the mcmc steps during tests
* change lengths
* tests for utils
* test retrieval of encoder
* tests for the enriching
* typo
* format
* updated and added new docstrings
* larger tol as it is borderline
* Address review comments: reduced prior storage/sampling, always use decode_and_add_noise
* add a few extra tests
* suitable tols
* typos
* add scaling, rename boost_for_loss... to noise_injector_threshold
* resolve review
* remove all "transform_to_real" in tests
* add one example to test the deprecation message...
---------
Co-authored-by: ArneBouillon <45404227+ArneBouillon@users.noreply.github.com>1 parent 5d20ea6 commit f6a2727
12 files changed
Lines changed: 791 additions & 132 deletions
File tree
- src
- MachineLearningTools
- Utilities
- test
- Emulator
- GaussianProcess
- MarkovChainMonteCarlo
- RandomFeature
- Utilities
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
| |||
371 | 377 | | |
372 | 378 | | |
373 | 379 | | |
374 | | - | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
375 | 386 | | |
376 | 387 | | |
377 | 388 | | |
378 | 389 | | |
379 | | - | |
380 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
381 | 394 | | |
382 | 395 | | |
383 | 396 | | |
| |||
484 | 497 | | |
485 | 498 | | |
486 | 499 | | |
487 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
488 | 506 | | |
489 | 507 | | |
490 | 508 | | |
| |||
497 | 515 | | |
498 | 516 | | |
499 | 517 | | |
500 | | - | |
501 | | - | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
502 | 522 | | |
503 | 523 | | |
504 | 524 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
634 | 636 | | |
635 | 637 | | |
636 | 638 | | |
| |||
653 | 655 | | |
654 | 656 | | |
655 | 657 | | |
656 | | - | |
657 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
658 | 661 | | |
659 | | - | |
660 | | - | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
661 | 665 | | |
662 | 666 | | |
663 | 667 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
660 | 665 | | |
661 | 666 | | |
662 | 667 | | |
| |||
676 | 681 | | |
677 | 682 | | |
678 | 683 | | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
685 | 692 | | |
686 | 693 | | |
687 | 694 | | |
| |||
0 commit comments