Abstract
Aiming at the complexity and poor accuracy of short term electricity price prediction in electricity market, this paper proposes a medium and long term electricity price prediction model based on attention mechanism convolutional neural network and long term memory network. The model takes the historical electricity price data as input after data preprocessing. First, the convolutional neural network is used to extract the features of the historical electricity price series. Secondly, the extracted feature vector is constructed into a time series and input into the long and short term memory network, and the internal change law of the feature is fully mined for training. Then, the attention mechanism is introduced to reduce the error of model prediction, highlight the influence of important information and assign weight. The attention mechanism is weighted to sum the output of each time step in the long and short term memory network. Finally, the final predicted value is calculated by the function. Finally, a numerical example is given to verify the accuracy of the proposed model.