I've tried to use "learn_struct_EM(bnet, samplesM, max_loop)" function, but I get the following error:
"Undefined function 'multiply_one_marginal' for input arguments of type 'struct'"
However, the inpute for 'multiply_one_marginal' should be a single node's marginal, which is a structure.
I'm using Matlab R2013a version.
I would really appericiate your help with this problem.
thank you for supporting our work.
I'm so sorry for that remaining mistake.
Du to changes, each time you call
you must pass data' (transposed) instead of simply data.
Make the change on lines 77, 292, 309, 413, 420, 495, 605 and 626.