Using Bayes Net Toolbox for Matlab

8 views (last 30 days)
sali
sali on 30 Dec 2013
I want to use Bayes Net Toolbox in matlab , especially score_dags(data, ns, dags) function .
I have:
-3 nodes
-All combinational subset of these nodes that create dag (will be 25 dags)
-Array with size (3,30) where each rows represent the data of nodes (e.g. row 1 for node 1), data is 0,1 or -1
- ns_array = [3,3,3]
When I call the function and pass data array as the parameter “data” , and the parameter “dags” is the 25 dags and “ns” parameter is ns_array , the result of the function is always the same, regardless of the data array: -9.76978793044148 -8.42426751081712 -8.42426751081712 7.89691186178541 ,,,,, etc
Why?
I really appreciate any help you can provide.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!