midas-edge 0.3.2 → 0.3.3
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 +8 -8
- data/ext/midas/extconf.rb +3 -0
- data/lib/midas/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db3ebe1bca1ac9cee7d586443797af32ce2c5b0be1bd5437086771286256b9d4
|
|
4
|
+
data.tar.gz: 9bda6d88abb05e2e30635ee3d90d16bfdb1236d5ff6dd9b49fe3dace3381c1d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 723a7e3f66bcdad0aca83ec6dfed3123eb6b9b619c59befc1728142a8a7372122210fd888fc4886231a61788b8dc32ac8ccd5c7edb86b2d3854d2a4fae222bbb
|
|
7
|
+
data.tar.gz: 3324454c3b96d2153e5624887fe0e6a8125373e4797ce686bb43601588c09ded2fc0275dd85192f1257f2696aff05ce860390d413877cf217b63c5b9082926af
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# MIDAS
|
|
1
|
+
# MIDAS Ruby
|
|
2
2
|
|
|
3
3
|
[MIDAS](https://github.com/bhatiasiddharth/MIDAS) - edge stream anomaly detection - for Ruby
|
|
4
4
|
|
|
5
|
-
[](https://github.com/ankane/midas/actions)
|
|
5
|
+
[](https://github.com/ankane/midas-ruby/actions)
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
Add this line to your application’s Gemfile:
|
|
10
10
|
|
|
11
11
|
```ruby
|
|
12
|
-
gem
|
|
12
|
+
gem "midas-edge"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Getting Started
|
|
@@ -78,22 +78,22 @@ midas.fit_predict("data.csv")
|
|
|
78
78
|
|
|
79
79
|
## History
|
|
80
80
|
|
|
81
|
-
View the [changelog](https://github.com/ankane/midas/blob/master/CHANGELOG.md)
|
|
81
|
+
View the [changelog](https://github.com/ankane/midas-ruby/blob/master/CHANGELOG.md)
|
|
82
82
|
|
|
83
83
|
## Contributing
|
|
84
84
|
|
|
85
85
|
Everyone is encouraged to help improve this project. Here are a few ways you can help:
|
|
86
86
|
|
|
87
|
-
- [Report bugs](https://github.com/ankane/midas/issues)
|
|
88
|
-
- Fix bugs and [submit pull requests](https://github.com/ankane/midas/pulls)
|
|
87
|
+
- [Report bugs](https://github.com/ankane/midas-ruby/issues)
|
|
88
|
+
- Fix bugs and [submit pull requests](https://github.com/ankane/midas-ruby/pulls)
|
|
89
89
|
- Write, clarify, or fix documentation
|
|
90
90
|
- Suggest or add new features
|
|
91
91
|
|
|
92
92
|
To get started with development:
|
|
93
93
|
|
|
94
94
|
```sh
|
|
95
|
-
git clone --recursive https://github.com/ankane/midas.git
|
|
96
|
-
cd midas
|
|
95
|
+
git clone --recursive https://github.com/ankane/midas-ruby.git
|
|
96
|
+
cd midas-ruby
|
|
97
97
|
bundle install
|
|
98
98
|
bundle exec rake compile
|
|
99
99
|
bundle exec rake test
|
data/ext/midas/extconf.rb
CHANGED
|
@@ -7,6 +7,9 @@ numo = File.join(Gem.loaded_specs["numo-narray"].require_path, "numo")
|
|
|
7
7
|
abort "Numo header not found" unless find_header("numo/narray.h", numo)
|
|
8
8
|
abort "Numo library not found" if Gem.win_platform? && !find_library("narray", nil, numo)
|
|
9
9
|
|
|
10
|
+
# for https://bugs.ruby-lang.org/issues/19005
|
|
11
|
+
$LDFLAGS += " -Wl,-undefined,dynamic_lookup" if RbConfig::CONFIG["host_os"] =~ /darwin/i
|
|
12
|
+
|
|
10
13
|
midas = File.expand_path("../../vendor/MIDAS/src", __dir__)
|
|
11
14
|
abort "Midas not found" unless find_header("NormalCore.hpp", midas)
|
|
12
15
|
|
data/lib/midas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: midas-edge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-12-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rice
|
|
@@ -61,7 +61,7 @@ files:
|
|
|
61
61
|
- vendor/MIDAS/src/FilteringCore.hpp
|
|
62
62
|
- vendor/MIDAS/src/NormalCore.hpp
|
|
63
63
|
- vendor/MIDAS/src/RelationalCore.hpp
|
|
64
|
-
homepage: https://github.com/ankane/midas
|
|
64
|
+
homepage: https://github.com/ankane/midas-ruby
|
|
65
65
|
licenses:
|
|
66
66
|
- MIT
|
|
67
67
|
metadata: {}
|
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
|
-
rubygems_version: 3.
|
|
83
|
+
rubygems_version: 3.4.1
|
|
84
84
|
signing_key:
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Edge stream anomaly detection for Ruby
|