cardmagic / classifier

A general classifier module to allow Bayesian and LSI classifications.
Other
661 stars 122 forks source link

Compatibility with ruby >= 2.7 without GSL #32

Closed SleepingInsomniac closed 3 years ago

SleepingInsomniac commented 4 years ago

classifier/extensions/vector is loaded when GSL is not found, this requires use of mathn which was deprecated and then removed in ruby >= 2.5. The mathn gem requires cmath which is now a gem. In order to keep things ridiculously simple, I've updated the gem spec dependencies to include cmath.

Along the same vane, rubyforge closed down and rb-gsl is now located at https://github.com/SciRuby/rb-gsl