hampel
Sequential outlier detection and removal using Hampel identifiers.
It supports f32
and f64
.
Usage
Add this to your Cargo.toml
:
[]
= "0.2"
#features = ["extrapolation"] <-- At your option
extrapolation
feature
When this feature is enabled, linear extrapolated values are returned when outliers are detected. If not enabled, the median value of the window is returned.
Example
use Window;
Sample images
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.