Extended Isolation Forest
This is a rust port of the anomaly detection algorithm described in Extended Isolation Forest and implemented in https://github.com/sahandha/eif. For a detailed description see the paper or the github repository.
This crate requires rust >= 1.51 as it makes use of min_const_generics
.
Includes optional serde support with the serde
feature.
Example
use Uniform;
use Rng;
use ;
Example: Detection anomalies in movement recordings
This example uses acceleration data recorded using a smartphone while walking up and down stairs. The anomaly was
caused by a small jump. The code is in examples/walking_stairs.rs
, the data itself
is in data/acceleration
. All data for this example was collected with the phyphox smartphone app.
The example can be executed using
cargo run --example walking_stairs
Expected result: