streaming_stats 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beaabcba436b3cdace1711c6da58c851a642858d6c4bfb5345ed5eb11a6c1126
|
4
|
+
data.tar.gz: 4e7e26d802b8a1c4e9ff9df3f22a28290b67783a8f8c2cce05815098ecab7798
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 852b06410e1a0768dd63777df8a16f19de9de54349d537d02377c65c582166b9f0dd8545348c77125bd6cf89154ae827e47cd992f06ff979a78a63916bb82efd
|
7
|
+
data.tar.gz: 92a3d180062578391218b9ee53991bfb820274ad350cd6521eb85c8e0ce5d6df6f0f3a2f91af126e947a737e14bab4ec3120371c52d00c5e4f9fb5c9f0b49bbe
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Streaming Stats
|
2
2
|
|
3
|
-
![
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/streaming_stats.svg)](https://badge.fury.io/rb/streaming_stats) [![Ruby](https://github.com/willf/streaming_stats_ruby/actions/workflows/ruby.yml/badge.svg)](https://github.com/willf/streaming_stats_ruby/actions/workflows/ruby.yml)
|
4
4
|
|
5
5
|
StreamingStats is a Ruby class that takes streaming numeric data
|
6
6
|
and return descriptive statistics with minimal overhead.
|
@@ -50,13 +50,12 @@ gk.compression_ratio
|
|
50
50
|
=> 0.9927
|
51
51
|
```
|
52
52
|
|
53
|
-
The basic stats (n, sum, mean, variance, stddev) are from
|
53
|
+
The basic stats (n, sum, mean, variance, stddev) are from
|
54
54
|
my very first Gist: https://gist.github.com/willf/187846.
|
55
55
|
|
56
56
|
The approximate quartile method is a port of [streaming-percentiles-js](https://github.com/sengelha/streaming-percentiles-js).
|
57
57
|
|
58
|
-
|
59
|
-
|
58
|
+
How to calculate streaming percentiles is discussed in Steven Englehardt's series, [Calculating Percentiles on Streaming Data](https://www.stevenengelhardt.com/series/calculating-percentiles-on-streaming-data/).
|
60
59
|
|
61
60
|
## Script version
|
62
61
|
|
@@ -66,7 +65,7 @@ There is also a script version, which will take read numbers from STDIN and prod
|
|
66
65
|
$ bin/streaming_stats --help
|
67
66
|
Prints streaming stats from numbers in $STDIN
|
68
67
|
-help, -h:
|
69
|
-
show help
|
68
|
+
show help
|
70
69
|
--every x, -n x:
|
71
70
|
display stats every x numbers. default: 5
|
72
71
|
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: streaming_stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Fitzgerald
|
@@ -43,7 +43,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: '3.0'
|
47
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|