Comments (3)
Anomaly_score is returning (normalized) expected inverse height. Scores below 1 is unlikely to be an anomaly and scores much above 1 is likely an anomaly.
You can get Displacement using DynamicScoringRandomCutForest, check getDisplacementScore in RandomCutForestFunctionalTest. Collusive displacement is not available in the library but can be built using the Visitor classes.
from random-cut-forest-by-aws.
Thank you @sudiptoguha for the explanation!
Based on some experiments that I have ran, it seems that expected inverse height gives similar performance to displacement. Do you mind commenting on how expected inverse height fares against displacement and co-displacement?
from random-cut-forest-by-aws.
Sorry for not getting back to this earlier. The main goal of the RCF library is to provide an environment where all these different functions can be evaluated in a streaming setting, going beyond anomaly detection. See here
https://opendistro.github.io/for-elasticsearch/blog/odfe-updates/2019/11/random-cut-forests/
We would recommend users to play with different scoring functions! Different scoring functions correspond to different conceptualization of what is an anomaly -- for example displacement provides a hypothesis as described in the original paper. The domain will impact the preference of any scoring function over another, not unlike a particular embedding being more relevant for a specific data in a specific use case.
Performance being similar, other aspects such as simplicity of implementation/reasoning could be tiebreakers.
from random-cut-forest-by-aws.
Related Issues (20)
- RCF 4.0
- C, Ruby, and PHP libraries + standalone CLI HOT 1
- Enable multicentroid clustering in Rust HOT 2
- Thresholded Random Cut Forest not detecting some anomalies with small gap HOT 2
- rust summarize_list error HOT 1
- rust summarize_list error HOT 3
- Clarification regarding Shingle size, number of samples per tree and threshold HOT 7
- Error when updating tree HOT 7
- How can I serialize the object RandomCutForest to array bytes? HOT 2
- Sample Size & Rust HOT 1
- Rust serialization HOT 2
- Performance regression in 3.5.1 when restoring state HOT 3
- Remove restrictions from outputAfter setting HOT 1
- Make pastValues independent of forecasts
- Reduce noise from streaming normalization HOT 2
- Incorrect foreast cast result HOT 2
- is there any plans to support more language such as Python? HOT 2
- Rust panic HOT 8
- Revisit calibration in RCFCaster to improve forecasts near boundaries (and handle physical infeasibility, such as -ve values, etc.) HOT 1
- Addressing hyper-sensitivity for RCFs with homogenous observations HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from random-cut-forest-by-aws.