Trying to use io.github.ensozos.core.MPdistance.getMPdistance
using Maven, I get the following error:
Exception in thread "main" java.lang.NoSuchMethodError:
'org.nd4j.linalg.api.ndarray.INDArray org.nd4j.linalg.factory.Nd4j.zeros(long, long)'
at io.github.ensozos.core.MPdistance.getMassDistMatrix(MPdistance.java:116)
at io.github.ensozos.core.MPdistance.getMPdistance(MPdistance.java:52)
at Main.Main.main(Main.java:104)
I am using Nd4j version 1.0.0-beta7.
I believe that this is an error related to org.nd4j.linalg.api.ndarray.INDArray
not having a zeros(long, long)
method. Is there a way to solve the problem?