numo-libsvm 2.0.0 → 2.0.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/ext/numo/libsvm/libsvmext.hpp +1 -1
- data/lib/numo/libsvm/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132e5e9b95db85b1897e804b3bcd22bb948c9d8200dcbf14752059b98f377199
|
4
|
+
data.tar.gz: 24ff1957951af9036b41017b4c34e1b06046059e1c57e5e33bc9d1554f87bee5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a63eb30c744e3531c2de44a7b5ef229261f7fd0e50f84d4e3613701d165ee5cee17cac0026702980571ca25266d99c2d81f1c595ea1a6f215d71b50b26ba830
|
7
|
+
data.tar.gz: d16ec02c158f15181e37cecb554e6bbd60d02bd60d95bf16644849683073e34d6c06c60503039da9a7ecbee958915495d1241d5482a486056177047c4a13612b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -189,7 +189,7 @@ param = {
|
|
189
189
|
|
190
190
|
## Contributing
|
191
191
|
|
192
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-libsvm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](
|
192
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yoshoku/numo-libsvm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://contributor-covenant.org) code of conduct.
|
193
193
|
|
194
194
|
## License
|
195
195
|
|
@@ -76,7 +76,7 @@ VALUE convertVectorXdToNArray(const double* const arr, const int size) {
|
|
76
76
|
size_t shape[1] = {(size_t)size};
|
77
77
|
VALUE vec_val = rb_narray_new(numo_cDFloat, 1, shape);
|
78
78
|
double* vec_ptr = (double*)na_get_pointer_for_write(vec_val);
|
79
|
-
|
79
|
+
memcpy(vec_ptr, arr, size * sizeof(double));
|
80
80
|
return vec_val;
|
81
81
|
}
|
82
82
|
|
data/lib/numo/libsvm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numo-libsvm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|
@@ -55,6 +55,7 @@ metadata:
|
|
55
55
|
homepage_uri: https://github.com/yoshoku/numo-libsvm
|
56
56
|
source_code_uri: https://github.com/yoshoku/numo-libsvm
|
57
57
|
documentation_uri: https://yoshoku.github.io/numo-libsvm/doc/
|
58
|
+
rubygems_mfa_required: 'true'
|
58
59
|
post_install_message:
|
59
60
|
rdoc_options: []
|
60
61
|
require_paths:
|
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
71
|
- !ruby/object:Gem::Version
|
71
72
|
version: '0'
|
72
73
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
74
|
+
rubygems_version: 3.2.33
|
74
75
|
signing_key:
|
75
76
|
specification_version: 4
|
76
77
|
summary: Numo::Libsvm is a Ruby gem binding to the LIBSVM library. Numo::Libsvm makes
|