{"id":45893072,"url":"https://github.com/danielkorzekwa/bayes-scala","last_synced_at":"2026-03-13T06:00:56.360Z","repository":{"id":5224670,"uuid":"6400903","full_name":"danielkorzekwa/bayes-scala","owner":"danielkorzekwa","description":"Bayesian Networks in Scala","archived":false,"fork":false,"pushed_at":"2017-11-10T12:39:51.000Z","size":3722,"stargazers_count":206,"open_issues_count":9,"forks_count":39,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-11-30T08:29:31.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"srv/fovis","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielkorzekwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-26T08:43:51.000Z","updated_at":"2025-07-23T04:23:32.000Z","dependencies_parsed_at":"2022-08-19T07:30:47.878Z","dependency_job_id":null,"html_url":"https://github.com/danielkorzekwa/bayes-scala","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/danielkorzekwa/bayes-scala","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkorzekwa%2Fbayes-scala","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkorzekwa%2Fbayes-scala/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkorzekwa%2Fbayes-scala/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkorzekwa%2Fbayes-scala/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkorzekwa","download_url":"https://codeload.github.com/danielkorzekwa/bayes-scala/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkorzekwa%2Fbayes-scala/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30459760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T03:55:51.346Z","status":"ssl_error","status_checked_at":"2026-03-13T03:55:33.055Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-27T19:00:39.319Z","updated_at":"2026-03-13T06:00:56.353Z","avatar_url":"https://github.com/danielkorzekwa.png","language":"Scala","funding_links":[],"categories":["人工智能"],"sub_categories":["机器学习"],"readme":"# Bayesian Networks in Scala \r\n\r\n[![Join the chat at https://gitter.im/danielkorzekwa/bayes-scala](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/danielkorzekwa/bayes-scala?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\r\n[![Build Status](https://travis-ci.org/danielkorzekwa/bayes-scala.svg)](https://travis-ci.org/danielkorzekwa/bayes-scala)\r\n[![Codacy Badge](https://www.codacy.com/project/badge/2a48694cabbe4cd386af1be55602cbbf)](https://www.codacy.com/public/danielkorzekwa/bayes-scala)\r\n\r\nIt 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:\r\n\r\n* [DSL] - This is a high level api for defining Bayesian Networks. \r\n* [Factor graph] - It supports discrete and continuous variables. Inference is performed with Expectation Propagation.\r\n* [Factor graph 2] - Different (newer) implemenation of factor graph.\r\n* [Cluster graph] - Supports discrete variables only.\r\n\r\nThe [bayes-scala-gp] library for Gaussian Processes is built on top of bayes-scala.\r\n\r\nLinks\r\n* [Some code examples for moment matching, linear gaussian, linear dynamical systems, EP, etc.]\r\n* [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) \r\n\r\n## How to use it from sbt and maven?\r\n\r\n### Release version\r\n\r\nSBT configuration: \r\n\r\n```scala\r\nlibraryDependencies += \"com.github.danielkorzekwa\" %% \"bayes-scala\" % \"0.6\"  \r\n```\r\n\r\nMaven configuration:\r\n\r\n```scala  \r\n  \u003cdependencies\u003e\r\n    \u003cdependency\u003e\r\n      \u003cgroupId\u003ecom.github.danielkorzekwa\u003c/groupId\u003e\r\n      \u003cartifactId\u003ebayes-scala_2.11\u003c/artifactId\u003e\r\n      \u003cversion\u003e0.5\u003c/version\u003e\r\n    \u003c/dependency\u003e\r\n  \u003cdependencies\u003e\r\n```\r\n\r\n### Snapshot version\r\n\r\nSnapshot artifact is built by a Travis CI and deployed to Sonatype OSS Snapshots repository with every commit to Bayes-scala project. \r\n\r\nWith sbt build tool, add to build.sbt config file:\r\n\r\n```scala\r\nlibraryDependencies += \"com.github.danielkorzekwa\" %% \"bayes-scala\" % \"0.7-SNAPSHOT\"  \r\n\r\nresolvers += Resolver.sonatypeRepo(\"snapshots\")\r\n```\r\n\r\nWith maven build tool, add to pom.xml config file:\r\n\r\n```scala\r\n  \u003crepositories\u003e\r\n    \u003crepository\u003e\r\n      \u003cid\u003eoss-sonatype-snapshots\u003c/id\u003e\r\n      \u003cname\u003eoss-sonatype-snapshots\u003c/name\u003e\r\n      \u003curl\u003ehttps://oss.sonatype.org/content/repositories/snapshots/\u003c/url\u003e\r\n    \u003c/repository\u003e\r\n  \u003c/repositories\u003e\r\n  \r\n  \u003cdependencies\u003e\r\n    \u003cdependency\u003e\r\n      \u003cgroupId\u003ecom.github.danielkorzekwa\u003c/groupId\u003e\r\n      \u003cartifactId\u003ebayes-scala_2.11\u003c/artifactId\u003e\r\n      \u003cversion\u003e0.7-SNAPSHOT\u003c/version\u003e\r\n    \u003c/dependency\u003e\r\n  \u003cdependencies\u003e\r\n```\r\n\r\n[DSL]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/dsl/dsl.md\r\n[Factor graph]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/factorgraph/factorgraph.md\r\n[Factor graph 2]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/factorgraph2/factorgraph2.md\r\n[Cluster graph]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/clustergraph/clustergraph.md\r\n[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\r\n[Low level algorithms]: https://github.com/danielkorzekwa/bayes-scala/blob/master/doc/lowlevel/README.md\r\n[bayes-scala-gp]: https://github.com/danielkorzekwa/bayes-scala-gp/blob/master/README.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkorzekwa%2Fbayes-scala","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkorzekwa%2Fbayes-scala","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkorzekwa%2Fbayes-scala/lists"}