Ricardo Montañana Gómez da05de6e15
All checks were successful
Gitea Actions Demo / Explore-GitHub-Actions (push) Successful in 4s
Reorder CMakeLists
2025-04-27 18:09:53 +02:00
2025-04-27 18:09:53 +02:00
2025-04-27 18:09:53 +02:00
2024-05-08 06:42:19 +00:00
2024-04-30 12:06:32 +02:00
2025-03-12 16:29:29 +01:00
2025-03-22 10:31:54 +01:00
2024-03-09 12:27:05 +01:00
2024-05-23 17:34:48 +00:00
2025-03-10 21:44:12 +01:00
2025-03-11 18:16:50 +01:00
2025-03-17 11:39:33 +01:00
2024-03-08 22:20:54 +01:00
2024-11-23 20:28:16 +01:00
2025-03-12 13:46:04 +01:00
2024-12-14 20:27:07 +01:00
2025-03-17 11:39:33 +01:00
2025-04-27 18:09:53 +02:00
2024-03-11 10:57:27 +01:00
2024-04-21 11:31:27 +02:00
2025-03-11 18:16:50 +01:00
2025-03-17 13:13:06 +01: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.zip

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

- XBAODE

- BoostA2DE

- XBA2DE

With Local Discretization

- TANLd

- KDBLd

- SPODELd

- AODELd

Documentation

Manual

Coverage report

Diagrams

UML Class Diagram

BayesNet UML Class Diagram

Dependency Diagram

BayesNet Dependency Diagram

Description
Bayesian Network Classifiers using libtorch from scratch
Readme MIT 14 MiB
2025-07-19 20:52:59 +00:00
Languages
C++ 94.8%
Makefile 2.1%
CMake 1.3%
Python 1%
Dockerfile 0.4%
Other 0.4%