Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5fdd603 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
junpenglao committed Oct 19, 2023
1 parent aa385fd commit d960be0
Show file tree
Hide file tree
Showing 87 changed files with 330 additions and 178 deletions.
Binary file modified .doctrees/autoapi/blackjax/_version/index.doctree
Binary file not shown.
Binary file modified .doctrees/autoapi/blackjax/index.doctree
Binary file not shown.
Binary file modified .doctrees/autoapi/blackjax/mcmc/proposal/index.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/examples/howto_custom_gradients.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_metropolis_within_gibbs.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_other_frameworks.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_sample_multiple_chains.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_aesara.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_numpyro.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_oryx.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_pymc.doctree
Binary file not shown.
Binary file modified .doctrees/examples/howto_use_tfp.doctree
Binary file not shown.
Binary file modified .doctrees/examples/quickstart.doctree
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
16 changes: 12 additions & 4 deletions _modules/blackjax/_version.html
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,18 @@ <h1>Source code for blackjax._version</h1><div class="highlight"><pre>
<span class="c1"># don&#39;t change, don&#39;t track in version control</span>
<div class="viewcode-block" id="TYPE_CHECKING"><a class="viewcode-back" href="../../autoapi/blackjax/_version/index.html#blackjax._version.TYPE_CHECKING">[docs]</a><span class="n">TYPE_CHECKING</span> <span class="o">=</span> <span class="kc">False</span></div>
<span class="k">if</span> <span class="n">TYPE_CHECKING</span><span class="p">:</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Tuple</span>

<span class="n">__version__</span> <span class="o">=</span> <span class="n">version</span> <span class="o">=</span> <span class="s1">&#39;0.1.dev1+g51cf08a&#39;</span> <span class="c1"># type: str</span>
<span class="n">__version_tuple__</span> <span class="o">=</span> <span class="n">version_tuple</span> <span class="o">=</span> <span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="s1">&#39;dev1&#39;</span><span class="p">,</span> <span class="s1">&#39;g51cf08a&#39;</span><span class="p">)</span> <span class="c1"># type: Tuple[int | str, ...]</span>
<span class="kn">from</span> <span class="nn">typing</span> <span class="kn">import</span> <span class="n">Tuple</span><span class="p">,</span> <span class="n">Union</span>
<div class="viewcode-block" id="VERSION_TUPLE"><a class="viewcode-back" href="../../autoapi/blackjax/_version/index.html#blackjax._version.VERSION_TUPLE">[docs]</a> <span class="n">VERSION_TUPLE</span> <span class="o">=</span> <span class="n">Tuple</span><span class="p">[</span><span class="n">Union</span><span class="p">[</span><span class="nb">int</span><span class="p">,</span> <span class="nb">str</span><span class="p">],</span> <span class="o">...</span><span class="p">]</span></div>
<span class="k">else</span><span class="p">:</span>
<span class="n">VERSION_TUPLE</span> <span class="o">=</span> <span class="nb">object</span>

<div class="viewcode-block" id="version"><a class="viewcode-back" href="../../autoapi/blackjax/_version/index.html#blackjax._version.version">[docs]</a><span class="n">version</span><span class="p">:</span> <span class="nb">str</span></div>
<span class="n">__version__</span><span class="p">:</span> <span class="nb">str</span>
<span class="n">__version_tuple__</span><span class="p">:</span> <span class="n">VERSION_TUPLE</span>
<div class="viewcode-block" id="version_tuple"><a class="viewcode-back" href="../../autoapi/blackjax/_version/index.html#blackjax._version.version_tuple">[docs]</a><span class="n">version_tuple</span><span class="p">:</span> <span class="n">VERSION_TUPLE</span></div>

<span class="n">__version__</span> <span class="o">=</span> <span class="n">version</span> <span class="o">=</span> <span class="s1">&#39;0.1.dev1+g5fdd603&#39;</span>
<span class="n">__version_tuple__</span> <span class="o">=</span> <span class="n">version_tuple</span> <span class="o">=</span> <span class="p">(</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="s1">&#39;dev1&#39;</span><span class="p">,</span> <span class="s1">&#39;g5fdd603&#39;</span><span class="p">)</span>
</pre></div>

</article>
Expand Down
4 changes: 2 additions & 2 deletions _modules/blackjax/mcmc/proposal.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ <h1>Source code for blackjax.mcmc.proposal</h1><div class="highlight"><pre>
<span class="sd"> new_energy</span>
<span class="sd"> the energy at the proposed state</span>
<span class="sd"> divergence_threshold</span>
<span class="sd"> max value allowed for the difference in energies not to be considered a divergence</span>
<span class="sd"> max value allowed for an increase in energies not to be considered a divergence</span>
<span class="sd"> state</span>
<span class="sd"> the proposed state</span>

Expand All @@ -457,7 +457,7 @@ <h1>Source code for blackjax.mcmc.proposal</h1><div class="highlight"><pre>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="n">delta_energy</span> <span class="o">=</span> <span class="n">initial_energy</span> <span class="o">-</span> <span class="n">new_energy</span>
<span class="n">delta_energy</span> <span class="o">=</span> <span class="n">jnp</span><span class="o">.</span><span class="n">where</span><span class="p">(</span><span class="n">jnp</span><span class="o">.</span><span class="n">isnan</span><span class="p">(</span><span class="n">delta_energy</span><span class="p">),</span> <span class="o">-</span><span class="n">jnp</span><span class="o">.</span><span class="n">inf</span><span class="p">,</span> <span class="n">delta_energy</span><span class="p">)</span>
<span class="n">is_transition_divergent</span> <span class="o">=</span> <span class="n">jnp</span><span class="o">.</span><span class="n">abs</span><span class="p">(</span><span class="n">delta_energy</span><span class="p">)</span> <span class="o">&gt;</span> <span class="n">divergence_threshold</span>
<span class="n">is_transition_divergent</span> <span class="o">=</span> <span class="o">-</span><span class="n">delta_energy</span> <span class="o">&gt;</span> <span class="n">divergence_threshold</span>

<span class="c1"># The weight of the new proposal is equal to H0 - H(z_new)</span>
<span class="n">weight</span> <span class="o">=</span> <span class="n">delta_energy</span>
Expand Down
14 changes: 14 additions & 0 deletions _sources/autoapi/blackjax/_version/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,17 @@ Module Contents



.. py:data:: VERSION_TUPLE
.. py:data:: version
:type: str



.. py:data:: version_tuple
:type: VERSION_TUPLE



9 changes: 9 additions & 0 deletions _sources/autoapi/blackjax/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ Functions



Attributes
~~~~~~~~~~

.. autoapisummary::

blackjax.__version__






Expand Down
2 changes: 1 addition & 1 deletion _sources/autoapi/blackjax/mcmc/proposal/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Attributes

:param initial_energy: the energy from the initial state
:param new_energy: the energy at the proposed state
:param divergence_threshold: max value allowed for the difference in energies not to be considered a divergence
:param divergence_threshold: max value allowed for an increase in energies not to be considered a divergence
:param state: the proposed state

:rtype: A proposal and a flag for divergence
Expand Down
21 changes: 21 additions & 0 deletions autoapi/blackjax/_version/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ <h2> Contents </h2>
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-contents">Module Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.TYPE_CHECKING"><code class="docutils literal notranslate"><span class="pre">TYPE_CHECKING</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.VERSION_TUPLE"><code class="docutils literal notranslate"><span class="pre">VERSION_TUPLE</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.version"><code class="docutils literal notranslate"><span class="pre">version</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.version_tuple"><code class="docutils literal notranslate"><span class="pre">version_tuple</span></code></a></li>
</ul>
</li>
</ul>
Expand All @@ -359,6 +362,21 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalin
<span class="sig-name descname"><span class="pre">TYPE_CHECKING</span></span><em class="property"><span class="w"> </span><span class="p"><span class="pre">=</span></span><span class="w"> </span><span class="pre">False</span></em><a class="reference internal" href="../../../_modules/blackjax/_version.html#TYPE_CHECKING"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax._version.TYPE_CHECKING" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

<dl class="py data">
<dt class="sig sig-object py" id="blackjax._version.VERSION_TUPLE">
<span class="sig-name descname"><span class="pre">VERSION_TUPLE</span></span><a class="reference internal" href="../../../_modules/blackjax/_version.html#VERSION_TUPLE"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax._version.VERSION_TUPLE" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

<dl class="py data">
<dt class="sig sig-object py" id="blackjax._version.version">
<span class="sig-name descname"><span class="pre">version</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.12)"><span class="pre">str</span></a></em><a class="reference internal" href="../../../_modules/blackjax/_version.html#version"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax._version.version" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

<dl class="py data">
<dt class="sig sig-object py" id="blackjax._version.version_tuple">
<span class="sig-name descname"><span class="pre">version_tuple</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="pre">VERSION_TUPLE</span></em><a class="reference internal" href="../../../_modules/blackjax/_version.html#version_tuple"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax._version.version_tuple" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

</section>
</section>

Expand Down Expand Up @@ -390,6 +408,9 @@ <h2>Module Contents<a class="headerlink" href="#module-contents" title="Permalin
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#module-contents">Module Contents</a><ul class="nav section-nav flex-column">
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.TYPE_CHECKING"><code class="docutils literal notranslate"><span class="pre">TYPE_CHECKING</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.VERSION_TUPLE"><code class="docutils literal notranslate"><span class="pre">VERSION_TUPLE</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.version"><code class="docutils literal notranslate"><span class="pre">version</span></code></a></li>
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#blackjax._version.version_tuple"><code class="docutils literal notranslate"><span class="pre">version_tuple</span></code></a></li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion autoapi/blackjax/adaptation/base/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ <h3>Classes<a class="headerlink" href="#classes" title="Permalink to this headin

<dl class="py attribute">
<dt class="sig sig-object py" id="blackjax.adaptation.base.AdaptationResults.parameters">
<span class="sig-name descname"><span class="pre">parameters</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.11)"><span class="pre">dict</span></a></em><a class="reference internal" href="../../../../_modules/blackjax/adaptation/base.html#AdaptationResults.parameters"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax.adaptation.base.AdaptationResults.parameters" title="Permalink to this definition">#</a></dt>
<span class="sig-name descname"><span class="pre">parameters</span></span><em class="property"><span class="p"><span class="pre">:</span></span><span class="w"> </span><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.12)"><span class="pre">dict</span></a></em><a class="reference internal" href="../../../../_modules/blackjax/adaptation/base.html#AdaptationResults.parameters"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#blackjax.adaptation.base.AdaptationResults.parameters" title="Permalink to this definition">#</a></dt>
<dd></dd></dl>

</dd></dl>
Expand Down
Loading

0 comments on commit d960be0

Please sign in to comment.