Comments (5)
This is due to the fact that there is a variable independent from each other and then the mutual information is always zero.
You should provide the data and the command line to reproduce the error
from spflow.
A possible fix should be to replace the code line 102 from
mst = minimum_spanning_tree(-(MI))
to
mst = minimum_spanning_tree(-(MI+1))
thus avoiding zeros in the matrix.
Please, could you try?
from spflow.
That seemed to help, now I am getting other errors with expectation.
The generated spn passes the valid test, then when checking Expectation an error is received from Prune that says the node has no children.
Thank you for your quick reply on my previous question.
from spflow.
could you provide some code for me to replicate that?
from spflow.
Closed as not reproducible.
from spflow.
Related Issues (20)
- Move module documentation from methods to module class definition
- Help needed running the current dev_tensorly example HOT 1
- Revisit Project Layout HOT 3
- Implement __str__ for nodes/modules HOT 3
- Update README
- Decide on and document versioning scheme HOT 1
- Add advanced module printing
- Modify GitHub CI Actions to exclude incompatible python/torch versions
- Implement node based layers in tensor backend
- Implement vectorized layers in tensor backend
- Implement uniform leaf node in tensor backend
- Implement categorical leaf node in tensor backend
- Figure out how to do expectation maximization (EM) with Jax's grad function
- Adopt old test code in `tests_old` to new test code in `tests`
- Ensure intermediate layer implementations work in new tensor backend
- Make marginalization RV ids to iterable of scope
- Implement poisson leaf node in tensor backend
- Port RAT-SPN to tensor API
- Add Codecov bot HOT 3
- Reevaluate if we should add Tensorflow to the tensor backend API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spflow.