I run the latest code from github (as of 11/1/2011) and am getting this error:
liblinear-ruby-swig-0.2.1/lib/linear.rb:55:in initialize': uninitialized constant LParameter::L2_LR (NameError) from test.rb:8:innew'
from test.rb:8:in `
'
Looks like L2_LR constant is outdated. So the constructor fails.
I made it work by I replacing L2_LR with L2R_LR on line 55 in linear.rb
Please apply this patch to the master branch if this is the right fix.
Thanks,
Dennis.