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

SparseVector nulls all numerical values #83

Open
Dom1001 opened this issue Apr 24, 2019 · 1 comment
Open

SparseVector nulls all numerical values #83

Dom1001 opened this issue Apr 24, 2019 · 1 comment

Comments

@Dom1001
Copy link

Dom1001 commented Apr 24, 2019

Ive tried to reduce a 300 dimension array from kmeans into 2 dimensions. For storing the double values I decided to use the sparsevector class. After some debug I saw that everytime I want to get the values from the sparsevector I got only 0.0, even if I use the list or arraycopy method. I only have numerical values in the vector. DenseVector works as expected. Also, conversion into 2 Dimensions work. Ive tried Java 8-11.

@EdwardRaff
Copy link
Owner

I apparently missed this... oops.

Do you have code that replicates this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants