Based on the power Consumption data from Denmark (DK) between 2013 and now, available at the Nord Pool's Web site: Nord Pool - Historical Market Data
If you have any comments or questions, you are welcome to leave them in the Issues section.
The entire code notebook is available in this repository: Anomaly Detecton
You can also execute the entire code in the Google Colab.
Example anomaly graph generated by the notebook based on the downloaded data:
In this tutorial I am going to present a solution of how to make predictions with anomaly detection of multivariate time series (i.e. a time series that has many data columns). We will predict a multistep future based on a multistep past. The solution can be applied to any time series.
The first step is to load the data and take a look at it. Deep learning works best with large sets of data. For this tutorial I have chosen the power consumption data in Denmark, where I live. The data can be downloaded from the Historical Market Data section on the Nord Pool' Web site, where energy-related data from all nordic countries can be found.
The power consumption data for Denmark spans from 2013 until now, and is updated every day. It contains power consumption per hour (in MWh) for the country a as whole (DK) as well as for each of its two power distribution regions (DK1 and DK2). We are going to focus on the region DK1.