SPFlow icon indicating copy to clipboard operation
SPFlow copied to clipboard

Sum Product Flow: An Easy and Extensible Library for Sum-Product Networks

Results 66 SPFlow issues
Sort by recently updated
recently updated
newest added

### Description I am able to turn an SPN into a string (for storage in my mongo db), but when I try to turn it back into an SPN the...

### Description Running `EM_optimization` on a non-tree structure returns a broadcast error. Below is a minimal example for reproducibility: ```python import spn from spn.structure.leaves.parametric.Parametric import Gaussian, Bernoulli import spn.structure.Base as...

### Description SPFlow uses the old 1.14 version of Tensorflow, but since Tensorflow 2 is already out, SPFlow should make use of the new features and syntax of TF2. We...

@alejandromolinaml I have implemented structure learning algorithm for Sum-Product-Max Networks. Here is a link to the paper that describes the algorithm. [Sum-Product-Max Networks for Tractable Decision Making](https://www.ijcai.org/Proceedings/16/Papers/264.pdf) Below is a...

feature

sorry about the previous one, messed up and deleted repo indented this time, let me know if it bugs out

### Description The [sample function](https://github.com/SPFlow/SPFlow/blob/master/src/spn/experiments/RandomSPNs/RAT_SPN.py#L495-L507) for RAT_SPN says `# Does not work currently!`. What is wrong with it? It was introduced in this commit: https://github.com/SPFlow/SPFlow/commit/29282bbce21ff7abc3480aab93d482b4388e8bf1

This PR adds a feature that obtains marginal conditional probability given partial evidence. So far, it's the most meaningful for Bernoulli input nodes - given the partial data, what's the...

### Description Implement Multivariate leaves for SPNs #### Expected behavior: Multivariate gaussians work as expected and can be used in SPNs as leaves.

feature

The generation of a Tensorflow variable from a gaussian node goes wrong if the initializer dtype does not match the dtype that has been passed as option [here](https://github.com/SPFlow/SPFlow/blob/f69dcdff395daaac146e241531d14648e84e536c/src/spn/structure/leaves/parametric/Tensorflow.py#L17) (and probably...

### Description To add to the base of the library, the structure learning algorithm, named prometheus (http://proceedings.mlr.press/v72/jaini18a.html). #### Expected behavior: Should be outputting a learned structure following the SPFlow data...

feature