rb-libsvm 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6628f92d9d2d643e194b46b8e225c5cade354eb
4
- data.tar.gz: 58b9eee2167ec2d4eb60a6010c3d05fab7836c94
3
+ metadata.gz: c04b43e9bcd03b81b5e928566c8449f91650bfc4
4
+ data.tar.gz: 1338454d938aeffdb2bfcc371f994177982bd984
5
5
  SHA512:
6
- metadata.gz: 64ec0c4d492262ce7dbc4b28132c998a886e04b558beec111ee3118a7608732447d54641e5f9a400d7ed311d8cf8babfc07185e482359f998cd0d1174344fc78
7
- data.tar.gz: 35956f1af2012ad765a3312b926f92e60af0c469924512db1325d0e52d97c6f9850cd8639fb02723615a6976a54d1c637ef51dd2baa232ee3c7eb6641f0091ce
6
+ metadata.gz: f4dbead862bfa6284ed286759cd6215764fe3f4124162bcd3e7f5a441ac540ba41eab7ada12a4a2c221220ff322b443421f4e663189eb65bc7d939eb8dfa9236
7
+ data.tar.gz: 5512309213d09e792e2e12b2c753a12b800020f7696f6b46dd04fe5e67e5041af9b61e199465ac87c58f18ab9c4bc4f78cfa6edf51270d769a65ff7fbd0ea979
@@ -0,0 +1,8 @@
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
4
+
5
+ ## [1.3.1] - 2015-03-21
6
+ ### Fixed
7
+ - Spelling and punctuation in documentation comments
8
+ - Fix LIBSVM_VERSION header; now correctly specifies 320
@@ -484,7 +484,7 @@ static VALUE cModel_support_vectors_count(VALUE obj)
484
484
  /* call-seq:
485
485
  * Model.load(filename) # => model
486
486
  *
487
- * Load a {Libsvm::Model} from a file
487
+ * Load a {Libsvm::Model} from a file.
488
488
  *
489
489
  * This load a model from file `filename`. Format is the LIBSVM
490
490
  * internal file representation of the model.
@@ -596,23 +596,23 @@ void Init_libsvm_ext() {
596
596
  */
597
597
  mKernelType = rb_define_module_under(mLibsvm, "KernelType");
598
598
  /**
599
- * A linear kernel
599
+ * A linear kernel; or not using a kernel.
600
600
  */
601
601
  rb_define_const(mKernelType, "LINEAR", INT2NUM(LINEAR));
602
602
  /**
603
- * A polynomial kernel
603
+ * A polynomial kernel.
604
604
  */
605
605
  rb_define_const(mKernelType, "POLY", INT2NUM(POLY));
606
606
  /**
607
- * A redial basis function kernel
607
+ * A radial basis function kernel.
608
608
  */
609
609
  rb_define_const(mKernelType, "RBF", INT2NUM(RBF));
610
610
  /**
611
- * A sigmoid kernel
611
+ * A sigmoid kernel.
612
612
  */
613
613
  rb_define_const(mKernelType, "SIGMOID", INT2NUM(SIGMOID));
614
614
  /**
615
- * A precomputed kernel
615
+ * A precomputed kernel.
616
616
  */
617
617
  rb_define_const(mKernelType, "PRECOMPUTED", INT2NUM(PRECOMPUTED));
618
618
 
@@ -1,7 +1,7 @@
1
1
  #ifndef _LIBSVM_H
2
2
  #define _LIBSVM_H
3
3
 
4
- #define LIBSVM_VERSION 318
4
+ #define LIBSVM_VERSION 320
5
5
 
6
6
  #ifdef __cplusplus
7
7
  extern "C" {
@@ -1,5 +1,5 @@
1
1
  module Libsvm
2
- # Represents a feature
2
+ # This class represents a feature.
3
3
  #
4
4
  # A feature has an index and a value.
5
5
  #
@@ -77,10 +77,10 @@ module Libsvm
77
77
  end
78
78
 
79
79
  # @!attribute index
80
- # The index identifies the feature for which this node represents a value
80
+ # The index identifies the feature for which this node represents a value.
81
81
 
82
82
  # @!attribute value
83
- # The value of this feature in this instance
83
+ # The value of this feature in this instance.
84
84
 
85
85
  # Create a new feature node.
86
86
  #
@@ -99,7 +99,7 @@ module Libsvm
99
99
  index == other.index && value == other.value
100
100
  end
101
101
 
102
- def inspect # :nodoc:
102
+ def inspect
103
103
  vars = %w(index value).map { |name|
104
104
  "#{name}=#{send(name)}"
105
105
  }.join(", ")
@@ -2,7 +2,7 @@ module Libsvm
2
2
  # This file only contains documentation comments. See
3
3
  # ext/libsvm/libsvm.c for implementation.
4
4
 
5
- # Represents a training set (alternatively called problem).
5
+ # Represents a training set (alternatively called `problem').
6
6
  #
7
7
  # In contains labels and examples in equal number.
8
8
  #
@@ -13,7 +13,7 @@ module Libsvm
13
13
  # @!attribute [r] l
14
14
  #
15
15
  # The number of labels and examples in this traning set. (The name
16
- # is lower case L.)
16
+ # is lowercase-L.)
17
17
  #
18
18
  # @return [Integer]
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Libsvm
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb-libsvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Florian Ebeling
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-18 00:00:00.000000000 Z
12
+ date: 2015-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -52,6 +52,7 @@ files:
52
52
  - ".gitignore"
53
53
  - ".rvmrc"
54
54
  - ".travis.yml"
55
+ - CHANGELOG.md
55
56
  - Gemfile
56
57
  - LIBSVM-LICENSE
57
58
  - MIT-LICENSE
@@ -111,3 +112,4 @@ test_files:
111
112
  - spec/problem_spec.rb
112
113
  - spec/spec_helper.rb
113
114
  - spec/usage_spec.rb
115
+ has_rdoc: