Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Quantitative Finance · Begrippenlijst

Wat is Anomaly detection, isolation forest, precision–recall curve?

Ook bekend als: anomaly detection · isolation forest · precision--recall curve

Definition 20.3 Machine Learning for Markets · Hoofdstuk 20 — Clustering, Regimes and Anomaly Detection

Anomaly detection scores observations by how unlike the bulk of the data they are, without labels for the anomalies. An isolation forest builds random trees that split on random features at random values; points that are isolated after few splits are anomalous (Liu, Ting and Zhou, 2008). The precision–recall curve plots, as the alarm threshold moves, the share of alarms that are true (precision) against the share of true cases that raise an alarm (recall); when positives are rare it is more informative than the ROC curve (Davis and Goadrich, 2006).

detectorrecall at 1% false positivesprecision
order-to-trade ratio (rule)0.000.00
fill-rate gap (rule)0.370.24
cancellations after a fill (rule)0.510.31
gap ×\times cancellations (rule)0.770.40
isolation forest1.000.47
autoencoder0.320.22
Table 20.1. Spoofing detectors on 11 600 account-days (100 planted episodes), at the threshold that flags 1% of legitimate account-days. Data: ml_regimes.anomalies.
Lees in het hoofdstuk →