Search found 13 matches

by dtodor
Tue Jun 09, 2009 10:39 am
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Thanks for the support! Would it be possible to make a x86_64 build as well?
by dtodor
Sat Jun 06, 2009 1:06 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Could you provide a build without any optimizations?
by dtodor
Wed Jun 03, 2009 7:47 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

I'm actually using XCode with gcc 4:

i686-apple-darwin9-g++-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

I've also tried building from the command line:

g++ -O3 -DNDEBUG -ffast-math main.cpp -o test -Lsmile -Ismile -lsmilearn -lsmile

I'm getting the exactly same results as when using XCode. And ...
by dtodor
Tue Jun 02, 2009 8:48 am
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Hi,

I'm using Visual C++ Express Edition (Version 9.0.30729.1 SP):


Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: VC Express

Microsoft Visual C++ 2008 91909-152-0000052-60665
Microsoft Visual C++ 2008

Hotfix for Microsoft Visual ...
by dtodor
Wed May 27, 2009 5:32 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Windows :: SetRandomizeParameters(false):

0 A
0.500759 0.499241
1 B
0.492636 0.507364
2 C
0.527896 0.472104
3 H
0.195727 0.804273 0.724004 0.275996 0.362899 0.637101 0.294494 0.705506 0.171772 0.828228 0.884285 0.115715 0.449727 0.5
50273 0.763873 0.236127
4 D
0.20216 0.79784 0.70362 0.29638
5 E
0 ...
by dtodor
Wed May 27, 2009 4:51 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Without parameter randomization, the code still works under Windows and under Mac OS X still produces the wrong results.
by dtodor
Wed May 27, 2009 4:28 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

The following code delivers the CORRECT results under Windows. Unfortunately this is NOT the case for Mac OS X


#include <iostream>
#include <vector>

#include "smile.h"
#include "smilearn.h"

int main (int argc, char * const argv[]) {

DSL_network network;
if (network.ReadFile("abc-h-def-network ...
by dtodor
Wed May 27, 2009 2:13 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Do you have a C++ example for EM parameters learning?
by dtodor
Wed May 27, 2009 2:13 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Maybe I'm missing something when using the EM class?
by dtodor
Wed May 27, 2009 1:43 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

This doesn't work either under Mac OS:

#include <iostream>
#include <vector>

#include "smile.h"
#include "smilearn.h"

int main (int argc, char * const argv[]) {

DSL_network network;
if (network.ReadFile("abc-h-def-network-randomized.xdsl") != DSL_OKAY) {
std::cout << "Unable to read network\n ...
by dtodor
Wed May 27, 2009 12:53 pm
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

I'm using the latest jSmile for Mac OS X.
by dtodor
Tue May 26, 2009 11:55 am
Forum: SMILE
Topic: Parameters learning with jSmile
Replies: 25
Views: 50344

Parameters learning with jSmile

Hi,

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). This is the code that ...
by dtodor
Tue Feb 03, 2009 8:37 am
Forum: SMILE
Topic: Mac OS X x86_64 smile binary
Replies: 7
Views: 15427

Mac OS X x86_64 smile binary

Is there a plan to release a x86_64 binary for Mac OS X? Now that Java 6 is 64 bit, using jSmile requires to switch JVMs. Actually, I'm not quite sure whether it would be possible to create a 64 bit JNI library which uses the 32 bit version of smile.