It seems that these statenames depend on the structure learner. The PC algorithm gives me statenames without underscores, GTT gives them with underscores..the outcomes of A are 'State_0' and 'State_6', assuming that you used GTT directly from SMILE
Search found 5 matches
- Thu Oct 08, 2009 8:03 am
- Forum: SMILE
- Topic: Getting Conditional probabilities for data
- Replies: 2
- Views: 6121
- Thu Oct 08, 2009 7:13 am
- Forum: SMILE
- Topic: Possible bug in matrix dimensions after structure learning
- Replies: 1
- Views: 4751
Possible bug in matrix dimensions after structure learning
Hi,
After learning the network structure (with PC as well as with GTT) I wanted to do something with the prob. matrix. When I do the following:
DSL_Dmatrix * probMatrix = n.GetNode(n.FindNode("A"))->Definition()->GetMatrix();
DSL_intArray dimensions = probMatrix->GetDimensions();
cout ...
After learning the network structure (with PC as well as with GTT) I wanted to do something with the prob. matrix. When I do the following:
DSL_Dmatrix * probMatrix = n.GetNode(n.FindNode("A"))->Definition()->GetMatrix();
DSL_intArray dimensions = probMatrix->GetDimensions();
cout ...
- Tue Oct 06, 2009 9:11 am
- Forum: SMILE
- Topic: Getting Conditional probabilities for data
- Replies: 2
- Views: 6121
Getting Conditional probabilities for data
Hi,
My question is very simple, however I can't seem to figure it out.
I have build a network based on a dataset and learned the parameters.
Now I want to retrieve a conditional probability of some record in the data, say P(A=6 | B=0).
I know I can do this using the probability matrix for node A ...
My question is very simple, however I can't seem to figure it out.
I have build a network based on a dataset and learned the parameters.
Now I want to retrieve a conditional probability of some record in the data, say P(A=6 | B=0).
I know I can do this using the probability matrix for node A ...
- Thu Sep 24, 2009 10:44 am
- Forum: SMILE
- Topic: Essential search and PC
- Replies: 3
- Views: 7594
- Thu Sep 24, 2009 7:57 am
- Forum: SMILE
- Topic: Essential search and PC
- Replies: 3
- Views: 7594
Essential search and PC
Hi,
I'm writing a small program using the SIMLE library. I constructed a network for my data using Greedy Think Thinning. This works fine.
However, Essential search is somehow not included in smilelearn.h?
Because when I declare the learner:
DSL_essentialSearch egs;
Visual studio tells me: "'DSL ...
I'm writing a small program using the SIMLE library. I constructed a network for my data using Greedy Think Thinning. This works fine.
However, Essential search is somehow not included in smilelearn.h?
Because when I declare the learner:
DSL_essentialSearch egs;
Visual studio tells me: "'DSL ...