Search found 8 matches

by alamy
Wed Mar 18, 2009 12:22 am
Forum: SMILE
Topic: how to set fixed node?
Replies: 2
Views: 6536

Re: how to set fixed node?

The fixedNodes parameter of DSL_em::Learn is what you're looking for. The vector elements are handles of nodes which should remain fixed.

int Learn(const DSL_dataset& ds, DSL_network& orig, const std::vector<DSL_datasetMatch> &matches, const std::vector<int> &fixedNodes , DSL_learnProgress ...
by alamy
Tue Mar 17, 2009 5:32 pm
Forum: SMILE
Topic: how to set fixed node?
Replies: 2
Views: 6536

how to set fixed node?

Hi,

I noticed that in GeNie, you can set fixed nodes (have their parameters fixed) if there are no data associated when using "Learn Parameters".

I wonder how to set fixed nodes from the smile/smilearn APIs?

Thanks.
by alamy
Mon Nov 24, 2008 3:44 pm
Forum: SMILE
Topic: bug in smilearn?
Replies: 3
Views: 8496

Re: bug in smilearn?

I can't reproduce the problem with most recent SMILE sources. We made changes to the EM implementation, so it's possible that problem you've encountered is already fixed. We'll be releasing new builds of GeNIe and SMILE this week.

Publicly available GeNIe binaries are indeed compiled with -DNDEBUG ...
by alamy
Sat Nov 22, 2008 5:35 pm
Forum: SMILE
Topic: bug in smilearn?
Replies: 3
Views: 8496

bug in smilearn?

Hi,

I got an assertion false from smilearn when trying to use DSL_em to do a EM learning.

The debug call stack is shown as follow. I also attached my C++ code, the network in XDSL format, and the dataset in the zip file.

I tried to do the learning manually in GeNie, and it seems that it runs ok ...
by alamy
Fri Oct 10, 2008 7:22 pm
Forum: SMILE
Topic: UncheckedValue v.s CheckedValue
Replies: 1
Views: 5644

UncheckedValue v.s CheckedValue

Hi,

I'm curious what's the difference DSL_sysCoordinates::UncheckedValue() and DSL_sysCoordinates::CheckedValue() ?

I did a little testing, and it seems that they have the same effects? Just curious if there's any special cases when using one is better (more correct) than the other one?

Thanks.
by alamy
Mon Oct 06, 2008 7:00 pm
Forum: SMILE
Topic: About DSL_em::SetEquivalentSampleSize(int eqSampleSize)
Replies: 1
Views: 5938

About DSL_em::SetEquivalentSampleSize(int eqSampleSize)

Hi,

I'm curious what's the meaning of the equivalent sample size used in DSL_em::SetEquivalentSampleSize(...)?

Is it the equivalent sample size for the new training data? Or is it the equivalent sample size for the prior network parameters?

Is the equivalent sample size here synonymous to the ...
by alamy
Fri Sep 26, 2008 7:28 pm
Forum: SMILE
Topic: issues with DSL_em
Replies: 2
Views: 7064

Re: issues with DSL_em

shooltz wrote:Try calling d.MatchNetwork before the learning (but after the nodes have been created and initialized).

That fixes the problem. Thanks a lot:)
by alamy
Fri Sep 26, 2008 4:47 pm
Forum: SMILE
Topic: issues with DSL_em
Replies: 2
Views: 7064

issues with DSL_em

Hi,

I've tried to use DSL_em to learn the parameters of a three node network with the dataset from (http://genie.sis.pitt.edu/wiki/Tutorials_Code:_Source_Code_for_Tutorial_4).

However, it seems that the learning is never successful (DSL_em::Learn(...) doesn't return a DSL_OK).

I wonder if I made ...