Bayesian Network Classifiers using libtorch from scratch
Go to file
2024-11-20 21:02:56 +01:00
.devcontainer Update Dockerfile 2024-09-13 09:42:06 +02:00
.github Add devcontainer to repository 2024-05-08 06:42:19 +00:00
.sonarlint Update gcovr configuration 2024-04-30 12:06:32 +02:00
.vscode Fix tests 2024-06-21 13:58:42 +02:00
bayesnet Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
cmake/modules Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
config Fix config.h location problem 2024-03-09 12:27:05 +01:00
diagrams Upgrade version number to 1.0.5 2024-04-20 18:00:40 +02:00
docs Fix manual generation and deploy 2024-05-23 17:34:48 +00:00
lib Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
sample Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
tests Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
.clang-tidy Refactor library structure 2024-03-08 22:20:54 +01:00
.clang-uml Add class and dependency diagrams 2024-04-19 14:33:00 +02:00
.gitignore Create doc target to build documentation 2024-05-22 11:10:21 +02:00
.gitmodules Remove mdlp submodule 2024-11-20 20:15:49 +01:00
CHANGELOG.md Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
CMakeGraphVizOptions.cmake Upgrade version number to 1.0.5 2024-04-20 18:00:40 +02:00
CMakeLists.txt Fix CUDA and mdlp library issues 2024-11-20 21:02:56 +01:00
LICENSE Update License & Readme 2024-03-11 10:57:27 +01:00
logo.png Add Library Logo 2024-04-21 11:31:27 +02:00
Makefile Add env parallel variable to Makefile 2024-09-18 11:05:19 +02:00
README.md Fix tests 2024-06-21 13:58:42 +02:00
update_coverage.py Add devcontainer to repository 2024-05-08 06:42:19 +00:00

logo BayesNet

C++ License: MIT Gitea Release Codacy Badge Security Rating Reliability Rating Gitea Last Commit Coverage 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

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

Models

- TAN

- KDB

- SPODE

- SPnDE

- AODE

- BoostAODE

- BoostA2DE

With Local Discretization

- TANLd

- KDBLd

- SPODELd

- AODELd

Documentation

Manual

Coverage report

Diagrams

UML Class Diagram

BayesNet UML Class Diagram

Dependency Diagram

BayesNet Dependency Diagram