Bayesian Network Classifiers using libtorch from scratch
Go to file
2024-04-11 18:16:06 +02:00
.vscode block_update and install in local folder 2024-04-10 00:55:36 +02:00
bayesnet Add copyright header to source files 2024-04-11 18:02:49 +02:00
cmake/modules Fix some mistakes to correct tests 2023-07-20 18:55:56 +02:00
config Fix config.h location problem 2024-03-09 12:27:05 +01:00
diagrams Upgrade models version and Add class diagram 2023-09-02 14:39:43 +02:00
docs block_update and install in local folder 2024-04-10 00:55:36 +02:00
lib Update folding library and test result due to change in random engine 2024-04-05 19:17:53 +02:00
sample Add copyright header to source files 2024-04-11 18:02:49 +02:00
tests Add dump_cpt classifier test 2024-04-11 18:16:06 +02:00
.clang-tidy Refactor library structure 2024-03-08 22:20:54 +01:00
.gitignore Refactor sample to be out of main CMakeLists 2024-03-08 01:09:39 +01:00
.gitmodules Add info to CHANGELOG 2024-02-24 21:33:28 +01:00
CHANGELOG.md Add copyright header to source files 2024-04-11 18:02:49 +02:00
CMakeLists.txt block_update and install in local folder 2024-04-10 00:55:36 +02:00
gcovr.cfg Add some tests and code quality badge 2024-04-07 02:08:37 +02:00
LICENSE Update License & Readme 2024-03-11 10:57:27 +01:00
Makefile block_update and install in local folder 2024-04-10 00:55:36 +02:00
README.md Add dump_cpt classifier test 2024-04-11 18:16:06 +02:00
update_coverage.py Add copyright header to source files 2024-04-11 18:02:49 +02:00

BayesNet

C++ License: MIT Gitea Release Codacy Badge Gitea Last Commit Static Badge

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

Release

make release
make buildr
sudo make install

Debug & Tests

make debug
make test
make coverage

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

BoostAODE