What are the current options for vectorization?

50 views
Skip to first unread message

mrdalloca

unread,
Jan 22, 2018, 12:00:39 PM1/22/18
to clojure-cortex
Just wanted to ask cause the examples I saw used functions to generate the data.

What should I use to transform and vectorize my data?

kiran karkera

unread,
Feb 9, 2018, 10:29:52 AM2/9/18
to clojure-cortex
Here's an example that loads data from a csv file and generates the input vectors used in training (http://viewer.gorilla-repl.org/view.html?source=github&user=shark8me&repo=inclojure-cortex&path=cortex-examples/ws/occupancy.cljw)

If you meant vectorization (as opposed to looping) then I'm afraid the example doesn't address that.

Tiago Dall'Oca

unread,
Feb 9, 2018, 2:25:12 PM2/9/18
to kiran karkera, clojure-cortex

Yeah, vectorisation.

I used datavec (from deeplearning4j) to transform big chunks of data. Datavec uses Spark which parallelise the computation. Pretty cool.

Is there plans to create a module of data transformation for cortex?


On Fri, 9 Feb 2018, 13:29 kiran karkera, <kiran....@gmail.com> wrote:
Here's an example that loads data from a csv file and generates the input vectors used in training (http://viewer.gorilla-repl.org/view.html?source=github&user=shark8me&repo=inclojure-cortex&path=cortex-examples/ws/occupancy.cljw)

If you meant vectorization (as opposed to looping) then I'm afraid the example doesn't address that.

--
You received this message because you are subscribed to a topic in the Google Groups "clojure-cortex" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure-cortex/eMYFrX3cOuc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure-corte...@googlegroups.com.
To post to this group, send email to clojure...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-cortex/a54f6521-ea77-48df-bc10-bd7427ee4879%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--


kiran karkera

unread,
Feb 10, 2018, 2:08:30 AM2/10/18
to clojure-cortex
You'll find that clojure libraries mimic Unix command line tools, they stick to the "do one thing well" principle.

Therefore Cortex is focused on neural nets alone and will likely not include ETL functionality. You'll have to use core.matrix or another library for transformation and dataset processing.

For big data ETL, you might want to use a Clojure Spark wrapper such as Flambo or Sparkling.

Regards
Kiran

Reply all
Reply to author
Forward
0 new messages