Open hackhaye opened 3 weeks ago
Hi, thank you for having an interest in our research. In FunProbe, we use a factor graph to represent Bayesian Network, and you can find the relevant definitions from
Thank you very much, I don't know much about F#, is there any way to visualize the factor graph in your code
Sorry, but current FunProbe does not have an option for dumping factor graphs. However, you may try to fix FunProbe to dump the graphs. For example, you can insert the below lines just after ConstraintSolver.fs:L87
solver.Graph.FoldSuccessors src (fun _ dst _ ->
// Do something here
printfn "Edge: %d -> %d" (Node.id src) (Node.id dst)) ()
Thank you very much for your task, I have been following up your research recently, may I ask where is the code related to Bayesian networks? I didn't see the code for the Bayesian network model