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

Work in Progress (*please don't merge yet*) - Added basic Edge/Node abstraction to compute the SPN layerwise - Added basic network architecture from TorchSPN to convert the spn structure to...

### What did you expect to happen? the example code does not execute ### What actually happened? the example code does not execute - ImportError: cannot import name 'from_numpy_matrix' from...

bug

### Describe your request SPNs with some probabilities left undefined as parameters (e.g., p, 1-p). This would allow for the creation of SPNs where nodes are defined with parameters instead...

feature

Make sure, that we are not regressing in terms of performance.

quality assurance

See also: https://github.com/SPFlow/SPFlow/actions/runs/7448060524/job/20261594330?pr=170#step:3:210

quality assurance

The current `tests` dir contains new tests written from scratch. The old tests (with tensorly) where moved to `tests_old` for the sake of keeping the code until the tests are...

quality assurance

The current conditioning on the `child_lls` is wrong: (a) log-space is missing and (b) the posterior is not normalized. https://github.com/SPFlow/SPFlow/blob/794a8dde145db4b50d4f02527d0a16aa76a71a3c/spflow/modules/node/sum.py#L320