Java setNoisyParentStrengths fails

The engine.
Post Reply
Jochen0x90h
Posts: 19
Joined: Thu Jul 11, 2013 1:20 pm

Java setNoisyParentStrengths fails

Post by Jochen0x90h »

Hi!

When trying to set parent strengths for a noisy max node like

Code: Select all

network.setNoisyParentStrengths("Node", "ParentNode", new int[]{1, 0});
I get this exception. I'm using Java 7.

Exception in thread "main" java.lang.UnsatisfiedLinkError: smile.Network.setNoisyParentStrengths(Ljava/lang/String;Ljava/lang/String;[I)V
at smile.Network.setNoisyParentStrengths(Native Method)

It works when using the index variant
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Java setNoisyParentStrengths fails

Post by shooltz[BayesFusion] »

The bug has been fixed, the binaries will be uploaded to our website later today. I can give you the link to our Maven repo, which already contains the updated code (the native part of jSMILE in the repo is currently limited to OSX and 64-bit Linux).
Jochen0x90h
Posts: 19
Joined: Thu Jul 11, 2013 1:20 pm

Re: Java setNoisyParentStrengths fails

Post by Jochen0x90h »

I'm using OSX. Please send me the link.
shooltz[BayesFusion]
Site Admin
Posts: 1417
Joined: Mon Nov 26, 2007 5:51 pm

Re: Java setNoisyParentStrengths fails

Post by shooltz[BayesFusion] »

Jochen0x90h wrote:I'm using OSX. Please send me the link.
The repository is here:
<url>http://dsl.sis.pitt.edu/artifactory/libs-release</url>

You can also access Artifactory's web interface at <url>http://dsl.sis.pitt.edu/artifactory</url>

Current jSMILE version in the repository is 2013.08.01. The repository contains separate artifacts for Java and JNI's parts. You can use unpack goal of maven-dependency-plugin to get the appropriate native library in your target/lib folder.
Post Reply