Bayesian Network Classifiers using libtorch from scratch
Go to file
2024-12-10 13:35:23 +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 libmdlp (#31) 2024-11-23 17:22:41 +00:00
bayesnet Fix comment in AODELd 2024-12-10 13:35:23 +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 Update docs and help 2024-11-23 20:28:16 +01:00
docs Fix manual generation and deploy 2024-05-23 17:34:48 +00:00
lib libmdlp (#31) 2024-11-23 17:22:41 +00:00
sample libmdlp (#31) 2024-11-23 17:22:41 +00:00
tests Fix Mst test 2024-11-23 19:07:35 +01:00
.clang-tidy Refactor library structure 2024-03-08 22:20:54 +01:00
.clang-uml Update docs and help 2024-11-23 20:28:16 +01:00
.gitignore Create doc target to build documentation 2024-05-22 11:10:21 +02:00
.gitmodules libmdlp (#31) 2024-11-23 17:22:41 +00:00
CHANGELOG.md Add model to changelog 2024-11-23 19:13:54 +01:00
CMakeGraphVizOptions.cmake Upgrade version number to 1.0.5 2024-04-20 18:00:40 +02:00
CMakeLists.txt libmdlp (#31) 2024-11-23 17:22:41 +00: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 Update docs and help 2024-11-23 20:28:16 +01:00
README.md Update docs and help 2024-11-23 20:28:16 +01: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 DOI

Bayesian Network Classifiers library

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

- A2DE

- 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