Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 737 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 737 Bytes

Generic Random Forest Regressor

Citekey -
Source Code own
Learning type semi-supervised
Input dimensionality univariate

Notes

A generic windowed forecasting method using random forest regression (requested by RollsRoyce). The forecasting error is used as anomaly score.

The regressor is trained on a clean time series to look at a fixed window (train_window_size points) and predict the next point. On the test series, the predicted values are compared to the observed ones and the prediction error is returned as anomaly score. The first train_window_size points of the test series don't get an anomaly score (are set to NaN), because no predictions are possible for them.