Search found 16 matches

by Greg
Tue Nov 17, 2009 1:32 am
Forum: SMILE
Topic: Inference with continuous variables
Replies: 6
Views: 6007

Thanks so much for your time!
by Greg
Mon Nov 16, 2009 6:40 pm
Forum: SMILE
Topic: Inference with continuous variables
Replies: 6
Views: 6007

Thanks, It's probably something I'm doing (or not doing).
by Greg
Mon Nov 16, 2009 3:13 pm
Forum: SMILE
Topic: Inference with continuous variables
Replies: 6
Views: 6007

I seem to be able to set evidence with node->Value()->SetEvidence(double) I set the evidence for all but one variable, set that variable as the target network->SetTarget(int nodeID) and run inference on the network with UpdateBeliefs but it never returns after several minutes (half hour or more). I'...
by Greg
Thu Nov 12, 2009 10:44 pm
Forum: SMILE
Topic: Inference with continuous variables
Replies: 6
Views: 6007

Inference with continuous variables

Are there any references for setting evidence and inference with networks composed of continuous variables? I haven't found anything in my search of the forum and reference documentation.

Thanks as always,
Greg Johnson
by Greg
Mon Oct 19, 2009 8:04 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

When I invoke ToDAG after DSL_pc::Learn DSL_pattern::ToDAG returns false but I get the following output from DSL_pattern::Print which shows no undirected arcs. None: 0 Undirected: 1 Directed: 2 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 ...
by Greg
Mon Oct 19, 2009 7:22 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

Perhaps I am confused about how to use the pattern, dataset and network. After a dataset has been created, I have: if (!pattern.ToDAG(d, result)) cout << "\tDSL_pattern::ToDAG returned false!"<< endl; pattern.Print(); cout << "Starting learning... "; if (error_code = pc.Learn(d,p...
by Greg
Mon Oct 19, 2009 7:04 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

Okay, when I use a different dataset, or a concatenation of several datasets, DSL_pattern::Print produces the following output:

None: 0
Undirected: 1
Directed: 2

And DSL_pc::Learn doesn't produce a valid network although no errors are produced/detected.
by Greg
Mon Oct 19, 2009 2:59 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

I've got the columns copied to continuous variables, Now I get a "pc: constant not allowed" error. Do I have a column with too little variation? I've tried adjusting the pc significance value with no success.

Thanks,
Greg
by Greg
Mon Oct 19, 2009 1:54 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

pc.h is 720 bytes and dated 4/16/09 01:43:17 PM

I'm afraid I don't understand what you mean about copying columns or the dataset to ensure all columns are continuous.
by Greg
Mon Oct 19, 2009 1:26 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

Thanks for the quick response! pc::Learn returns 1 not -1 as expected. However, the error message indicates that there is a mix of continuous and discrete variables. Is there a way to force all variables to be continuous? I have edited the dataset so all data elements have at least one decimal place...
by Greg
Sun Oct 18, 2009 9:35 pm
Forum: SMILE
Topic: Help with SmiLearn changes
Replies: 14
Views: 10521

Help with SmiLearn changes

Hi, I am trying to learn a network with continuous variables by modifying code that worked with the previous version of SmiLearn. The dataset has 30 variables and approx 4800 records. I have run tests where all data are real numbers with no change in the results (the zero values are integers in the ...
by Greg
Mon Jan 28, 2008 1:54 pm
Forum: SMILE
Topic: DSL_textParser was not declared in htis scope
Replies: 6
Views: 9959

Yes, I was using DSL_OKAY!!!

Thanks for the quick response.
by Greg
Sun Jan 27, 2008 2:23 pm
Forum: SMILE
Topic: DSL_textParser was not declared in htis scope
Replies: 6
Views: 9959

I see now that these have been removed from the API.

DSL_dataset::ReadFile seems to fail on files with variable states which include an underscore. Is there another delimiter I can use? Currently I am using a space to separate the variable state names in the datafile.

Thanks.
by Greg
Sun Jan 27, 2008 1:36 am
Forum: SMILE
Topic: DSL_textParser was not declared in htis scope
Replies: 6
Views: 9959

DSL_textParser was not declared in htis scope

Hi, I'm trying to port my Visual Studio 6.0 code to Linux and am getting the following errors: LearningTest.cpp: In function ‘int main(int, const char**)’: LearningTest.cpp:9: error: ‘DSL_textParser’ was not declared in this scope LearningTest.cpp:9: error: expected `;' before ‘parser’ L...
by Greg
Mon Jan 14, 2008 12:57 pm
Forum: SMILE
Topic: Altix/SuSe Linux build
Replies: 3
Views: 6632

Re: Altix/SuSe Linux build

shooltz wrote:Unfortunately, we don't have the access to Altix hardware.
I believe I can get you an ID on our system temporarily to compile the libraries. Would you be able to do this for me and anyone else working on this platform?