Search found 33 matches

by oscarpc
Thu Feb 28, 2013 4:40 am
Forum: SMILE
Topic: Create a DSL_dataset dataset with strings
Replies: 1
Views: 2754

Create a DSL_dataset dataset with strings

Hello all, I am creating a dataset from the scratch. So far, I am familiar with the functions AddIntVar/SetInt and AddFloatVar/SetFloat, but in addition, I would like to add some fields that are strings. Do you know how I could do this? In addition, how the BN is going to interpret a string field? M...
by oscarpc
Thu Feb 28, 2013 2:59 am
Forum: GeNIe
Topic: Continuous variables & gaussian states
Replies: 10
Views: 8063

Continuous variables & gaussian states

Hello all, I have a couple of questions that might be a bit simple, but that I don't understand very well. 1. How can I use continuous variables in my DBN in Genie? 2. And second, is there any way of having a probability density function, let's say a Gaussian, defining the conditional probability be...
by oscarpc
Fri Feb 08, 2013 1:01 am
Forum: GeNIe
Topic: Validating Network with GeNIe
Replies: 8
Views: 7621

Re: Validating Network with GeNIe

Thank you Martijn, I really appreciate your help.
Kind regards,

Oscar PC.
by oscarpc
Thu Feb 07, 2013 12:03 am
Forum: GeNIe
Topic: Validating Network with GeNIe
Replies: 8
Views: 7621

Re: Validating Network with GeNIe

Thanks Martijn, Sorry, I meant "target" versus "non target" nodes. I forgot to put the "non" :P Thank you so much for your help, very useful. I will try the Annealed Map algorithm. One more question. I don't quite understand what the difference is between having the DBN...
by oscarpc
Wed Feb 06, 2013 5:08 am
Forum: GeNIe
Topic: Validating Network with GeNIe
Replies: 8
Views: 7621

Re: Validating Network with GeNIe

Thank you very much. It was really useful. One last two questions, I have read some posts about "target nodes", but still, I don't have very clear when it is useful to define one node as "target" and the other as "targets". In addition, is there any algorithm (i.e. Vite...
by oscarpc
Tue Feb 05, 2013 11:46 am
Forum: GeNIe
Topic: Validating Network with GeNIe
Replies: 8
Views: 7621

Re: Validating Network with GeNIe

Hello,
Does anyone know any of the answers to my previous questions :-)?
Thank you.
Oscar
by oscarpc
Mon Feb 04, 2013 1:26 am
Forum: GeNIe
Topic: Validating Network with GeNIe
Replies: 8
Views: 7621

Validating Network with GeNIe

Hello all, I have got some doubts that might be very simple, but they are giving me some headache. I have built a DBN and its parameters have been automatically learned with a dataset. This DBN has only two time slices and the nodes that participate in the "time series" are called DM (DM f...
by oscarpc
Fri Feb 01, 2013 5:05 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

Thank you very much!
I will try the new version.
When you say "GeNIe and SMILE build for OSX have been refreshed", is there a version for GENIE for OSX?
Kind regards,
Oscar
by oscarpc
Tue Jan 29, 2013 11:37 pm
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

Thank you so much. If I understood correctly then, I have to change the DBN structure for the time being so the program can work. In particular, I have to remove the initial conditions. Am I right? This is what I did. I created a new Network with no anchor nodes (see attachment). Nonetheless, the SM...
by oscarpc
Tue Jan 29, 2013 1:02 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

I have been debugging my program and I checked that the program gets stuck in the line that says " ds.SetInt(colIdx, k, map[ds.GetInt(colIdx, k)]);" within the code for matching states of variables. Any ideas? I am really stranded in this problem. Thank you very much in advance. Oscar PC T...
by oscarpc
Thu Jan 24, 2013 7:48 pm
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

How silly of me! Thank you.
Attached to this message , you can find the network and the data.
Thank you so much.

Oscar PC
by oscarpc
Thu Jan 24, 2013 5:22 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

First of all, thank you very much for your great help. Nonetheless, I have not been successful with the EM learning. I think I have got all the network and dataset in the correct format, but nonetheless, my SMILE program doesn't learn. I have tried to run it on Genie and I have got the same problem....
by oscarpc
Tue Jan 22, 2013 3:31 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

Dear Shooltz, Thank you so much. I didn't know that the identifiers used by SMILE must start with the letter. Problem solved! But I have a new doubt. Let's say that now one of the states of the network for node "Year_Date_of_birth" is "year_1978'. Nonetheless, the dataset will have st...
by oscarpc
Thu Jan 17, 2013 5:30 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

Hi all, I have also tried this piece of code, but the States keep being 2: State0 and State1 ... In addition, I am now a bit confused. It seems that the States we give to the nodes in the network are "strings", but the actual values in the Database will be integers. Am I right? int Age=the...
by oscarpc
Thu Jan 17, 2013 5:14 am
Forum: SMILE
Topic: EM Learn
Replies: 18
Views: 15299

Re: EM Learn

Hi Martijn, This is so useful and so nice of you! Thank you so much. You helped me a lot. >>The SoP variable, which is present in the network, is not present in the dataset, I assume this is a latent variable you are trying to learn. Easiest solution should be to >>add columns to the dataset with on...