BayesNet/README.md

906 B

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