First of all, I really appreciate all the efforts that SMILE & Genie related personnel made. It is really wonderful BNs framework.
I currently use SMILE for building my web application. But I got stuck with a problem. On genie, I found a soft evidence functionality and want to apply it to my web application. I am using C++ SMILE API. If you can share some tutorial code with me, it will be great. I tried to find related article. But I couldn't.
For my hard evidence, I used the following code (just a partial part)
int evidence_number = 0 ;
name = evidence_input[i+1] + "_Facility_" + evidence_input[i] +"_Report" ; // evidence input arrays are inputs from external txt file and ignore i variable
set_evidence= theNet.FindNode((char *)(name.c_str()));
What I want to do in place of my old code is that I want to find a node then set it as soft evidence. If the node has updated probability from other nodes, I want to use the updated probability as soft evidence as I can do it in Genie.
Thanks in advance!!