statsample
statsample copied to clipboard
Splitting statsample into smaller chunks
I think it would be nice if statsample could be restructured into many extensions...
so if you simply need the wilcoxon test, you do the following:
require 'statsample/wilcoxon_test'
I believe that this would mean that dependencies are only installed when needed...
e.g. Based on my understanding the GSL library (and rb-gsl) are dependencies that are only required for Factorial analysis and polychorical correlation (according the Readme on the original fork). However, it is necessary to install these dependencies whether you are using Factorial analysis and polychorical correlation or not...
+1 this creates major installation issues for our app....
Thanks for posting it here, Ismail.
@yannickwurm can you give us more information about those issues? Maybe this can point us to a better solution or something. :)
@IsmailM I removed the rb-gsl dependency from statsample and minimization today.
@agarie Many Thanks, Most Appreciated.
We've also factored the dataset/vector into a separate gem. I think the next step would be to design an integrated API for statsample.