Breakout Rust
🔥 BreakoutDetection for Rust
Learn how it works
🎉 Zero dependencies
Installation
Add this line to your application’s Cargo.toml
under [dependencies]
:
= "0.3"
Getting Started
Detect breakouts in a series
let series = vec!;
let breakouts = multi.min_size.fit.unwrap;
Detect a single breakout (at most one change)
let breakout = amoc.min_size.fit.unwrap;
Options
Multi
.min_size // minimum observations between breakouts
.degree // degree of the penalization polynomial
.beta // penalization term
.percent // minimum percent change in goodness of fit statistic
multi
Single
.min_size // minimum observations between breakouts
.alpha // weight of the distance between observations
.exact // exact or approximate median
amoc
Credits
This library was ported from the BreakoutDetection R package and is available under the same license.
References
History
View the changelog
Contributing
Everyone is encouraged to help improve this project. Here are a few ways you can help:
- Report bugs
- Fix bugs and submit pull requests
- Write, clarify, or fix documentation
- Suggest or add new features
To get started with development: