News for hackers. Stuff that matters.
Re:Performing Linear Regression Using Ruby by thauck on Tuesday September 11, 2012 @10:23PM (#4508772)
I mostly agree with this, because I do like Ruby even though I don't use it.

The missing link here, and the reason Python gets more love from the data community, is that Python scales down to the smaller data sets as well as it handles big ones. (Not sure if you ment it couldn't, but the distinction you make implies that.)

Re:Performing Linear Regression Using Ruby by textminer on Tuesday September 11, 2012 @10:57PM (#4508908)
Python is surprisingly heavy-duty. But my kingdom for a seamlessly distributed or parallelized version of NumPy/SciPy! How nice would it be to just enter "C = A * B", with A living as a sparse CSC across many nodes?
Re:Performing Linear Regression Using Ruby by msellout on Tuesday September 11, 2012 @11:10PM (#4508946)
Would Disco (http://discoproject.org/) work for you?
Re:Performing Linear Regression Using Ruby by cdavid on Wednesday September 12, 2012 @06:55AM (#4510060)
I don't think MR is a good abstraction for implementing linear algebra, and I expect the overhead to be too high (although I don't have numbers to back that up). For large problems (>> couple of machines worth of RAM), you use big iron HPC solutions, or you avoid 'exact' linear algebra altogether to focus on one-pass algorithms.

For example, instead of computing an exact SVD, you will use something like Hebbian algorithm to compute the SVD in a streaming manner (that's what Mahaout implements for example).

Re:Performing Linear Regression Using Ruby by Radim on Wednesday September 12, 2012 @04:59AM (#4509791)
No, the sparse matrix code in SciPy is plain C (not even multi-core, let alone distributed).

EDIT: or did you mean Disco offers distributed sparse CSC operations?

Re:Performing Linear Regression Using Ruby by hogu on Tuesday September 11, 2012 @11:41PM (#4509022)
we, http://continuum.io/, are working on this.
Re:Performing Linear Regression Using Ruby by EzGraphs on Wednesday September 12, 2012 @06:48AM (#4510047)
Agreed, Python scales down and so is also good for small tasks. What I was saying is that Ruby - as much as I like it - does not generally scale up beyond a certain point.

Both R and Ruby have had issues with large data sets which have been addressed to some degree in more different distributions and more recent releases. Python is ready out of the box for large data sets. So what I meant to communicate is that if you know that you are going to be dealing with a large data set, you might as well go straight to python.