File Exchange

image thumbnail

NPC algorithm for learning DAG in Bayesian network

version 1.1 (7.24 KB) by

NPC algorithm is designed for learning Bayesian network formed as DAG in 2001, by Steck

10 Downloads

Updated

View License

NPC algorithm is designed for learning Bayesian network formed as DAG in 2001, by Steck

This implementation is based on paper[1], details can be seen in this PhD thesis.

Start with "ControlCentor.m", there is a simple example with explanation of how to use the code here.

If there is any question. please let me know , i will answer you as soon as possible.

[1] Steck, H. (2001). Constrained-Based Structural Learning in Bayesian Networks Using Finite Data Sets, PhD Thesis.

Comments and Ratings (3)

Khan

Khan (view profile)

I downloaded the code (npc) but could not run it as 'TrainingDatabase.mat' file is missing.

load('C:\Documents and Settings\newstar\My Documents\MATLAB\Myprogram\TrainDatabase.mat','Training_Database');

Guangdi Li

Guangdi Li (view profile)

Indeed, the dependency test seems not so efficient, please try Fisher's test, which is also available in my website. Of course, the code itself is extensible by other statistic tests found in matlab community .

Aseem Kushwah

I dont know why but this code of yours is not working for my ALARM network dataset(1000 cases)....
Can you please elaborate on the chi-square test you are performing ih this code.

Updates

1.1

Add more information in description part

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video