statsample icon indicating copy to clipboard operation
statsample copied to clipboard

Splitting statsample into smaller chunks

Open IsmailM opened this issue 10 years ago • 5 comments

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...

IsmailM avatar Apr 10 '15 15:04 IsmailM

+1 this creates major installation issues for our app....

yannickwurm avatar Apr 10 '15 17:04 yannickwurm

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. :)

agarie avatar Apr 13 '15 15:04 agarie

@IsmailM I removed the rb-gsl dependency from statsample and minimization today.

agarie avatar Apr 27 '15 21:04 agarie

@agarie Many Thanks, Most Appreciated.

IsmailM avatar Apr 28 '15 14:04 IsmailM

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.

v0dro avatar Jul 17 '15 09:07 v0dro