I'm having some problems with structure learning. If I
make all nodes of the same state's number there is no
problem, but when I change that I get this problem:
Learning ... [PNL] EXCEPTION 1026: out of range in
pnlNodeValues.cpp at line 78. The error description is:
value of node is more than range
The file with cases is as shown:
$ cat bayesianstructure.data
0 0 0 0 0
1 1 1 1 1
0 2 0 1 2
1 3 1 0 2
My trying code is attached.
Thanks for your reply,
Source code that leads to that error