rcf 0.1.2 → 0.3.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.
@@ -4,15 +4,15 @@
4
4
 
5
5
  :evergreen_tree: Also available for [Ruby](https://github.com/ankane/random-cut-forest-ruby) and [PHP](https://github.com/ankane/random-cut-forest-php), and as a [CLI](https://github.com/ankane/rcf-cli)
6
6
 
7
- [![Build Status](https://github.com/ankane/librcf/workflows/build/badge.svg?branch=master)](https://github.com/ankane/librcf/actions)
7
+ [![Build Status](https://github.com/ankane/librcf/actions/workflows/build.yml/badge.svg)](https://github.com/ankane/librcf/actions)
8
8
 
9
9
  ## Installation
10
10
 
11
11
  Download the latest version:
12
12
 
13
- - Linux - [x86_64](https://github.com/ankane/librcf/releases/download/v0.1.1/librcf-0.1.1-x86_64-unknown-linux-gnu.tar.gz) or [arm64](https://github.com/ankane/librcf/releases/download/v0.1.1/librcf-0.1.1-aarch64-unknown-linux-gnu.tar.gz)
14
- - Mac - [x86_64](https://github.com/ankane/librcf/releases/download/v0.1.1/librcf-0.1.1-x86_64-apple-darwin.tar.gz) or [arm64](https://github.com/ankane/librcf/releases/download/v0.1.1/librcf-0.1.1-aarch64-apple-darwin.tar.gz)
15
- - Windows - [x86_64](https://github.com/ankane/librcf/releases/download/v0.1.1/librcf-0.1.1-x86_64-pc-windows-msvc.zip)
13
+ - Linux - [x86_64](https://github.com/ankane/librcf/releases/download/v0.2.0/librcf-0.2.0-x86_64-unknown-linux-gnu.tar.gz) or [arm64](https://github.com/ankane/librcf/releases/download/v0.2.0/librcf-0.2.0-aarch64-unknown-linux-gnu.tar.gz)
14
+ - Mac - [x86_64](https://github.com/ankane/librcf/releases/download/v0.2.0/librcf-0.2.0-x86_64-apple-darwin.tar.gz) or [arm64](https://github.com/ankane/librcf/releases/download/v0.2.0/librcf-0.2.0-aarch64-apple-darwin.tar.gz)
15
+ - Windows - [x86_64](https://github.com/ankane/librcf/releases/download/v0.2.0/librcf-0.2.0-x86_64-pc-windows-msvc.zip)
16
16
 
17
17
  You can also install it with Homebrew:
18
18
 
@@ -106,12 +106,13 @@ Name | Description | Default Value
106
106
  Parameter values should always be passed as strings.
107
107
 
108
108
  ```c
109
+ rcf_set_param(forest, "sample_size", "256");
109
110
  rcf_set_param(forest, "parallel", "true");
110
111
  ```
111
112
 
112
113
  `rcf_set_param` returns zero if successful and nonzero if the name or value is invalid or if it’s called after `rcf_score` or `rcf_update`.
113
114
 
114
- ## Reference
115
+ ## References
115
116
 
116
117
  - [Robust Random Cut Forest Based Anomaly Detection On Streams](https://proceedings.mlr.press/v48/guha16.pdf)
117
118
 
Binary file
metadata CHANGED
@@ -1,16 +1,28 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-06-08 00:00:00.000000000 Z
12
- dependencies: []
13
- description:
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: fiddle
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
14
26
  email: andrew@ankane.org
15
27
  executables: []
16
28
  extensions: []
@@ -53,7 +65,6 @@ homepage: https://github.com/ankane/random-cut-forest-ruby
53
65
  licenses:
54
66
  - Apache-2.0
55
67
  metadata: {}
56
- post_install_message:
57
68
  rdoc_options: []
58
69
  require_paths:
59
70
  - lib
@@ -61,15 +72,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
72
  requirements:
62
73
  - - ">="
63
74
  - !ruby/object:Gem::Version
64
- version: '2.7'
75
+ version: '3.3'
65
76
  required_rubygems_version: !ruby/object:Gem::Requirement
66
77
  requirements:
67
78
  - - ">="
68
79
  - !ruby/object:Gem::Version
69
80
  version: '0'
70
81
  requirements: []
71
- rubygems_version: 3.4.10
72
- signing_key:
82
+ rubygems_version: 4.0.6
73
83
  specification_version: 4
74
84
  summary: Random Cut Forest anomaly detection for Ruby
75
85
  test_files: []