https://github.com/danielkorzekwa/bayes-scala
Bayesian Networks in Scala
https://github.com/danielkorzekwa/bayes-scala
Last synced: 4 months ago
JSON representation
Bayesian Networks in Scala
- Host: GitHub
- URL: https://github.com/danielkorzekwa/bayes-scala
- Owner: danielkorzekwa
- License: other
- Created: 2012-10-26T08:43:51.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2017-11-10T12:39:51.000Z (over 8 years ago)
- Last Synced: 2025-11-30T08:29:31.690Z (7 months ago)
- Language: Scala
- Homepage:
- Size: 3.55 MB
- Stars: 206
- Watchers: 33
- Forks: 39
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-java - Bayes Scala
README
# Bayesian Networks in Scala
[](https://gitter.im/danielkorzekwa/bayes-scala?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://travis-ci.org/danielkorzekwa/bayes-scala)
[](https://www.codacy.com/public/danielkorzekwa/bayes-scala)
It is a Scala library for Bayesian Networks and Probabilistic Graphical Models. It allows for defining Baysian models and performing Bayesian inference in a number of ways:
* [DSL] - This is a high level api for defining Bayesian Networks.
* [Factor graph] - It supports discrete and continuous variables. Inference is performed with Expectation Propagation.
* [Factor graph 2] - Different (newer) implemenation of factor graph.
* [Cluster graph] - Supports discrete variables only.
The [bayes-scala-gp] library for Gaussian Processes is built on top of bayes-scala.
Links
* [Some code examples for moment matching, linear gaussian, linear dynamical systems, EP, etc.]
* [Can you please clarify for us: what is the future of bayes-scala?](https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/future_of_bayes_scala.md)
## How to use it from sbt and maven?
### Release version
SBT configuration:
```scala
libraryDependencies += "com.github.danielkorzekwa" %% "bayes-scala" % "0.6"
```
Maven configuration:
```scala
com.github.danielkorzekwa
bayes-scala_2.11
0.5
```
### Snapshot version
Snapshot artifact is built by a Travis CI and deployed to Sonatype OSS Snapshots repository with every commit to Bayes-scala project.
With sbt build tool, add to build.sbt config file:
```scala
libraryDependencies += "com.github.danielkorzekwa" %% "bayes-scala" % "0.7-SNAPSHOT"
resolvers += Resolver.sonatypeRepo("snapshots")
```
With maven build tool, add to pom.xml config file:
```scala
oss-sonatype-snapshots
oss-sonatype-snapshots
https://oss.sonatype.org/content/repositories/snapshots/
com.github.danielkorzekwa
bayes-scala_2.11
0.7-SNAPSHOT
```
[DSL]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/dsl/dsl.md
[Factor graph]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/factorgraph/factorgraph.md
[Factor graph 2]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/factorgraph2/factorgraph2.md
[Cluster graph]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/clustergraph/clustergraph.md
[Some code examples for moment matching, linear gaussian, linear dynamical systems, EP, etc.]:https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/others/others.md
[Low level algorithms]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/lowlevel/README.md
[bayes-scala-gp]: https://github.com/danielkorzekwa/bayes-scala-gp/blob/master/README.md