BN Editor Double-click: new node · Drag a node's handle: new arc · Del: delete

Export

PNG and SVG pictures show the canvas as it is now, including each node's probabilities and the evidence when Probabilities is on. They contain the code above, so Import can open them again.

Import pyAgrum code

Paste Python that builds a gum.BayesNet or calls gum.fastBN, or open a .py file, a Jupyter notebook, or a PNG or SVG exported from this editor. The code runs in a sandboxed Python interpreter inside this page; plotting and inference calls are ignored. Evidence saved by this editor's export is restored.

Publish to GitHub Gist

This creates a new secret gist on your GitHub account containing this network's pyAgrum code, with its layout and evidence, and gives you a short link that opens it in the editor.

Secret gists are unlisted, not private. They don't appear on your profile or in search, but anyone with the link can open this one, and it shows your GitHub username. The link is a snapshot: later edits here won't change it. You can delete the gist on GitHub at any time.

GitHub will ask you to let this editor create gists. GitHub has no narrower permission, so it also allows editing and deleting your other gists; the editor only creates this one. The sign-in is kept in this tab's memory and forgotten when you reload or close it.