rb-libsvm 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0cb9d00d4396bbc79e1d5aff34ab0d45f141437e
4
- data.tar.gz: b86a3e1c9f2656e0e0cdfab7942458578584d263
2
+ SHA256:
3
+ metadata.gz: 2a9d797f41f999146257203fe3e0e1ef8a0e6145b432c21e00615b2c338f6a99
4
+ data.tar.gz: 9cbf823d14c85463d599f862c0ca2e11ea5cb9738db198a091d7168b7d005d53
5
5
  SHA512:
6
- metadata.gz: c09e012e812f851cfc18ad75eea8292298f5723c12ab1b36f23adbc1ef1f7c7a58ea63846d16596865ae4dec7ae5eaf2772be35b480ef83c0f7a88d7a5c92d03
7
- data.tar.gz: 6cd24bba79c2aed7a106d5d8c9d043f6a3ee59ce2ba8e7b204d04168154c2f11d3795ec181889f709548eee9bd19011bb846753f91ecd0278a44dfbb99b44749
6
+ metadata.gz: d6039ba512d500edb6bb7f5c32edeaf179cc2fe91c1cb0b8e094c1b5cd8117b493c00c5246b070f4f9581976a77e49aabb6b18c93b2f14cc0b7311022809fe11
7
+ data.tar.gz: b6801f7f1725507c10dd7773019e2da2f170a94265762d479336f10b12a2233ea2db9b802a88274130d05e115f475266b5ca89020c9aca529fdc45043d2d3fba
@@ -2,7 +2,7 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
- ## [1.4.2] - 2018-09-15
5
+ ## [1.4.3] - 2018-09-15
6
6
  ### Changed
7
7
  - Upgrade to LIBSVM 3.23
8
8
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2004-2012 Caspar Florian Ebeling
1
+ Copyright (c) 2004-2018 Caspar Florian Ebeling
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -25,7 +25,7 @@ this gem. You should install the original package if you need them.
25
25
  It is helpful to consult the [README of the LIBSVM][README] package for
26
26
  reference when configuring the training parameters.
27
27
 
28
- Currently this package includes libsvm version 3.23.
28
+ Currently this package includes libsvm version 3.24.
29
29
 
30
30
  ## Dependencies
31
31
 
@@ -3065,10 +3065,11 @@ const char *svm_check_parameter(const svm_problem *prob, const svm_parameter *pa
3065
3065
  kernel_type != PRECOMPUTED)
3066
3066
  return "unknown kernel type";
3067
3067
 
3068
- if(param->gamma < 0)
3068
+ if((kernel_type == POLY || kernel_type == RBF || kernel_type == SIGMOID) &&
3069
+ param->gamma < 0)
3069
3070
  return "gamma < 0";
3070
3071
 
3071
- if(param->degree < 0)
3072
+ if(kernel_type == POLY && param->degree < 0)
3072
3073
  return "degree of polynomial kernel < 0";
3073
3074
 
3074
3075
  // cache_size,eps,C,nu,p,shrinking
@@ -1,7 +1,7 @@
1
1
  #ifndef _LIBSVM_H
2
2
  #define _LIBSVM_H
3
3
 
4
- #define LIBSVM_VERSION 323
4
+ #define LIBSVM_VERSION 324
5
5
 
6
6
  #ifdef __cplusplus
7
7
  extern "C" {
@@ -1,3 +1,3 @@
1
1
  module Libsvm
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
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.4.3
4
+ version: 1.4.4
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: 2018-09-15 00:00:00.000000000 Z
12
+ date: 2020-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler
@@ -101,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubyforge_project: rb-libsvm
105
- rubygems_version: 2.6.14
104
+ rubygems_version: 3.1.2
106
105
  signing_key:
107
106
  specification_version: 4
108
107
  summary: Ruby bindings for LIBSVM