Skip to content

Commit

Permalink
build based on 5aa196c
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 5, 2024
1 parent 91b49d5 commit 7893965
Show file tree
Hide file tree
Showing 7 changed files with 548 additions and 387 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.1","generation_timestamp":"2024-02-16T02:27:45","documenter_version":"1.2.1"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-05T14:51:35","documenter_version":"1.4.1"}}
4 changes: 2 additions & 2 deletions dev/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
Other allowed proposals are
</code></pre><p>p1 = StaticProposal(Normal(0,1)) p2 = StaticProposal([Normal(0,1), InverseGamma(2,3)]) p3 = StaticProposal((a=Normal(0,1), b=InverseGamma(2,3))) p4 = StaticProposal((x=1.0) -&gt; Normal(x, 1))</p><pre><code class="nohighlight hljs">
The sampler is constructed using
</code></pre><p>julia spl = MetropolisHastings(proposal) ```</p><p>When using <code>MetropolisHastings</code> with the function <code>sample</code>, the following keyword arguments are allowed:</p><ul><li><code>initial_params</code> defines the initial parameterization for your model. If</li></ul><p>none is given, the initial parameters will be drawn from the sampler&#39;s proposals.</p><ul><li><code>param_names</code> is a vector of strings to be assigned to parameters. This is only</li></ul><p>used if <code>chain_type=Chains</code>.</p><ul><li><code>chain_type</code> is the type of chain you would like returned to you. Supported</li></ul><p>types are <code>chain_type=Chains</code> if <code>MCMCChains</code> is imported, or <code>chain_type=StructArray</code> if <code>StructArrays</code> is imported.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/TuringLang/AdvancedMH.jl/blob/b7829cb44897e399610f4f5e4268245753aa2b24/src/mh-core.jl#L1-L43">source</a></section></article><h2 id="Functions"><a class="docs-heading-anchor" href="#Functions">Functions</a><a id="Functions-1"></a><a class="docs-heading-anchor-permalink" href="#Functions" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="AdvancedMH.DensityModel" href="#AdvancedMH.DensityModel"><code>AdvancedMH.DensityModel</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">DensityModel{F} &lt;: AbstractModel</code></pre><p><code>DensityModel</code> wraps around a self-contained log-liklihood function <code>logdensity</code>.</p><p>Example:</p><pre><code class="language-julia hljs">l(x) = logpdf(Normal(), x)
DensityModel(l)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/TuringLang/AdvancedMH.jl/blob/b7829cb44897e399610f4f5e4268245753aa2b24/src/AdvancedMH.jl#L38-L49">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« AdvancedMH.jl</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="auto">Automatic (OS)</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.2.1 on <span class="colophon-date" title="Friday 16 February 2024 02:27">Friday 16 February 2024</span>. Using Julia version 1.10.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</code></pre><p>julia spl = MetropolisHastings(proposal) ```</p><p>When using <code>MetropolisHastings</code> with the function <code>sample</code>, the following keyword arguments are allowed:</p><ul><li><code>initial_params</code> defines the initial parameterization for your model. If</li></ul><p>none is given, the initial parameters will be drawn from the sampler&#39;s proposals.</p><ul><li><code>param_names</code> is a vector of strings to be assigned to parameters. This is only</li></ul><p>used if <code>chain_type=Chains</code>.</p><ul><li><code>chain_type</code> is the type of chain you would like returned to you. Supported</li></ul><p>types are <code>chain_type=Chains</code> if <code>MCMCChains</code> is imported, or <code>chain_type=StructArray</code> if <code>StructArrays</code> is imported.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/TuringLang/AdvancedMH.jl/blob/5aa196c412c2405541eb4c6980909cdb4be4745a/src/mh-core.jl#L1-L43">source</a></section></article><h2 id="Functions"><a class="docs-heading-anchor" href="#Functions">Functions</a><a id="Functions-1"></a><a class="docs-heading-anchor-permalink" href="#Functions" title="Permalink"></a></h2><article class="docstring"><header><a class="docstring-article-toggle-button fa-solid fa-chevron-down" href="javascript:;" title="Collapse docstring"></a><a class="docstring-binding" id="AdvancedMH.DensityModel" href="#AdvancedMH.DensityModel"><code>AdvancedMH.DensityModel</code></a><span class="docstring-category">Type</span></header><section><div><pre><code class="language-julia hljs">DensityModel{F} &lt;: AbstractModel</code></pre><p><code>DensityModel</code> wraps around a self-contained log-liklihood function <code>logdensity</code>.</p><p>Example:</p><pre><code class="language-julia hljs">l(x) = logpdf(Normal(), x)
DensityModel(l)</code></pre></div><a class="docs-sourcelink" target="_blank" href="https://github.com/TuringLang/AdvancedMH.jl/blob/5aa196c412c2405541eb4c6980909cdb4be4745a/src/AdvancedMH.jl#L38-L49">source</a></section></article></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« AdvancedMH.jl</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Wednesday 5 June 2024 14:51">Wednesday 5 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 7893965

Please sign in to comment.