-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementing and correcting the base set of swap strategies, plus wra…
…pping swap moves as part of steps (#143) * Implementing and correcting base set of swap strategies wrapping up swap move with step to guarantee number of samples requested == number of samples returned cleaned up and generalised swapping.jl to allow non-neighbouring chain swaps * reverting subscripts on i and j * Update src/stepping.jl Co-authored-by: Tor Erlend Fjelde <[email protected]> * Reverting sampler.adapt passing and swap step merge * Reverting swap_every * disallow random swaps and adaptation * fix adaptation error in swapping.jl * Fixing runtests.jl * Fixing runtests, rejigging params a bit to make the turing ones more reasonable * changing should_swap so that the first move is counted in the total and swaps happen regularly * Small changes to runtests to remove a deprecation warning * Update runtests.jl * Update CI.yml * Update runtests.jl --------- Co-authored-by: Tor Erlend Fjelde <[email protected]> Co-authored-by: Hong Ge <[email protected]>
- Loading branch information
1 parent
a5dbee5
commit dcf7bc2
Showing
8 changed files
with
206 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
strategy: | ||
matrix: | ||
version: | ||
- '1.6' | ||
- '1.7' | ||
- '1' | ||
os: | ||
- ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.