0ec53f405f4e5410c3d3790945d88fec82cef112
Complete the first A2DE test Update version number
BayesNet
Bayesian Network Classifiers using libtorch from scratch
Dependencies
The only external dependency is libtorch which can be installed with the following commands:
wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
unzip libtorch-shared-with-deps-latest.zips
Setup
Getting the code
git clone --recurse-submodules https://github.com/doctorado-ml/bayesnet
Release
make release
make buildr
sudo make install
Debug & Tests
make debug
make test
Coverage
make coverage
make viewcoverage
Sample app
After building and installing the release version, you can run the sample app with the following commands:
make sample
make sample fname=tests/data/glass.arff
Models
- TAN
- KDB
- SPODE
- AODE
- BoostAODE
With Local Discretization
- TANLd
- KDBLd
- SPODELd
- AODELd
Diagrams
UML Class Diagram
Dependency Diagram
Coverage report
Coverage report
Languages
C++
94.8%
Makefile
2.1%
CMake
1.3%
Python
1%
Dockerfile
0.4%
Other
0.4%