2023-06-29 19:52:57 +00:00
|
|
|
# BayesNet
|
|
|
|
|
2023-07-02 09:39:12 +00:00
|
|
|
Bayesian Network Classifier with libtorch from scratch
|
|
|
|
|
2023-09-18 21:26:22 +00:00
|
|
|
## 0. Setup
|
|
|
|
|
|
|
|
### libxlswriter
|
|
|
|
|
|
|
|
Before compiling BayesNet.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
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:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
export LD_LIBRARY_PATH=/usr/local/lib
|
|
|
|
```
|
|
|
|
|
|
|
|
### Release
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make release
|
|
|
|
```
|
|
|
|
|
|
|
|
### Debug & Tests
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make debug
|
|
|
|
```
|
|
|
|
|
2023-07-11 20:23:49 +00:00
|
|
|
## 1. Introduction
|