AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻译准备中
Explore our powerful tools for Bayesian Networks, Markov Networks, and more. Designed for researchers and developers seeking high-performance probabilistic reasoning.
翻译准备中
开发工具Jupyter Notebook · C++GitHub @agrumery在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证This repository is a mirror. If you want to raise an issue or contact us, we encourage you to do it on Gitlab (https://gitlab.com/agrumery/aGrUM).
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
[ ] [ ] [ ] [ ] [ ]
aGrUM is a fast and powerful C++ library for developing applications based on graphical models such as Bayesian
networks, influence diagrams, decision trees, GAI networks, and Markov decision processes. It provides fundamental
building blocks for tasks such as:
• Graphical model learning/elicitation
• Probabilistic inference with graphical models
• Planning and decision-making查看完整 README ↗[] [] [] [] []
aGrUM is a fast and powerful C++ library for developing applications based on graphical models such as Bayesian networks, influence diagrams, decision trees, GAI networks, and Markov decision processes. It provides fundamental building blocks for tasks such as:
pyAgrum is a Python wrapper for the C++ aGrUM library (built using SWIG). It offers a high-level interface to simplify the creation, modeling, learning, inference, and embedding of Bayesian Networks and other graphical models. Additionally, it includes extensions for:
Choose the path that best matches your goal:
pyAgrum from Python → see Quick Start and the wrappers/pyAgrum documentation./src.Install pyAgrum via pip or conda:
pip install pyagrum
conda install -c conda-forge pyagrum
aGrUM is designed to minimize external dependencies in its C++ codebase. All essential dependencies are included in the source code. The external libraries currently used by aGrUM are:
The Python wrapper pyAgrum introduces additional dependencies. These are managed separately and specified in the following files:
requirements.txt: Mandatory dependenciesoptional_requirements.txt: Optional dependencies for advanced featuresFor most users, installation via pip or conda will automatically handle these dependencies.
The project is organized as follows:
/acttools # aGrUM Compiler Tool (ACT) implementation
/apps # Application examples using aGrUM or pyAgrum
/src # aGrUM's C++ source code
/wrappers # Wrappers for aGrUM (Python, Java, etc.)
/src/agrum: Core C++ library/wrappers/pyAgrum: pyAgrum files, including tests and Sphinx documentation/src/docs: aGrUM documentation/src/testunits: Unit testsaGrUM was initially developed to support the research of the Graphical Models and Decision team at LIP6. Over time, it evolved into a comprehensive open-source library to aid both research and practical applications in decision support and data science.
Key design principles include:
For more details, visit the aGrUM feature list.
To make aGrUM more accessible, various wrappers have been developed, including:
Wrappers are built using SWIG.
The recommended build tool is ACT (aGrUM Compilation Tool). It requires Python (≥ 3.9) and platform-specific tools:
act [target] [version] [action]
aGrUM, pyAgrum, jAgrumrelease, debuginstall, uninstall, test, lib, doc, wheel, etc.Example:
act test release pyAgrum
For more details, run act --help.
We welcome contributions! Please fork the repository, make your changes, and submit a merge request.
Note: Contributors must sign a contribution policy before their changes can be merged.
This section provides practical guidance for contributing to the aGrUM/pyAgrum project.
Style and standards
Commits and branches
Pull Requests / Merge Requests
Tests
/src/testunits and Python/pyAgrum tests in wrappers/pyAgrum following the repository
structure.act test
act test release pyAgrum
Documentation
pyAgrum, C++ docs in /src/docs) and example notebooks when needed.Wrappers and SWIG
wrappers/ and verify the Python bindings.API compatibility and versioning
Code review
Support and communication
Every commit is tested (with several compilers) on:
22.04, x84-64)15.x, x86-64 & ARM)11, x84-64)The CI pipeline builds and tests both aGrUM and pyAgrum to ensure cross-platform stability.
Run C++ tests with the act test command:
# Run all C++ tests
act test release aGrUM
# Run specific modules (BASE, BN, MRF, CN, ID, CM, FMDP)
act test release aGrUM -m BN
act test release aGrUM -m BASE+BN
# Run specific test suites
act test release aGrUM -t BayesNetTestSuite
act test release aGrUM -t BayesNetTestSuite+BNLearnerTestSuite
# Show available modules/tests
act test release aGrUM -m show
act test release aGrUM -t show
After building with act test release aGrUM, you can run the test executable directly for faster iteration:
./gumTest # Run all tests
./gumTest --list-test-cases # List all test cases
./gumTest --test-case="*BayesNet*" # Run tests matching pattern
./gumTest --test-case="*[BN]*" # Run all BN module tests
./gumTest --test-case="*[BASE]*" # Run all BASE module tests
act test release pyAgrum -t quick # Fast tests only
act test release pyAgrum -t all # Includes notebook tests
For academic references, see the aGrUM bibliography.