Re:Try Clojure in your browser
by kghose on Sunday December 18, 2011 @08:09AM
(#3366564)
I found it fun to see division results returned as fractions. Has anyone here switched from Python to Clojure for data analysis? What has been their experience?
[ Parent
| on HN ]
Re:Try Clojure in your browser
by spacemanaki on Sunday December 18, 2011 @10:03AM
(#3366716)
I haven't used it, but Incanter is a Clojure statistics and data analysis thing... http://incanter.org/
That is because Lisp has fractions as a native datatype. You would get the same result in Common Lisp.
Not recommended. Matrix multiplication is really slow, even with Incanter. I doubt you'll get very far with data analysis without multiplying a few matrices so avoid.
Re:Try Clojure in your browser
by rabidsnail on Sunday December 18, 2011 @02:41PM
(#3367308)
Slow compared to what? Numpy (or equivalent) or optimized fortran?
You know what? I realized that I didn't read the whole question. I switched from Octave, not Python. Oops.
I'm in the process right now. I didn't want to use Incanter since I don't like the kitchen sink reinvent R style, but there aren't any Clojure-esque matrix libraries around.
You, flatly, gain the language advantages of Clojure but have absolutely none of the Numpy/Matlab/R-like environments.