A package for reasoning based on tensor networks
Project description
tnreason: Tensor Networks for efficient and explainable Reasoning
|
InstallationThe latest version of pip install tnreason
|
|
Application Demonstrations
-
Hybrid Logic and Probabilistic Reasoning: The tensor network formalism generalizes logical and probabilistic reasoning. It therefore enables the combination of hard logical constraints in probabilistic models, which is a form of hybrid reasoning. For a demonstration on hard and soft accounting rules see the Accounting Example.
-
Statistical models of Knowledge Graphs: Tensor networks are furthermore useful in storing Knowledge Graphs, and more general of worlds in first-order logic. Based on the sample extraction formalism described in Chapter 11 of the report hybrid logic networks can be trained on data extracted from a knowledge base. For a demonstration of this method on the DPpedia Knowlege Graph see the DBpedia Example.
-
Solution of Constraint Satisfaction Problems (CSP): Local constraints can be captured by boolean tensors and CSPs consider contractions of these boolean tensors. Efficient message passing algorithms can be exploited in the solution of these problems. A particular well-known example of a CSP is the game of Sudoku, see the Sudoku Example.
Architecture
For references to the implemented concepts see Appendix A in the report.
References
Tutorials can be found here in the colab demonstrations.
A mathematical report can be found at the documentation repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tnreason-2.0.0.tar.gz.
File metadata
- Download URL: tnreason-2.0.0.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04543720a20770ca8fd2aa8d672701b65a22bdb50de963d9db7db9b3fbed870e
|
|
| MD5 |
431086c8f595b6897250007ce4edae41
|
|
| BLAKE2b-256 |
3708a95c38ce08b5614a4ede1069cb7cc02ce3f2b5f2b0bb6edf690e528861d8
|
File details
Details for the file tnreason-2.0.0-py3-none-any.whl.
File metadata
- Download URL: tnreason-2.0.0-py3-none-any.whl
- Upload date:
- Size: 81.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37372cafd60b9884be66268c8f11bbc4f8bf756a9ec94f79f27bb10b812d2c6d
|
|
| MD5 |
58bb3a3a0768da2002e33b27c9fbe98b
|
|
| BLAKE2b-256 |
828991f87daf121774052c2725f2aa4ed49c7c2da4b25dd41657d4df5e9e9ac5
|