RepositoryJupyter NotebookNLHà Lan
erdogant

erdogant/bnlearn

Python package for Causal Discovery by learning the graphical structure of Bayesian networks. Structure Learning, Parameter Learning, Inferences, Sampling methods.

649sao
62fork
2issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: causal-networks

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: sampling-methods

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: structure-learning

#1 Repository của tháng

🧠 bnlearn — Thư viện Python cho Causal Discovery với Bayesian Networks

bnlearn package for causal discovery by learning the graphical structure of Bayesian networks.

bnlearn là thư viện Python tập trung vào causal discovery — học cấu trúc đồ thị của Bayesian networks từ dữ liệu. Dự án do Erdogan Taskin phát triển, cung cấp các pipeline sẵn có cho structure learning, parameter learning, inference và sampling methods, giúp giảm rào cản khi làm việc với probabilistic graphical models.

✅ Điểm nổi bật

  • Structure Learning: Học cấu trúc mô hình từ dữ liệu hoặc kiến thức chuyên gia qua bn.structure_learning.fit()
  • Parameter Learning: Ước lượng tham số mô hình (ví dụ: conditional probability distributions) từ dữ liệu quan sát qua bn.parameter_learning.fit()
  • Causal Inference: Tính toán interventional và counterfactual distributions sử dụng do-calculus qua bn.inference.fit()
  • Generate Synthetic Data: Tạo dữ liệu tổng hợp từ mô hình Bayesian đã học
  • Discretize Data: Chuyển đổi dataset liên tục thành dạng rời rạc để phù hợp với mô hình
  • Comparisons: So sánh hiệu năng với các thư viện causal khác trong ecosystem

💡 Vì sao đáng chú ý

bnlearn giải quyết đúng bài toán khó nhất trong causal inference: tự động học cấu trúc DAG (Directed Acyclic Graph) từ dữ liệu mà không cần giả định trước. Thư viện tích hợp đầy đủ pipeline từ structure learning → parameter learning → inference → sampling, cho phép người dùng đi từ dữ liệu thô đến kết quả causal prediction trong một workflow liên tục.

Dự án có tài liệu chi tiết, ví dụ Colab notebook, blog trên Medium và podcast đi kèm — phù hợp cho cả người mới bắt đầu lẫn chuyên gia muốn nhanh chóng triển khai causal models trong Python.


#BayesianInference #CausalDiscovery #StructureLearning #Python #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
mckinsey/causalnex

A Python library that helps data scientists to infer causation rather than observing correlation.

2.5k
Aug 31, 2026
RepositoryTypeScript
erikbrinkman/d3-dag

Layout algorithms for visualizing directed acyclic graphs

1.5k
Nov 23, 2026
RepositoryPython
blackjax-devs/blackjax

BlackJAX is a Bayesian Inference library designed for ease of use, speed and modularity.

1.1k
Nov 23, 2026
RepositoryPython
BiomedSciAI/causallib

A Python package for modular causal inference analysis and model evaluations

836
May 26, 2026
RepositoryPython
cdt15/lingam

Python package for causal discovery based on LiNGAM.

513
Nov 28, 2026
RepositoryJavaScript
byteball/obyte-gui-wallet

Unstoppable money https://obyte.org

429
Nov 17, 2026
Repository
msuzen/looper

A resource list for causality in statistics, data science and physics

268
Aug 1, 2026
RepositoryPython
felixleopoldo/benchpress

Scalable open-source software to run, develop, and benchmark causal discovery algorithms

86
Nov 7, 2026
RepositoryPython
realrate/Causing

Causing: CAUsal INterpretation using Graphs

63
Nov 14, 2026