Skip to content

Commit da78d25

Browse files
committed
remove stereographic slice sampling
1 parent c715fb0 commit da78d25

File tree

7 files changed

+0
-135
lines changed

7 files changed

+0
-135
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
1010
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1111
LogDensityProblems = "6fdf6af0-433a-55f7-b3ed-c6c6e0b8df7c"
1212
LogDensityProblemsAD = "996a588d-648d-4e1f-a8f0-a84b347e47b1"
13-
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"
1413
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1514
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1615

@@ -28,7 +27,6 @@ FillArrays = "1"
2827
LinearAlgebra = "1"
2928
LogDensityProblems = "2"
3029
LogDensityProblemsAD = "1"
31-
LogExpFunctions = "0.3"
3230
Random = "1"
3331
Requires = "1"
3432
Turing = "0.36"

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ For general usage, please refer to [here](https://turinglang.org/SliceSampling.j
2222
### Multivariate Slice Sampling Algorithms
2323
- Latent slice sampling ([LSS](https://turinglang.org/SliceSampling.jl/dev/latent_slice/)) by Li and Walker[^LW2023] (`LatentSlice`)
2424
- Gibbsian polar slice sampling ([GPSS](https://turinglang.org/SliceSampling.jl/dev/gibbs_polar/)) by P. Schär, M. Habeck, and D. Rudolf[^SHR2023] (`GibbsPolarSlice`)
25-
- Stereographic slice sampling[^BLR2024] (`StereographicSlice`)
2625

2726
## Example with Turing Models
2827
This package supports the [Turing](https://github.com/TuringLang/Turing.jl) probabilistic programming framework:
@@ -47,7 +46,6 @@ The following slice samplers can also be used as a conditional sampler in `Turin
4746
* For multidimensional variables:
4847
* `RandPermGibbs`
4948
* `HitAndRun`
50-
* `StereographicSlice`
5149
* For unidimensional variables:
5250
* `Slice`
5351
* `SliceSteppingOut`
@@ -86,4 +84,3 @@ sample(model, sampler, n_samples)
8684
[^SHR2023]: Schär, P., Habeck, M., & Rudolf, D. (2023, July). Gibbsian polar slice sampling. In International Conference on Machine Learning.
8785
[^GG1984]: Geman, S., & Geman, D. (1984). Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images. IEEE Transactions on Pattern Analysis and Machine Intelligence, (6).
8886
[^BRS1993]: Bélisle, C. J., Romeijn, H. E., & Smith, R. L. (1993). Hit-and-run algorithms for generating multivariate distributions. Mathematics of Operations Research, 18(2), 255-266.
89-
[^BLR2024]: Bell, Cameron, Krzystof Łatuszyński, and Gareth O. Roberts. "Adaptive stereographic MCMC." arXiv preprint arXiv:2408.11780 (2024)

ext/SliceSamplingTuringExt.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Turing.Inference.isgibbscomponent(::SliceSampling.HitAndRun) = true
2929
Turing.Inference.isgibbscomponent(::SliceSampling.Slice) = true
3030
Turing.Inference.isgibbscomponent(::SliceSampling.SliceSteppingOut) = true
3131
Turing.Inference.isgibbscomponent(::SliceSampling.SliceDoublingOut) = true
32-
Turing.Inference.isgibbscomponent(::SliceSampling.StereographicSlice) = true
3332

3433
function Turing.Inference.getparams(
3534
::Turing.DynamicPPL.Model, sample::SliceSampling.UnivariateSliceState

src/SliceSampling.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ using Distributions
77
using FillArrays
88
using LinearAlgebra
99
using LogDensityProblems
10-
using LogExpFunctions
1110
using Random
1211

1312
# The following is necessary because Turing wraps all models with
@@ -117,10 +116,6 @@ include("multivariate/latent.jl")
117116
export GibbsPolarSlice
118117
include("multivariate/gibbspolar.jl")
119118

120-
# Stereographic Slice Sampling
121-
export StereographicSlice
122-
include("multivariate/stereographic.jl")
123-
124119
# Turing Compatibility
125120

126121
if !isdefined(Base, :get_extension)

src/multivariate/stereographic.jl

Lines changed: 0 additions & 122 deletions
This file was deleted.

test/multivariate.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ end
7777
# Multivariate slice samplers
7878
LatentSlice(5),
7979
GibbsPolarSlice(100),
80-
StereographicSlice(1),
8180
]
8281
@testset "initial_params" begin
8382
model = MultiModel(3.0, 3.0, [0.0])

test/turing.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
HitAndRun(SliceDoublingOut(1)),
2121
LatentSlice(5),
2222
GibbsPolarSlice(5),
23-
StereographicSlice(10),
2423
]
2524
chain = sample(
2625
model,

0 commit comments

Comments
 (0)