Thanks Matt! I've just release Vectorz 0.45.0 including your changes.
A lot of sparse operations are much faster now!
On Monday, 29 December 2014 21:56:30 UTC+8, Matt Revelle wrote:
>
> Yes, will do.
>
> On Dec 28, 2014, at 9:58 PM, Mike Anderson
> wrote:
>
> Looks like you have some good chang
Yes, will do.
> On Dec 28, 2014, at 9:58 PM, Mike Anderson
> wrote:
>
> Looks like you have some good changes in your Vectorz branch - any chance you
> could tidy up and make a PR?
>
> I like the idea of specialised getSlices and getColumns in particular - these
> should be much faster than
Looks like you have some good changes in your Vectorz branch - any chance
you could tidy up and make a PR?
I like the idea of specialised getSlices and getColumns in particular -
these should be much faster than getting the slices one-by-one if the data
is very sparse.
On Monday, 29 December 2
> On Dec 28, 2014, at 7:28 PM, Mike Anderson
> wrote:
>
> Interesting idea. The challenge is that I'm not sure how to add
> representation specification in an implementation independent way. It's a
> quirk of vectorz that it has both indexed and hashed storage, I probably
> wouldn't expect a
Interesting idea. The challenge is that I'm not sure how to add
representation specification in an implementation independent way. It's a
quirk of vectorz that it has both indexed and hashed storage, I probably
wouldn't expect any other implementations to have that. Likewise row and
column orie
Glad to see the addition of new-sparse-array to core.matrix. It looks like
it defaults to SparseRowMatrix for the Vectorz implementation? Should the
API provide a way to specify which sparse matrix representation (e.g., row-
vs column-based, indexed vs hashed) should be used? I'd suggest a 3-ari
This is cool. Kind of makes me wish my sparse matrices were larger than
300x300. I'll experiment with it anyway.
On Saturday, December 27, 2014 4:56:55 AM UTC-5, Mike Anderson wrote:
>
> Here is a little belated Christmas present for Clojure data aficionados:
>
> ;; setup
> (use 'clojure.core.m
Here is a little belated Christmas present for Clojure data aficionados:
;; setup
(use 'clojure.core.matrix)
(set-current-implementation :vectorz)
;; create a big sparse matrix with a trillion elements (initially zero)
(def A (new-sparse-array [100 100]))
;; we are hopefully smart enough