Anomaly detection on time series with Xgboost algorithm

Viewed 26
1 Answers

Anomalies by definition are rare. Generally, standard classification algorithms have issues due to the objective function when one of the classes are rare.

If you wanted to detect anomalies, one of the things that you can try is to use xgboost to predict the time series, and then use the residual to determine which are "poorly" predicted by the algorithm and therefore are anomalous.

Related