Just want know if there is any difference between way 1 and way 2
way 1 (set and update)
set note evidence -> update
set next note evidence -> update
. . .
way 2 (set all of evidence then update once)
set note evidence
set next note evidence
. . .
update
please advise
Search found 11 matches
- Fri Oct 18, 2013 2:53 pm
- Forum: SMILE
- Topic: set and update VS set all evidence and update once
- Replies: 2
- Views: 7564
API - DBN
We recently found out that the probabilities generated by API (API - DBN we received in June 2009) DID NOT match the probabilities generated by GeNie.
net. ClearAllEvidence ();
net. SliceCount = myTable.Rows.Count;
foreach (DataRow myRow in myTable.Rows)
setEvidenceProcess(myRow, actionNode ...
net. ClearAllEvidence ();
net. SliceCount = myTable.Rows.Count;
foreach (DataRow myRow in myTable.Rows)
setEvidenceProcess(myRow, actionNode ...
- Tue Nov 03, 2009 12:30 am
- Forum: SMILE
- Topic: get the parents and children relationship at run time
- Replies: 1
- Views: 4938
get the parents and children relationship at run time
Is there a easy way to retrieve the structure of a BN at run time?
It seems I can use getParents/ getChildren to read node one by one in a loop and then determine the relationship. but just wonder if there is any easy way?
It seems I can use getParents/ getChildren to read node one by one in a loop and then determine the relationship. but just wonder if there is any easy way?
- Wed Jun 17, 2009 8:22 pm
- Forum: SMILE
- Topic: Is there any way to know setEvidence is properly set?
- Replies: 3
- Views: 9005
- Wed Jun 17, 2009 7:38 pm
- Forum: SMILE
- Topic: Is there any way to know setEvidence is properly set?
- Replies: 3
- Views: 9005
Is there any way to know setEvidence is properly set?
void setEvidence(String nodeId, String outcomeId)
How do I know the following setEvidence is properly set or not if there are several nodes and states need to set?
net.SetEvidence(appNodeName, StateName);
How do I know the following setEvidence is properly set or not if there are several nodes and states need to set?
net.SetEvidence(appNodeName, StateName);
- Mon Jun 15, 2009 11:05 pm
- Forum: SMILE
- Topic: GetOutcomeIds(handle) does not work for value node
- Replies: 8
- Views: 13963
- Mon Jun 15, 2009 10:00 pm
- Forum: SMILE
- Topic: GetOutcomeIds(handle) does not work for value node
- Replies: 8
- Views: 13963
- Mon Jun 15, 2009 6:51 pm
- Forum: SMILE
- Topic: GetOutcomeIds(handle) does not work for value node
- Replies: 8
- Views: 13963
- Mon Jun 15, 2009 6:43 pm
- Forum: SMILE
- Topic: GetOutcomeIds(handle) does not work for value node
- Replies: 8
- Views: 13963
value node
We have several Chance nodes and Value nodes.
We need to get the value of Value Node
We need to get the value of Value Node
- Mon Jun 15, 2009 5:15 pm
- Forum: SMILE
- Topic: GetOutcomeIds(handle) does not work for value node
- Replies: 8
- Views: 13963
GetOutcomeIds(handle) does not work for value node
The following code is working for chance node but not working for Value Node
error:
foreach (int handle in net)
{
String[] outcomeIds = net.GetOutcomeIds(handle);
}
Could you tell me why or is there other method I can use?
error:
foreach (int handle in net)
{
String[] outcomeIds = net.GetOutcomeIds(handle);
}
Could you tell me why or is there other method I can use?