JSAT icon indicating copy to clipboard operation
JSAT copied to clipboard

SparseVector nulls all numerical values

Open Dom1001 opened this issue 6 years ago • 1 comments

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.

Dom1001 avatar Apr 24 '19 11:04 Dom1001

I apparently missed this... oops.

Do you have code that replicates this issue?

EdwardRaff avatar Dec 28 '19 17:12 EdwardRaff