Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


I haven't used it, but Incanter is a Clojure statistics and data analysis thing... http://incanter.org/


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.


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.


That is because Lisp has fractions as a native datatype. You would get the same result in Common Lisp.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: