This Gist contains a Spark Notebook that displays graphs for Bayesian Networks using bayes-scala and a custom D3 visualization.
To check it out, install Spark Notebook by one of the methods described here (when using the Zip download, you have to chmod +x bin/spark-notebook && bin/spark-notebook
).
Then download Plot graph with D3.snb
from this Gist and import it in the browser window.
You can then step through the code cells by clicking into the first one and pressing Shift+Enter
or using the Run
button.
If all goes well, you should see two Bayesian Network graphs for the Monty Hall and the Student example.
Will this be integrated in some way?