bayesiansumproductnetworks
Implementation of Bayesian Sum-Product Networks
Science Score: 31.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.7%) to scientific vocabulary
Repository
Implementation of Bayesian Sum-Product Networks
Basic Info
- Host: GitHub
- Owner: trappmartin
- License: mit
- Language: Julia
- Default Branch: master
- Size: 31.3 KB
Statistics
- Stars: 13
- Watchers: 2
- Forks: 6
- Open Issues: 3
- Releases: 1
Metadata Files
README.md
Bayesian Sum-Product Networks
This Julia package implements Bayesian Sum-Product Networks and infinite mixtures of Bayesian Sum-Product Networks. Besides all necessary core routines, this package additionally implements approximate Bayesian inference using a combination of ancestral and Gibbs sampling as well as an implementation of the distributed slice sampler for infinite mixtures of SPNs.
Note that this package requires Julia version >= 1.0.
To install the package and run the provided code, make sure to first install Julia from JuliaLang.org.
After starting Julia, you can install the package using Julia's internal package manager.
To do so, press ] within the Julia command line to switch to the package manager prompt. You can leaf the package manager by pressing BACKSPACE.
To install the package, run the following command:
julia
pkg> add https://github.com/trappmartin/BayesianSumProductNetworks.git
Dataset and Predictions
All dataset and predictions can be found under: download
Running Experiments
To run the experiments, start the respective shell script located in the hpc folder. Those scripts are written such that they can be used as master scripts for slurm jobs.
API
All types and functions listed here contain doc-strings. Therefore, if you are interest in more details please about the use of those functions/types please use Julia's internal documentation system. Therefore, press ? within the Julia command line and then enter the name of the function/type you want to know more about.
The package implements Bayesian Sum-Product Networks using the following types:
julia
RegionGraphNode{<:Real} <: AbstractRegionGraphNode
PartitionGraphNode <: AbstractRegionGraphNode
FactorizedDistributionGraphNode <: AbstractRegionGraphNode
FactorizedMixtureGraphNode <: AbstractRegionGraphNode
InfiniteSumNode
NormalInverseGamma <: Distribution
DirichletSufficientStats <: AbstractSufficientStats
NormalInvGammaSufficientStats <: AbstractSufficientStats
GammaSufficientStats <: AbstractSufficientStats
BetaSufficientStats <: AbstractSufficientStats
For Bayesian inference the following functions are implemented:
julia
randomscopes!
templateRegion
templatePartition
ancestralsampling!
gibbssamplescopes!
slicesample!
logpdf
logpdf!
logmllh!
License
The code is licensed under MIT License.
Citation
Please cite this work if you use it using the following CITATION.
Acknowledgement
This project received funding from the European Union's Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie Grant Agreement No. 797223 (HYBSPN).
Owner
- Name: Martin Trapp
- Login: trappmartin
- Kind: user
- Location: Europe
- Company: Aalto University
- Website: https://trappmartin.github.io/
- Twitter: martin_trapp
- Repositories: 11
- Profile: https://github.com/trappmartin
Academy of Finland postdoctoral fellow at Aalto University.
Citation (CITATION)
@inproceedings{trapp2019bayesian,
title={Bayesian Learning of Sum-Product Networks},
author={Martin Trapp and Robert Peharz and Hong Ge and Franz Pernkopf and Zoubin Ghahramani},
year={2019},
booktitle={Proceedings of Advances in Neural Information Processing Systems {NeurIPS}}
}
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Martin Trapp | t****n@g****m | 6 |
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 3
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 3
- Total pull request authors: 0
- Average comments per issue: 3.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- crinders (1)
- BCRARL (1)
- janfrancu (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- AxisArrays *
- Distributions 0.16.0
- Reexport *
- SpecialFunctions *
- StatsBase *
- StatsFuns *
- julia 1.0