K2 algorithm for learning DAG structure in Bayesian network
This is the code of Cooper's K2 algorithm proposed in 1992, quick and convenient for using.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Guangdi Li (2026). K2 algorithm for learning DAG structure in Bayesian network (https://au.mathworks.com/matlabcentral/fileexchange/23273-k2-algorithm-for-learning-dag-structure-in-bayesian-network), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.7.0 (9.56 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.7.0 | update description |
||
| 1.6.0 | improve the efficiency of code by mex programming. |
||
| 1.4.0 | Update the code to output the K2 score upon each node |
||
| 1.2.0 | I improve the efficiency of this algorithm again. |
||
| 1.1.0 | One file is missing, sorry, I add it again. |
||
| 1.0.0 |