-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove mention of GibbsConditional from API docs (#2467)
- Loading branch information
Showing
1 changed file
with
0 additions
and
1 deletion.
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
24d5556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
Release notes:
0.36.0 introduces a new Gibbs sampler. It's been included in several previous releases as
Turing.Experimental.Gibbs
, but now takes over the old Gibbs sampler, which gets removed completely.The new Gibbs sampler currently supports the same user-facing interface as the old one, but the old constructors have been deprecated, and will be removed in the future. Also, given that the internals have been completely rewritten in a very different manner, there may be accidental breakage that we haven't anticipated. Please report any you find.
GibbsConditional
has also been removed. It was never very user-facing, but it was exported, so technically this is breaking.The old Gibbs constructor relied on being called with several subsamplers, and each of the constructors of the subsamplers would take as arguments the symbols for the variables that they are to sample, e.g.
Gibbs(HMC(:x), MH(:y))
. This constructor has been deprecated, and will be removed in the future. The new constructor works by mapping symbols,VarName
s, or iterables thereof to samplers, e.g.Gibbs(x=>HMC(), y=>MH())
,Gibbs(@varname(x) => HMC(), @varname(y) => MH())
,Gibbs((:x, :y) => NUTS(), :z => MH())
. This allows more granular specification of which sampler to use for which variable.Likewise, the old constructor for calling one subsampler more often than another,
Gibbs((HMC(0.01, 4, :x), 2), (MH(:y), 1))
has been deprecated. The new way to do this is to useRepeatSampler
, also introduced at this version:Gibbs(@varname(x) => RepeatSampler(HMC(0.01, 4), 2), @varname(y) => MH())
.24d5556
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request updated: JuliaRegistries/General/122924
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: