Merge ARSampling.jl (JuliaRegistries/General/151430)#26
Conversation
Makie extensions and sampling improvement
|
@mauriciogtec is it ok if I merge this? |
|
|
||
|
|
||
| @testset "Truncated" begin | ||
| f_gamma(x, α, β) = β^α * x^(α - 1) * exp(-β * x) / gamma(α) |
There was a problem hiding this comment.
nit: f_gamma does not seem to be used?
|
@Eliassj you can merge. Should we bump up the version? |
|
@mauriciogtec Thanks! I'll just finish updating the README and check that the CI / docs is working and we should be ready to bump. What is your stance on moving the package to StatsJulia? |
|
I support the transfer. What are the steps? |
|
I believe we contact someone in the organization @DilumAluthge? (JuliaRegistries/General#151430 (comment)) |
|
Sure, I'm happy to help transfer this repo to JuliaStats. The process is this:
@mauriciogtec As a first step, can you transfer this repo to me? |
|
@DilumAluthge I have made transfer request. |
@mauriciogtec Do you want me to give anyone else admin (or maintain, or write/commit) permissions on the repo? |
|
@DilumAluthge Please also give admin permissions to @Eliassj |
|
@Eliassj I've given you admin permissions. |
|
The last piece we need is to update the repo URL in the registry: JuliaRegistries/General#154331 |
|
@DilumAluthge Is there anything organization-specific one should be aware of (such as style of docs/how these should be deployed) when maintaining a package in JuliaStats? |
|
I'm not aware of any styles we enforce at the organization-wide level, I think most things we defer to the maintainer of each package. |
For background see JuliaRegistries/General/151430
This pull request merges a redesign of both the implementation and API of sampling which aims to:
Changes to public API:
Objectivestruct which is then passed to the sampler. It allows specifiyng a manual gradient or automatically through an AD backend of choice with the default beingForwardDiff.jl. Target functions are now expected to be in their log form when passed toObjective.ARSamplerinstead ofRejectionSamplerand the sampling function is namedsample!instead ofrun_sampler!.Example of new interface
For more examples see: https://eliassj.github.io/ARSampling.jl/dev/
TODO
rand-interface.