Calculating the Pearson correlation coefficient using Ruby and the GNU Scientific Library
In this article I show how to use scientific libraries in your ruby code. As an example I replace some inline C code in the acts_as_recommendable Rails plugin with a single-line call to the GNU Scientific Library using rb-gsl.
Post a comment