Bayesian Network Classifiers using libtorch from scratch
.devcontainer | ||
.github | ||
.sonarlint | ||
.vscode | ||
bayesnet | ||
cmake/modules | ||
config | ||
diagrams | ||
docs | ||
lib | ||
sample | ||
tests | ||
.clang-tidy | ||
.clang-uml | ||
.gitignore | ||
.gitmodules | ||
CHANGELOG.md | ||
CMakeGraphVizOptions.cmake | ||
CMakeLists.txt | ||
LICENSE | ||
logo.png | ||
Makefile | ||
README.md | ||
update_coverage.py |
BayesNet
Bayesian Network Classifiers library
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