Search found 1417 matches

by shooltz[BayesFusion]
Tue Jun 02, 2009 10:18 pm
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

sjin wrote:/usr/bin/ld: skipping incompatible ./lib/libsmilearn.a when searching for -lsmilearn
What's the output from the following two commands?
uname -a
gcc --version
by shooltz[BayesFusion]
Tue Jun 02, 2009 8:40 pm
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

Thanks, but which one in the following is for VS 2005 on your downloading page? VS 2005 contains Visual C++ 8.0. and I tried Linux (x86): gcc 4.1.1 [1.39 MB] (April 16, 2009) as well. I uncompressed the file smile_1_1_linux_gcc_4_1_1.tar.gz, and compile the code with the following command: g++ -O3 ...
by shooltz[BayesFusion]
Tue Jun 02, 2009 10:52 am
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

Hi, Shooltz, I didn't install VS 2005 SP1. The size of the smile*.lib files is 73.4 MB. I downloaded the VC 9.0 SP1 [12.1 MB] (April 16, 2009) version. VC 9.0 is included in Visual Studio 2008. You need either to install that version of the IDE, or download SMILE for VS 2005. Since our binaries are...
by shooltz[BayesFusion]
Tue Jun 02, 2009 12:07 am
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

The project builds correctly - I just had to comment out four calls to SetTemporalEvidence with std::string as 2nd argument.

Do you have VS 2005 SP1 installed? What are the sizes/timestamps of the smile*.lib files?
by shooltz[BayesFusion]
Mon Jun 01, 2009 11:42 pm
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

Open project properties and perform the following changes: 1) remove smile.lib from "Additional dependencies" under "Linker / Input" 2) set "Multi-threaded Debug DLL" in "Runtime Library" under "C/C++ / Code Generation". Currently it's set to "M...
by shooltz[BayesFusion]
Mon Jun 01, 2009 11:14 pm
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

sjin wrote:Actually, I tested my code several times, and found out that it seemed not to be the runtime library problem.
The warning you're getting from the linker strongly suggests the C/C++ runtime mismatch. Can you post your .vcproj file (zipped)?
by shooltz[BayesFusion]
Thu May 28, 2009 6:10 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

I can't reproduce your results on Windows. I was using two different VC++ versions. I'll need the following information before we can solve this issue: 1) VC++ version you're using, including installed service packs 2) sizes and dates of *.lib files from smile_1_1_vcxx.zip 3) the data file and the n...
by shooltz[BayesFusion]
Thu May 28, 2009 10:24 am
Forum: SMILE
Topic: library conflicts?
Replies: 18
Views: 20396

Re: library conflicts?

Hi, I'm using Visual Studio C++ to run my SMILE application. I get runtime errors when I load my network after reading data from a text file. Could you please take take a look at my source code to see any possible erros? The compiling information is attached below as well. Any comments are highly a...
by shooltz[BayesFusion]
Wed May 27, 2009 5:03 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

BTW, the EM randomization is enabled by default, so please make sure you actually call DSL_em::SetRandomizeParameters(false) - commenting out SetRandomizeParameters(true) is not enough.
by shooltz[BayesFusion]
Wed May 27, 2009 4:56 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

dtodor wrote:Without parameter randomization, the code still works under Windows and under Mac OS X still produces the wrong results.
Can you post the results from both platforms, without randomization?
by shooltz[BayesFusion]
Wed May 27, 2009 4:32 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

Do they produce identical output if you remove parameter randomization?
by shooltz[BayesFusion]
Wed May 27, 2009 3:02 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

Maybe I'm missing something when using the EM class? You shouldn't use equivalent sample size with randomized initial parameters, but it has no effect on the output from my sample program. I tested both Java and C++. Do you have a C++ example for EM parameters learning? Try the code below, but make...
by shooltz[BayesFusion]
Wed May 27, 2009 1:43 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

dtodor wrote:I'm using the latest jSmile for Mac OS X.
That's going to be hard to reproduce - we don't have any Macs at hand. The only thing we do is building core C++ libs using virtualized Darwin. Can you test your program on other OS?
by shooltz[BayesFusion]
Wed May 27, 2009 11:39 am
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 23012

Re: Parameters learning with jSmile

when I use the EM class for learning the parameters of a network I get a different result as compared to when learning the parameters from the same data set using Genie. The result delivered by Genie is the correct one (I've checked it against several other BN toolboxes). I can't reproduce that - n...
by shooltz[BayesFusion]
Mon May 25, 2009 9:08 am
Forum: GeNIe
Topic: problems with parameter learning with EM
Replies: 14
Views: 13122

Re: I can't reproduce it now

ninio wrote:Any news on the updated code?
Send me the private message.