Bayesian Network Classifiers using libtorch from scratch
Go to file
2023-10-04 13:40:45 +02:00
.vscode Add a Linux config in launch.json 2023-09-30 18:44:21 +02:00
cmake/modules Fix some mistakes to correct tests 2023-07-20 18:55:56 +02:00
config Add Makefile & tests 2023-07-17 22:51:15 +02:00
data Solve voting vector error 2023-09-02 13:58:12 +02:00
diagrams Upgrade models version and Add class diagram 2023-09-02 14:39:43 +02:00
lib Remove OpenXLSX submodule 2023-09-20 01:09:58 +02:00
sample Restore sample.cc 2023-09-29 18:50:25 +02:00
src Add constant references to Statistics 2023-10-04 13:40:45 +02:00
tests Remove platformUtils and split Datasets & Dataset 2023-09-29 18:20:46 +02:00
.clang-tidy update clang-tidy 2023-08-07 00:44:12 +02:00
.clang-uml Add Linux specific options to compile 2023-08-29 18:20:55 +02:00
.gitignore Remove .vscode/settings.json from repository 2023-09-20 01:01:40 +02:00
.gitmodules Remove OpenXLSX submodule 2023-09-20 01:09:58 +02:00
CMakeLists.txt Linux CMakeLists.txt adjustment 2023-09-29 00:30:47 +02:00
gcovr.cfg Update Makefile to add Release & Debug build 2023-08-01 19:02:37 +02:00
LICENSE Initial commit 2023-06-29 19:52:57 +00:00
Makefile Change names of executables to b_... 2023-09-29 09:17:50 +02:00
README.md Add Control model rank info to report 2023-10-04 12:42:35 +02:00

BayesNet

Bayesian Network Classifier with libtorch from scratch

0. Setup

Before compiling BayesNet.

boost library

Getting Started

The best option is install the packages that the Linux distribution have in its repository. If this is the case:

sudo dnf install boost-devel

If this is not possible and the compressed packaged is installed, the following environment variable has to be set:

export BOOST_ROOT=/path/to/library/

libxlswriter

cd lib/libxlsxwriter
make
sudo make install

It has to be installed in /usr/local/lib otherwise CMakeLists.txt has to be modified accordingly

Environment variable has to be set:

 export LD_LIBRARY_PATH=/usr/local/lib

Release

make release

Debug & Tests

make debug

1. Introduction