thundersvm 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/NOTICE.txt +2 -1
- data/README.md +8 -8
- data/lib/thundersvm/version.rb +1 -1
- data/lib/thundersvm.rb +5 -1
- data/vendor/libthundersvm.arm64.dylib +0 -0
- metadata +12 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1175e937906ed249f4561bb60b3314c5f4b9320d9de3b5fd13c5106af36ff7a0
|
4
|
+
data.tar.gz: 8938ae2067eaac617b9f219a05347cad4caf938cf8af6509e5a6038ccfb8b7ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5e725aa97bc22c8a15e333c35207edfdc05a690f3f0c7b963c72de38c21251dc0033cb2a3e30424cca86faea51430b2ecd759183b35b3b283ce2e7e40d248a4
|
7
|
+
data.tar.gz: 0363aca1169923a2838373da19bc3c9eb334b33213bb489df42f4849fb1f7526d0b7ac898719349c38252ae509b45307178947f3af13095172d81263121fa52a
|
data/CHANGELOG.md
CHANGED
data/NOTICE.txt
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ThunderSVM
|
1
|
+
# ThunderSVM Ruby
|
2
2
|
|
3
3
|
[ThunderSVM](https://github.com/Xtra-Computing/thundersvm) - high performance parallel SVMs - for Ruby
|
4
4
|
|
@@ -6,14 +6,14 @@
|
|
6
6
|
|
7
7
|
For a great intro on support vector machines, check out [this video](https://www.youtube.com/watch?v=efR1C6CvhmE).
|
8
8
|
|
9
|
-
[![Build Status](https://
|
9
|
+
[![Build Status](https://github.com/ankane/thundersvm-ruby/workflows/build/badge.svg?branch=master)](https://github.com/ankane/thundersvm-ruby/actions)
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
13
13
|
Add this line to your application’s Gemfile:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem
|
16
|
+
gem "thundersvm"
|
17
17
|
```
|
18
18
|
|
19
19
|
On Mac, also install OpenMP:
|
@@ -158,22 +158,22 @@ ThunderSVM.ffi_lib = "path/to/build/lib/libthundersvm.dll"
|
|
158
158
|
|
159
159
|
## History
|
160
160
|
|
161
|
-
View the [changelog](https://github.com/ankane/thundersvm/blob/master/CHANGELOG.md)
|
161
|
+
View the [changelog](https://github.com/ankane/thundersvm-ruby/blob/master/CHANGELOG.md)
|
162
162
|
|
163
163
|
## Contributing
|
164
164
|
|
165
165
|
Everyone is encouraged to help improve this project. Here are a few ways you can help:
|
166
166
|
|
167
|
-
- [Report bugs](https://github.com/ankane/thundersvm/issues)
|
168
|
-
- Fix bugs and [submit pull requests](https://github.com/ankane/thundersvm/pulls)
|
167
|
+
- [Report bugs](https://github.com/ankane/thundersvm-ruby/issues)
|
168
|
+
- Fix bugs and [submit pull requests](https://github.com/ankane/thundersvm-ruby/pulls)
|
169
169
|
- Write, clarify, or fix documentation
|
170
170
|
- Suggest or add new features
|
171
171
|
|
172
172
|
To get started with development:
|
173
173
|
|
174
174
|
```sh
|
175
|
-
git clone https://github.com/ankane/thundersvm.git
|
176
|
-
cd thundersvm
|
175
|
+
git clone https://github.com/ankane/thundersvm-ruby.git
|
176
|
+
cd thundersvm-ruby
|
177
177
|
bundle install
|
178
178
|
bundle exec rake test
|
179
179
|
```
|
data/lib/thundersvm/version.rb
CHANGED
data/lib/thundersvm.rb
CHANGED
@@ -19,7 +19,11 @@ module ThunderSVM
|
|
19
19
|
if Gem.win_platform?
|
20
20
|
"thundersvm.dll"
|
21
21
|
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
|
22
|
-
"
|
22
|
+
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
23
|
+
"libthundersvm.arm64.dylib"
|
24
|
+
else
|
25
|
+
"libthundersvm.dylib"
|
26
|
+
end
|
23
27
|
else
|
24
28
|
"libthundersvm.so"
|
25
29
|
end
|
Binary file
|
metadata
CHANGED
@@ -1,73 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thundersvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '5'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '5'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: numo-narray
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
description:
|
70
|
-
email: andrew@chartkick.com
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email: andrew@ankane.org
|
71
15
|
executables: []
|
72
16
|
extensions: []
|
73
17
|
extra_rdoc_files: []
|
@@ -83,14 +27,15 @@ files:
|
|
83
27
|
- lib/thundersvm/regressor.rb
|
84
28
|
- lib/thundersvm/version.rb
|
85
29
|
- vendor/LICENSE
|
30
|
+
- vendor/libthundersvm.arm64.dylib
|
86
31
|
- vendor/libthundersvm.dylib
|
87
32
|
- vendor/libthundersvm.so
|
88
33
|
- vendor/thundersvm.dll
|
89
|
-
homepage: https://github.com/ankane/thundersvm
|
34
|
+
homepage: https://github.com/ankane/thundersvm-ruby
|
90
35
|
licenses:
|
91
36
|
- Apache-2.0
|
92
37
|
metadata: {}
|
93
|
-
post_install_message:
|
38
|
+
post_install_message:
|
94
39
|
rdoc_options: []
|
95
40
|
require_paths:
|
96
41
|
- lib
|
@@ -98,15 +43,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
43
|
requirements:
|
99
44
|
- - ">="
|
100
45
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
46
|
+
version: '3'
|
102
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
48
|
requirements:
|
104
49
|
- - ">="
|
105
50
|
- !ruby/object:Gem::Version
|
106
51
|
version: '0'
|
107
52
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
109
|
-
signing_key:
|
53
|
+
rubygems_version: 3.4.10
|
54
|
+
signing_key:
|
110
55
|
specification_version: 4
|
111
56
|
summary: High performance parallel SVMs for Ruby
|
112
57
|
test_files: []
|