MurrellGroup / LogitSamplers.jl

MIT License
0 stars 0 forks source link

Logit transforms #4

Closed AntonOresten closed 5 days ago

AntonOresten commented 6 days ago
using LogitSamplers

transform = Top_p(0.5, 10)
sampler = logitsample ∘ transform

logits = randn(100)

sampler(logits)
codecov[bot] commented 6 days ago

Codecov Report

Attention: Patch coverage is 85.71429% with 5 lines in your changes missing coverage. Please review.

Project coverage is 86.11%. Comparing base (d8a397c) to head (8738589). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/deprecated.jl 0.00% 4 Missing :warning:
src/transforms.jl 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4 +/- ## ========================================== + Coverage 0.00% 86.11% +86.11% ========================================== Files 1 5 +4 Lines 37 36 -1 ========================================== + Hits 0 31 +31 + Misses 37 5 -32 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.