This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-25
Channels
- # arachne (1)
- # beginners (22)
- # boot (21)
- # cider (23)
- # cljs-dev (16)
- # cljsrn (9)
- # clojure (118)
- # clojure-dev (11)
- # clojure-greece (16)
- # clojure-italy (10)
- # clojure-losangeles (4)
- # clojure-russia (14)
- # clojure-serbia (4)
- # clojure-spec (58)
- # clojure-uk (33)
- # clojurescript (30)
- # cursive (17)
- # datomic (48)
- # docs (22)
- # events (1)
- # fulcro (24)
- # hoplon (3)
- # jobs (6)
- # jobs-discuss (4)
- # keechma (4)
- # leiningen (11)
- # luminus (4)
- # midje (1)
- # off-topic (107)
- # onyx (30)
- # other-languages (12)
- # pedestal (4)
- # re-frame (72)
- # reagent (6)
- # remote-jobs (1)
- # shadow-cljs (16)
- # spacemacs (3)
- # specter (9)
- # uncomplicate (4)
- # unrepl (40)
HI! Looking for a Clojure scientific library like numpy in Python. Any suggestions?
The scientific library should support basic mathematical functions like mean, standard deviation etc. using any data type (vectors, matrices...) (like numpy in Python).
I found Clatrix, core.matrix and Neanderthal. Any recommendations which one to use?
Neanderthal is very active and the author hangs around here a lot while Clatrix and core.matrix are pretty dead
Did I understand correctly from the Neanderthal documentation that if you use it you have to install some additional packages in OS level? If yes, isn't this a bit of a nuisance since I don't necessarily know what the target OS will be?
You;’ll find that’s the case with most JVM numerics libraries
Either you get sub-par performance, or you have to install native libs
The JVM just doesn’t give you enough control to do both with pure java.
Ok. Thanks for the information.
So, would you recommend Neanderthal over core.matrix? If I need to manipulate matrices (e.g. linear regression models etc.)...
I can’t help you with that. they’re both fantastic libraries. Core.matrix does have multiple backends however.
So you can start with a pure JVM backend and then swap it out for something that’s a bit faster later
On that topic - any library that can do pandas DataFrame type representation? If I were to implement a subset myself, would you recommend representation as [ {:date d1 :a 2 :b 3}] or { :d1 {:a 2 :b 3}} ?
Hey guys I want to make a api that will receive one request and add 1 element in array something like it first request GET /api/1 response -> [1] second request GET /api/2 response -> [1, 2] What's the best way that I can save in memory this data (list)? now i'm using compojure to make this end points
so (def memory (atom []))
to initialize, then on each call return (swap! memory conj my-path-number)
I saw atom but I don't know to change all data of it, but atom can help, how I change all data from atom so I have an atom with [1 2 3] but I want change to another atom [5 "bvcbvc" 6]?
you can set the current value to something new with reset!
, which just replaces the current value
Ty, I will test it