liblinear-ruby-swig 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/linear.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -7,7 +7,7 @@ task :default => ["sync_files","make_gem"]
7
7
 
8
8
  EXT = "ext/liblinear?.#{Hoe::DLEXT}"
9
9
 
10
- Hoe.new('liblinear-ruby-swig', '0.2.0') do |p|
10
+ Hoe.new('liblinear-ruby-swig', '0.2.1') do |p|
11
11
  p.author = 'Tom Zeng'
12
12
  p.email = 'tom.z.zeng@gmail.com'
13
13
  p.url = 'http://www.tomzconsulting.com'
data/lib/linear.rb CHANGED
@@ -52,7 +52,7 @@ class LParameter
52
52
 
53
53
  def initialize(*args)
54
54
  @param = Parameter.new
55
- @param.solver_type = L2_LR
55
+ @param.solver_type = L2R_LR
56
56
  @param.C = 1
57
57
  @param.eps = 0.01
58
58
  @param.nr_weight = 0
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tom Zeng