numo-libsvm 2.3.0 → 3.0.0
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE.txt +1 -1
- data/README.md +2 -0
- data/ext/numo/libsvm/extconf.rb +12 -1
- data/ext/numo/libsvm/src/svm.h +1 -1
- data/lib/numo/libsvm/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10d7ba229178a10bee36cd31ffd005984fa007b5f63dbd4b282b300f3820f02f
|
4
|
+
data.tar.gz: 713c171d6bd151846b31e27a586db5db0b70f7bb98cfda4c08da39a044056260
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69fb57aedba1d02c522d42504be52bea1540973f33af4ef06e4310bca9be75ab954ec7f77c0c565f0b5c3e82fa74469848fb2c74a9c5dbb500fc003d54445e76
|
7
|
+
data.tar.gz: 99abcc664b6f62d7ebf9993e8c3ee2a97ca3546407c97184d115c806b79671fc16d4db2c7675caaf11cb8fe39edca8c4ec5405f0d834e1f697282dab3f1248d0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# [[3.0.0](https://github.com/yoshoku/numo-libsvm/compare/v2.3.0...v3.0.0)] - 2025-10-01
|
2
|
+
|
3
|
+
**Breaking chage**
|
4
|
+
|
5
|
+
- Change dependency from numo-narray to [numo-narray-alt](https://github.com/yoshoku/numo-narray-alt).
|
6
|
+
|
1
7
|
# 2.3.0
|
2
8
|
- Update bundled LIBSVM to 3.35.
|
3
9
|
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -15,6 +15,8 @@ Note: There are other useful Ruby gems binding to LIBSVM:
|
|
15
15
|
[libsvm-ruby-swig](https://github.com/tomz/libsvm-ruby-swig) by Tom Zeng,
|
16
16
|
and [jrb-libsvm](https://github.com/andreaseger/jrb-libsvm) by Andreas Eger.
|
17
17
|
|
18
|
+
Note: Since v3.0.0, this library uses [Numo::NArray Alternative](https://github.com/yoshoku/numo-narray-alt) instead of Numo::NArray as a dependency.
|
19
|
+
|
18
20
|
## Installation
|
19
21
|
Numo::Libsvm bundles LIBSVM. There is no need to install LIBSVM in advance.
|
20
22
|
|
data/ext/numo/libsvm/extconf.rb
CHANGED
@@ -26,7 +26,18 @@ if RUBY_PLATFORM.match?(/darwin/) && Gem::Version.new('3.1.0') <= Gem::Version.n
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
|
29
|
+
have_libcpp = false
|
30
|
+
if RUBY_PLATFORM.include?('darwin')
|
31
|
+
if have_library('c++')
|
32
|
+
have_libcpp = true
|
33
|
+
else
|
34
|
+
warn 'libc++ is not found.'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
if !have_libcpp && !RUBY_PLATFORM.include?('mswin')
|
39
|
+
warn 'libstdc++ is not found.' unless have_library('stdc++')
|
40
|
+
end
|
30
41
|
|
31
42
|
$srcs = Dir.glob("#{$srcdir}/**/*.cpp").map { |path| File.basename(path) }
|
32
43
|
$INCFLAGS << " -I$(srcdir)/src"
|
data/ext/numo/libsvm/src/svm.h
CHANGED
data/lib/numo/libsvm/version.rb
CHANGED
metadata
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-libsvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
|
-
name: numo-narray
|
13
|
+
name: numo-narray-alt
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- - "
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.9.
|
18
|
+
version: 0.9.3
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
|
-
- - "
|
23
|
+
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.9.
|
25
|
+
version: 0.9.3
|
26
26
|
description: |
|
27
27
|
Numo::Libsvm is a Ruby gem binding to the LIBSVM library.
|
28
28
|
LIBSVM is one of the famous libraries that implemented Support Vector Machines,
|
@@ -53,7 +53,8 @@ licenses:
|
|
53
53
|
metadata:
|
54
54
|
homepage_uri: https://github.com/yoshoku/numo-libsvm
|
55
55
|
source_code_uri: https://github.com/yoshoku/numo-libsvm
|
56
|
-
|
56
|
+
changelog_uri: https://github.com/yoshoku/numo-libsvm/blob/main/CHANGELOG.md
|
57
|
+
documentation_uri: https://gemdocs.org/gems/numo-libsvm/3.0.0/
|
57
58
|
rubygems_mfa_required: 'true'
|
58
59
|
rdoc_options: []
|
59
60
|
require_paths:
|
@@ -69,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
70
|
- !ruby/object:Gem::Version
|
70
71
|
version: '0'
|
71
72
|
requirements: []
|
72
|
-
rubygems_version: 3.6.
|
73
|
+
rubygems_version: 3.6.9
|
73
74
|
specification_version: 4
|
74
75
|
summary: Numo::Libsvm is a Ruby gem binding to the LIBSVM library. Numo::Libsvm makes
|
75
76
|
to use the LIBSVM functions with dataset represented by Numo::NArray.
|