elasticsearch-linear-regression
elasticsearch-linear-regression copied to clipboard
Provide aggregation to indicate breakouts regarding a estimated linear regression "channel"
Breakouts (e.g. documents with a response variable value outside of the upper and lower hyper-plane spaced by a specified number of standard deviations above and below the middle linear regression hyper-plane) in time series data may indicate anomaly. A concrete concept has still to be defined. Real world use cases are e.g stock markets, see https://www.dailyfx.com/forex/education/trading_tips/daily_trading_lesson/2014/10/24/Trend-Following-with-Regression-Channels.html.
This functionality is planed to be covered by #8. Scoring the results by error term and using ES built-in query min_score would provide the desired outbreakers.