gslr 0.2.0 → 0.3.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 +8 -0
- data/README.md +1 -1
- data/lib/gslr/version.rb +1 -1
- data/lib/gslr.rb +11 -6
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7af3797056273914ab4704feeadb1d5262641bcf45cc007c0935c6de24b2dc0
|
4
|
+
data.tar.gz: 2845afb6e1a0687f577a760299a9c52e6116f45b1d555eab436d197a546ed19b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bedd4c0168039ce898f5129d2063f21541cc0e753e797e4852aa4d8dda523d412309d0e2109f7eff22c44906a0c6ba20687b5e63844e2f0bc36ef71c4d80fd5
|
7
|
+
data.tar.gz: 88ea46e968b048b0a90dbd766c4db0408c2fe48e86d05f26676d755bf13b7c93f9af2b6c7cc39f0fbdcbab45dfd92770ba337eab1a31c373887d31faca1964ee
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
:fire: High performance linear regression for Ruby, powered by [GSL](https://www.gnu.org/software/gsl/)
|
4
4
|
|
5
|
-
[![Build Status](https://github.com/ankane/gslr/workflows/build/badge.svg
|
5
|
+
[![Build Status](https://github.com/ankane/gslr/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/gslr/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
data/lib/gslr/version.rb
CHANGED
data/lib/gslr.rb
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
require "fiddle/import"
|
3
3
|
|
4
4
|
# modules
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
require_relative "gslr/model"
|
6
|
+
require_relative "gslr/ols"
|
7
|
+
require_relative "gslr/ridge"
|
8
|
+
require_relative "gslr/version"
|
9
9
|
|
10
10
|
module GSLR
|
11
11
|
class Error < StandardError; end
|
@@ -18,8 +18,13 @@ module GSLR
|
|
18
18
|
if Gem.win_platform?
|
19
19
|
["gsl.dll"]
|
20
20
|
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
|
21
|
-
|
22
|
-
|
21
|
+
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
|
22
|
+
self.cblas_lib = ["libgslcblas.dylib", "/opt/homebrew/lib/libgslcblas.dylib"]
|
23
|
+
["libgsl.dylib", "/opt/homebrew/lib/libgsl.dylib"]
|
24
|
+
else
|
25
|
+
self.cblas_lib = ["libgslcblas.dylib"]
|
26
|
+
["libgsl.dylib"]
|
27
|
+
end
|
23
28
|
else
|
24
29
|
self.cblas_lib = ["libgslcblas.so"]
|
25
30
|
["libgsl.so"]
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gslr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: fiddle
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description:
|
14
28
|
email: andrew@ankane.org
|
15
29
|
executables: []
|
@@ -38,14 +52,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
52
|
requirements:
|
39
53
|
- - ">="
|
40
54
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
55
|
+
version: '3.1'
|
42
56
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
57
|
requirements:
|
44
58
|
- - ">="
|
45
59
|
- !ruby/object:Gem::Version
|
46
60
|
version: '0'
|
47
61
|
requirements: []
|
48
|
-
rubygems_version: 3.
|
62
|
+
rubygems_version: 3.5.16
|
49
63
|
signing_key:
|
50
64
|
specification_version: 4
|
51
65
|
summary: High performance linear regression for Ruby, powered by GSL
|