README.md in anomaly_detection-0.1.0 vs README.md in anomaly_detection-0.1.1
- old
+ new
@@ -1,8 +1,8 @@
# AnomalyDetection.rb
-:fire: [AnomalyDetection](https://github.com/twitter/AnomalyDetection) for Ruby
+:fire: Time series [AnomalyDetection](https://github.com/twitter/AnomalyDetection) for Ruby
Learn [how it works](https://blog.twitter.com/engineering/en_us/a/2015/introducing-practical-and-robust-anomaly-detection-in-a-time-series)
[![Build Status](https://github.com/ankane/AnomalyDetection.rb/workflows/build/badge.svg?branch=master)](https://github.com/ankane/AnomalyDetection.rb/actions)
@@ -51,10 +51,11 @@
AnomalyDetection.detect(
series,
period: 7, # number of observations in a single period
alpha: 0.05, # level of statistical significance
max_anoms: 0.1, # maximum number of anomalies as percent of data
- direction: "both" # pos, neg, or both
+ direction: "both", # pos, neg, or both
+ verbose: false # show progress
)
```
## Credits