Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in thread main #21

Open
mactsouk opened this issue Jul 8, 2021 · 4 comments
Open

Exception in thread main #21

mactsouk opened this issue Jul 8, 2021 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mactsouk
Copy link

mactsouk commented Jul 8, 2021

When trying to use getMPdistance(), 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:29)

I suppose it is an error related to org.nd4j.linalg.api.ndarray.INDArray not having an zeros(long, long) method but I am not proficient in Java in order to search it more.
Any ideas on what to do with it?

Thanks!

@mactsouk
Copy link
Author

mactsouk commented Jul 8, 2021

Please read this in case it helps.

@ensozos
Copy link
Owner

ensozos commented Jul 8, 2021

Hi @mactsouk. Yes, we need to update the version of the ND4j to 7. I will probably do that next week. If you need that earlier, you can fork the library, update the dependencies and pr. I will be happy to answer any of your questions about the lib.

@ensozos ensozos added help wanted Extra attention is needed bug Something isn't working labels Jul 8, 2021
@mactsouk
Copy link
Author

mactsouk commented Jul 8, 2021

Thanks @ensozos - should you also need to push it as a new version at https://mvnrepository.com/artifact/io.github.ensozos/matrix-profile/?

@ensozos
Copy link
Owner

ensozos commented Jul 8, 2021

Yes, I'll have to push a new version on mvn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants