liblinear-ruby-swig
liblinear-ruby-swig copied to clipboard
uninitialized constant L2R_LR
Hi Tomz,
Thank you sooo much for your nice swig implementations of LibSVM and LibLinear. I'm trying to switch from libSVM to libLinear, but I could not run the test code successfully with "uninitialized constant L2R_LR" error. Where is it defined?
Thanks!
the constants are defined in https://github.com/tomz/liblinear-ruby-swig/blob/master/ext/linear.h
Thank you! I just solved the issue by copying all the files except models from liblinear-1.51/ruby to the directory that holds my ruby scripts.