Skip to content

Commit

Permalink
build based on b749816
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 8, 2024
1 parent ff4659e commit 2621a32
Show file tree
Hide file tree
Showing 14 changed files with 131 additions and 131 deletions.
4 changes: 2 additions & 2 deletions dev/README.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

# # Probabilistic<wbr>Circuits<wbr>.jl

# [![Unit Tests](https://github.com/Juice-jl/ProbabilisticCircuits.jl/workflows/Unit%20Tests/badge.svg)](https://github.com/Juice-jl/ProbabilisticCircuits.jl/actions?query=workflow%3A%22Unit+Tests%22+branch%3Amaster) [![codecov](https://codecov.io/gh/Juice-jl/ProbabilisticCircuits.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/Juice-jl/ProbabilisticCircuits.jl) [![](https://img.shields.io/badge/docs-stable-green.svg)](https://juice-jl.github.io/ProbabilisticCircuits.jl/stable) [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://juice-jl.github.io/ProbabilisticCircuits.jl/dev)
# [![Unit Tests](https://github.com/Tractables/ProbabilisticCircuits.jl/workflows/Unit%20Tests/badge.svg)](https://github.com/Tractables/ProbabilisticCircuits.jl/actions?query=workflow%3A%22Unit+Tests%22+branch%3Amaster) [![codecov](https://codecov.io/gh/Tractables/ProbabilisticCircuits.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/Tractables/ProbabilisticCircuits.jl) [![](https://img.shields.io/badge/docs-stable-green.svg)](https://Tractables.github.io/ProbabilisticCircuits.jl/stable) [![](https://img.shields.io/badge/docs-dev-blue.svg)](https://Tractables.github.io/ProbabilisticCircuits.jl/dev)

# This package provides functionalities for learning/constructing probabilistic circuits and using them to compute various probabilistic queries. It is part of the [Juice package](https://github.com/Juice-jl) (Julia Circuit Empanada).
# This package provides functionalities for learning/constructing probabilistic circuits and using them to compute various probabilistic queries. It is part of the [Juice package](https://github.com/Tractables) (Julia Circuit Empanada).

# ## Testing

Expand Down
4 changes: 2 additions & 2 deletions dev/api/common/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/api/input_dists/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

ga('create', 'UA-136089579-2', 'auto');
ga('send', 'pageview', {'page': location.pathname + location.search + location.hash});
</script><link rel="canonical" href="https://juice-jl.github.io/ProbabilisticCircuits.jl/stable/api/input_dists/"/><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="../.."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../../assets/documenter.js"></script><script src="../../siteinfo.js"></script><script src="../../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../../assets/themeswap.js"></script><link href="../../assets/favicon.ico" rel="icon" type="image/x-icon"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../../"><img src="../../assets/logo.png" alt="ProbabilisticCircuits.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">ProbabilisticCircuits.jl</span></div><form class="docs-search" action="../../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../../">Home</a></li><li><input class="collapse-toggle" id="menuitem-2" type="checkbox"/><label class="tocitem" for="menuitem-2"><span class="docs-label">Manual</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../manual/demo/">Quick Demo</a></li><li><a class="tocitem" href="../../manual/queries/">Queries</a></li><li><a class="tocitem" href="../../manual/learning/">Learning</a></li><li><a class="tocitem" href="../../manual/gpu/">GPU Support</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3" type="checkbox" checked/><label class="tocitem" for="menuitem-3"><span class="docs-label">API</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../common/">Common APIs</a></li><li class="is-active"><a class="tocitem" href>Input Distributions</a></li><li><a class="tocitem" href="../probabilistic_circuits/">Probabilistic Circuits</a></li><li><a class="tocitem" href="../types/">Types </a></li></ul></li><li><a class="tocitem" href="../../installation/">Installation</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">API</a></li><li class="is-active"><a href>Input Distributions</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Input Distributions</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/Juice-jl/ProbabilisticCircuits.jl/blob/master/docs/src/api/input_dists.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="new-input-dist"><a class="docs-heading-anchor" href="#new-input-dist">Input Distributions</a><a id="new-input-dist-1"></a><a class="docs-heading-anchor-permalink" href="#new-input-dist" title="Permalink"></a></h1><p>Currently we support <code>Indicator{T}</code>, <code>Categorical</code>, <code>Bernoulli</code> (special case of Categorical) distributions in the InputNodes.</p><h4 id="Support-new-InputDist"><a class="docs-heading-anchor" href="#Support-new-InputDist">Support new InputDist</a><a id="Support-new-InputDist-1"></a><a class="docs-heading-anchor-permalink" href="#Support-new-InputDist" title="Permalink"></a></h4><p>To support new type of Input Distributions you need to implement the following functions:</p><pre><code class="language-julia">num_parameters
</script><link rel="canonical" href="https://Tractables.github.io/ProbabilisticCircuits.jl/stable/api/input_dists/"/><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="../.."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../../assets/documenter.js"></script><script src="../../siteinfo.js"></script><script src="../../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../../assets/themeswap.js"></script><link href="../../assets/favicon.ico" rel="icon" type="image/x-icon"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../../"><img src="../../assets/logo.png" alt="ProbabilisticCircuits.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">ProbabilisticCircuits.jl</span></div><form class="docs-search" action="../../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../../">Home</a></li><li><input class="collapse-toggle" id="menuitem-2" type="checkbox"/><label class="tocitem" for="menuitem-2"><span class="docs-label">Manual</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../../manual/demo/">Quick Demo</a></li><li><a class="tocitem" href="../../manual/queries/">Queries</a></li><li><a class="tocitem" href="../../manual/learning/">Learning</a></li><li><a class="tocitem" href="../../manual/gpu/">GPU Support</a></li></ul></li><li><input class="collapse-toggle" id="menuitem-3" type="checkbox" checked/><label class="tocitem" for="menuitem-3"><span class="docs-label">API</span><i class="docs-chevron"></i></label><ul class="collapsed"><li><a class="tocitem" href="../common/">Common APIs</a></li><li class="is-active"><a class="tocitem" href>Input Distributions</a></li><li><a class="tocitem" href="../probabilistic_circuits/">Probabilistic Circuits</a></li><li><a class="tocitem" href="../types/">Types </a></li></ul></li><li><a class="tocitem" href="../../installation/">Installation</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">API</a></li><li class="is-active"><a href>Input Distributions</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Input Distributions</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/Tractables/ProbabilisticCircuits.jl/blob/master/docs/src/api/input_dists.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="new-input-dist"><a class="docs-heading-anchor" href="#new-input-dist">Input Distributions</a><a id="new-input-dist-1"></a><a class="docs-heading-anchor-permalink" href="#new-input-dist" title="Permalink"></a></h1><p>Currently we support <code>Indicator{T}</code>, <code>Categorical</code>, <code>Bernoulli</code> (special case of Categorical) distributions in the InputNodes.</p><h4 id="Support-new-InputDist"><a class="docs-heading-anchor" href="#Support-new-InputDist">Support new InputDist</a><a id="Support-new-InputDist-1"></a><a class="docs-heading-anchor-permalink" href="#Support-new-InputDist" title="Permalink"></a></h4><p>To support new type of Input Distributions you need to implement the following functions:</p><pre><code class="language-julia">num_parameters
params
init_params
loglikelihood</code></pre><h4 id="Support-movement-between-CPU/GPU-for-InputDist"><a class="docs-heading-anchor" href="#Support-movement-between-CPU/GPU-for-InputDist">Support movement between CPU/GPU for InputDist</a><a id="Support-movement-between-CPU/GPU-for-InputDist-1"></a><a class="docs-heading-anchor-permalink" href="#Support-movement-between-CPU/GPU-for-InputDist" title="Permalink"></a></h4><p>To support moving between CPU/GPU you need to implement the following:</p><pre><code class="language-julia">bits
Expand All @@ -16,4 +16,4 @@
init_heap_map_state!
init_heap_map_loglikelihood!
map_state
map_loglikelihood</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../common/">« Common APIs</a><a class="docs-footer-nextpage" href="../probabilistic_circuits/">Probabilistic Circuits »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 29 April 2023 00:05">Saturday 29 April 2023</span>. Using Julia version 1.7.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
map_loglikelihood</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../common/">« Common APIs</a><a class="docs-footer-nextpage" href="../probabilistic_circuits/">Probabilistic Circuits »</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></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 8 June 2024 20:49">Saturday 8 June 2024</span>. Using Julia version 1.10.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 2621a32

Please sign in to comment.