Search found 1417 matches
- Fri Sep 26, 2008 5:50 pm
- Forum: SMILE
- Topic: issues with DSL_em
- Replies: 2
- Views: 4580
Re: issues with DSL_em
Try calling d.MatchNetwork before the learning (but after the nodes have been created and initialized).
- Mon Sep 22, 2008 9:52 am
- Forum: SMILE
- Topic: Issue with calculating utilities with decision nodes
- Replies: 4
- Views: 6786
- Fri Sep 19, 2008 7:43 pm
- Forum: SMILE
- Topic: Issue with calculating utilities with decision nodes
- Replies: 4
- Views: 6786
Re: Issue with calculating utilities with decision nodes
After loading the model in GeNIe and performing inference, I'm getting 1200 for Yes and 1000 for No. Since you're posting in the SMILE forum, I assume you have some piece of code which loads/calls UpdateBeliefs, then retrieves the value of decision node. Can you post it here?
- Fri Sep 19, 2008 7:38 pm
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
- Fri Sep 19, 2008 1:08 pm
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
My system is a slackware 11 machine (Linux styx 2.6.18.8 #2 SMP Thu Mar 15 11:37:13 GMT 2007 i686 i686 i386 GNU/Linux) but that did not work either. I have libstdc++.so.6.0.3 installed. SMILE for icc was built with gentoo. I don't have the access to the VM with this install at the moment, so I can'...
- Thu Sep 18, 2008 4:40 pm
- Forum: SMILE
- Topic: SMILE error -51 in AddArc/Arc rejected by child node
- Replies: 8
- Views: 9648
Re: SMILE error -51 in AddArc/Arc rejected by child node
So there is no actual solution to this problem - how many arcs can I add, but just a matter of catching that exception and moving forward ? Depends on the meaning of 'moving forward'. If new arc causes some CPT to grow and exhaust the memory, your network already may be too complex to infer. What a...
- Thu Sep 18, 2008 4:04 pm
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
I copied the example 4 from the tutorial and got this: $ icc -w0 -I/usr/local/include/smile -lstdc++ -o simlearn4 smilearn4.cpp /usr/local/lib/libsmile.a /usr/local/lib/libsmilearn.a Try to remove -lstdc++ from the command line. icc should figure out you're performing C++ compile and link against a...
- Thu Sep 18, 2008 4:02 pm
- Forum: SMILE
- Topic: SMILE error -51 in AddArc/Arc rejected by child node
- Replies: 8
- Views: 9648
Re: SMILE error -51 in AddArc/Arc rejected by child node
Size = 8 byte * number of parent states * number of states of this node I'd replace 'number of parent states' with 'numstatp_1 * numstatp_2 * ... * numstatp_n', wheren numstatp_i is the number of states of ith parent of this node. Such formula gives you the size of CPT of single node. It doesn't an...
- Thu Sep 18, 2008 2:41 pm
- Forum: SMILE
- Topic: SMILE error -51 in AddArc/Arc rejected by child node
- Replies: 8
- Views: 9648
Re: SMILE error -51 in AddArc/Arc rejected by child node
Is there a max number of parents that can be added to a node, so that I can check when this number is reached and no longer add arcs? There's no hardcoded limit on the parent count. Note that the enlargement of child CPT depends on the number of parent's states, so new single parent with 4 states h...
- Thu Sep 18, 2008 12:50 pm
- Forum: SMILE
- Topic: SMILE error -51 in AddArc/Arc rejected by child node
- Replies: 8
- Views: 9648
Re: SMILE error -51 in AddArc/Arc rejected by child node
-51 translates to DSL_WRONG_NODE_TYPE. This is usually reported when you're trying to add an unsupported combination of parent/child types, like arc from utility to decision node. However, the 'bad allocation' suggests that you have large CPT in child, and the memory is exhausted when you're adding ...
- Thu Sep 18, 2008 12:46 pm
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
- Thu Sep 18, 2008 9:12 am
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
Re: ICPC linking problem on linux
Already doing that: icpc -o dices -I/usr/local/include/boost-1_36 -lboost_filesystem-il-mt-1_36 -lm -llog4cxx -lstdc++ -pthread ./singleton_log4cxx.o ./dice.o /usr/local/lib/libsmile.a /usr/local/lib/libsmilearn.a But somehow it does not work which is puzzling. Sorry - I didn't notice the reference...
- Thu Sep 18, 2008 9:07 am
- Forum: SMILE
- Topic: SMILE in Matlab
- Replies: 7
- Views: 8215
Re: SMILE in Matlab
That means building kind of a custom wrapper(dunno if am using the jargon right)? Yes, the custom wrapper sounds right. Dunno how to accomplish that thou. That's simple: get a C++ compiler, SMILE binaries and Matlab docs, write some code and you're done :) Hard to tell. Did you ensure that jsmile.d...
- Wed Sep 17, 2008 7:04 pm
- Forum: SMILE
- Topic: ICPC linking problem on linux
- Replies: 11
- Views: 11948
Re: ICPC linking problem on linux
It looks like missing reference to iostreams. You can try adding libstdc++ to the list of libraries your project is using.yg wrote:Anyone has any ideas?
- Tue Sep 16, 2008 4:50 pm
- Forum: SMILE
- Topic: SMILE in Matlab
- Replies: 7
- Views: 8215
Re: SMILE in Matlab
I dont know how libraries work in C++, is it possible for u to release DLLs that could be called from Matlab? That's highly unlikely. Basically, we'd have to flatten the entire class hierarchy to expose SMILE functionality as C functions. "How libraries work in C++" is pretty simple. To c...