CN109802862B - Combined network flow prediction method based on ensemble empirical mode decomposition - Google Patents
Combined network flow prediction method based on ensemble empirical mode decomposition Download PDFInfo
- Publication number
- CN109802862B CN109802862B CN201910230095.9A CN201910230095A CN109802862B CN 109802862 B CN109802862 B CN 109802862B CN 201910230095 A CN201910230095 A CN 201910230095A CN 109802862 B CN109802862 B CN 109802862B
- Authority
- CN
- China
- Prior art keywords
- network traffic
- imf
- mode decomposition
- empirical mode
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000354 decomposition reaction Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000013528 artificial neural network Methods 0.000 claims abstract description 10
- 238000004458 analytical method Methods 0.000 claims abstract description 6
- 238000007781 pre-processing Methods 0.000 claims abstract description 3
- 241001123248 Arma Species 0.000 claims abstract 6
- 230000006870 function Effects 0.000 claims description 18
- 238000005311 autocorrelation function Methods 0.000 claims description 15
- 210000002569 neuron Anatomy 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 11
- 239000000203 mixture Substances 0.000 claims description 8
- 238000012549 training Methods 0.000 claims description 5
- 238000010606 normalization Methods 0.000 claims description 3
- 230000010355 oscillation Effects 0.000 claims description 3
- 238000007873 sieving Methods 0.000 claims description 3
- 238000012360 testing method Methods 0.000 claims description 3
- 238000003062 neural network model Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000007476 Maximum Likelihood Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013178 mathematical model Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003449 preventive effect Effects 0.000 description 1
- 230000005654 stationary process Effects 0.000 description 1
- 238000012706 support-vector machine Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明属于网络流量预测技术领域,特别涉及一种基于集合经验模态分解的组合型网络流量预测方法,包括:获取原始流量数据并进行预处理;通过集合经验模态分解将网络流量分解为不同时间尺度上频率单一的IMF分量;通过自相关性和偏自相关分析,确定IMF分量的平稳性;对平稳的IMF分量用线性的ARMA模型预测;对非平稳的IMF分量用非线性的Elman神经网络预测;将各IMF分量的预测值进行求和得到网络流量的预测值;本发明更准确、全面地描述和预测实际网络流量,从而提高预测精度和增加预测可靠性。
The invention belongs to the technical field of network traffic prediction, and in particular relates to a combined network traffic prediction method based on ensemble empirical modal decomposition, comprising: acquiring original traffic data and preprocessing; decomposing network traffic into different IMF components with a single frequency on the time scale; determine the stationarity of the IMF components through autocorrelation and partial autocorrelation analysis; use the linear ARMA model to predict the stationary IMF components; use the nonlinear Elman neural network for the non-stationary IMF components Network prediction; the predicted value of each IMF component is summed to obtain the predicted value of network traffic; the present invention describes and predicts actual network traffic more accurately and comprehensively, thereby improving prediction accuracy and increasing prediction reliability.
Description
技术领域technical field
本发明属于网络流量预测技术领域,特别涉及一种基于集合经验模态分解(Empirical Mode Decomposition,EMD)的组合型网络流量预测方法。The invention belongs to the technical field of network traffic prediction, in particular to a combined network traffic prediction method based on ensemble empirical mode decomposition (Empirical Mode Decomposition, EMD).
背景技术Background technique
近年来,随着互联网产业的快速发展,网络规模日益庞大,网络结构日益复杂,网络管理面临巨大挑战。通过高效的网络管理机制来提升网络运营效率是网络管理工作者们一个重要的课题。In recent years, with the rapid development of the Internet industry, the scale of the network has become increasingly large, the network structure has become increasingly complex, and network management is facing enormous challenges. It is an important subject for network management workers to improve network operation efficiency through efficient network management mechanism.
面对越来越复杂的网络互联环境和不断增加的网络流量,研究人员和学者需要使用更多的资源和时间去监控、分析这些网络流量的情况,来应对网络拥挤和堵塞的突发状况,以确保网络质量良好。传统的网络管理采用的是响应式方法,即在出现告警之后解决发生的问题,这时候网络服务己经受到了影响,当收到警报时,往往没有时间来采取相应的纠正措施。网络流量预测就是根据采集的实际网络流量观测值序列,建立网络流量预测模型,对将来的流量数据进行预测,并以此判断将来超越阈值的可能性和发生时间。管理者就可以在重点时段特别关注,在网络发生过载之前采取防范措施,从而有效的保障网络性能的稳定,以达到持续为网络用户服务的目的。In the face of increasingly complex network interconnection environment and increasing network traffic, researchers and scholars need to use more resources and time to monitor and analyze the situation of these network traffic to deal with the sudden situation of network congestion and congestion, to ensure good network quality. Traditional network management adopts a reactive approach, that is, to solve the problem after an alarm occurs. At this time, the network service has been affected. When an alarm is received, there is often no time to take corresponding corrective measures. Network traffic prediction is to establish a network traffic prediction model based on the collected actual network traffic observation value sequence, to predict the future traffic data, and to judge the possibility and occurrence time of exceeding the threshold in the future. Managers can pay special attention during key periods and take preventive measures before the network is overloaded, so as to effectively ensure the stability of network performance and achieve the purpose of continuously serving network users.
针对传统网络流量所具有的短相关特点,提出了一些线性预测模型,如自回归模型(AR)、移动平均模型(MA)、自回归移动平均模型(ARMA)等,和较早的泊松(Poisson)模型、马尔可夫(Marlkov)模型类似,只能预测平稳过程。随着互联网的发展,网络流量日益呈现出非线性和非平稳性等特点,线性预测模型具有很多局限性,所以许多的非线性预测模型不断被提出,神经网络、支持向量机等,其模型复杂度和计算复杂度都比较大。In view of the short correlation characteristics of traditional network traffic, some linear prediction models are proposed, such as autoregressive model (AR), moving average model (MA), autoregressive moving average model (ARMA), etc., and the earlier Poisson ( Poisson model and Markov model are similar and can only predict stationary processes. With the development of the Internet, network traffic is increasingly showing nonlinear and non-stationary characteristics. Linear prediction models have many limitations, so many nonlinear prediction models have been proposed. Neural networks, support vector machines, etc., their models are complex The degree and computational complexity are relatively large.
对网络流量特性的深入研究后发现,实际的网络流量在较长的时间内具有明显的非线性、自相似性、长相关性、多重分形性、突发性等多种特性。以往单一预测模型不能完全对网络流量的这些特性进行兼顾,从而准确、全面地刻画网络流量的真实特性,那么该模型在预测时会不可避免地产生较大的误差。目前对于组合预测模型的研究大多是建立在小波分解的基础上,然后用不同的预测模型对分解后的分支序列进行预测。但小波变换存在确定分解层数及小波基难以选择的问题,依赖于具体的信号特征和应用领域,不具有自适应性。After in-depth research on the characteristics of network traffic, it is found that the actual network traffic has obvious nonlinearity, self-similarity, long correlation, multi-fractality, burstiness and other characteristics in a long time. In the past, a single prediction model could not fully take into account these characteristics of network traffic, so as to accurately and comprehensively describe the real characteristics of network traffic, so the model will inevitably generate large errors in prediction. At present, most of the research on combined prediction model is based on wavelet decomposition, and then different prediction models are used to predict the decomposed branch sequence. However, the wavelet transform has the problem that it is difficult to determine the number of decomposition layers and the wavelet base, and it depends on the specific signal characteristics and application fields, and has no self-adaptability.
发明内容SUMMARY OF THE INVENTION
为了更准确、全面地描述和预测实际网络流量,本发明提出一种基于集合经验模态分解的组合型网络流量预测方法,包括:In order to describe and predict actual network traffic more accurately and comprehensively, the present invention proposes a combined network traffic prediction method based on ensemble empirical mode decomposition, including:
S1:获取原始流量数据并进行预处理;S1: Obtain raw traffic data and preprocess;
S2:通过集合经验模态分解将网络流量分解为不同时间尺度上频率单一的有限个本征模函数(intrinsic mode function,IMF)分量;S2: Decompose network traffic into a finite number of intrinsic mode function (IMF) components with a single frequency on different time scales through ensemble empirical mode decomposition;
S3:对IMF分量进行自相关性和偏自相关性分析,确定IMF分量的平稳性;S3: Perform autocorrelation and partial autocorrelation analysis on the IMF components to determine the stationarity of the IMF components;
S4:对平稳的IMF分量用线性的ARMA模型预测;S4: Use the linear ARMA model to predict the stationary IMF component;
S5:对非平稳的IMF分量用非线性的Elman神经网络预测;S5: Use nonlinear Elman neural network to predict non-stationary IMF components;
S6:将各IMF分量的预测值进行求和得到网络流量的预测值。S6: The predicted value of each IMF component is summed to obtain the predicted value of the network traffic.
进一步的,所述通过集合经验模态分解将网络流量分解为不同时间尺度上频率单一的有限个本征模函数IMF分量包括:Further, the decomposing the network traffic into a finite number of eigenmode function IMF components with a single frequency on different time scales by the collective empirical mode decomposition includes:
S21:令i=1,并选择N种白噪声信号;S21: set i=1, and select N kinds of white noise signals;
S22:往原信号中加入第i种白噪声信号,构成信噪混合体;S22: adding the i-th white noise signal to the original signal to form a signal-noise mixture;
S23:把信噪混合体进行经验模态分解,分解成IMF的组合;S23: Perform empirical mode decomposition on the signal-noise mixture, and decompose it into a combination of IMFs;
S24:判断i是否大于N,若大于则对得到的所有IMF求平均值,否则令i=i+1并返回步骤S22。S24: Determine whether i is greater than N, and if it is greater, average all the obtained IMFs, otherwise set i=i+1 and return to step S22.
进一步的,把信噪混合体进行经验模态分解包括:Further, the empirical mode decomposition of the signal-to-noise mixture includes:
S221:找出信号x(t)的所有局部极大值和局部极小值;S221: Find all local maxima and local minima of the signal x(t);
S222:通过极值拟合得到信号x(t)的上包络emax(t)和下包络emin(t);S222: Obtain the upper envelope emax(t) and lower envelope emin(t) of the signal x(t) through extreme value fitting;
S223:计算局部均值m(t),表示为:m(t)=(emin(t)+emax(t))/2;S223: Calculate the local mean value m(t), expressed as: m(t)=(emin(t)+emax(t))/2;
S224:将原始输入信号减去局部均值得到振荡信号h(t),表示为:h(t)=x(t)-m(t);S224: subtract the local mean from the original input signal to obtain the oscillation signal h(t), which is expressed as: h(t)=x(t)−m(t);
S225:当h(t)满足IMF的条件时,令c1=h(t),则c1为第一个IMF,对应的余量r1=x(t)-c1;否则,用h(t)替换x(t)并转到步骤S221;S225: When h(t) satisfies the conditions of IMF, let c 1 =h(t), then c 1 is the first IMF, and the corresponding margin r 1 =x(t)-c 1 ; otherwise, use h (t) replace x(t) and go to step S221;
S226:当r1仍包含原始数据中的频率信息时,将r1替换x(t)并转到步骤S221,得到第二个IMF分量,以此类推,得到r1-c2=r2,...,rn-1-cn=rn;当cn或rn小于设定值,或rn成为单调函数时,停止筛分过程。S226: when r 1 still contains the frequency information in the original data, replace r 1 with x(t) and go to step S221 to obtain the second IMF component, and so on, to obtain r 1 -c 2 =r 2 , ..., rn -1 -cn = rn ; when cn or rn is less than the set value, or when rn becomes a monotone function, the sieving process is stopped.
进一步的,ARMA模型的建立过程包括:Further, the establishment process of the ARMA model includes:
S41:利用自相关函数和偏自相关函数的拖尾性,确定ARMA模型的自回归阶数p和移动平均阶数q;S41: Determine the autoregressive order p and moving average order q of the ARMA model by using the tailing of the autocorrelation function and the partial autocorrelation function;
S42:利用最小二乘估计法对ARMA模型的未知参数进行估计,未知参数包括自回归系数、滑动平均系数以及白噪声方差;S42: Use the least squares estimation method to estimate the unknown parameters of the ARMA model, and the unknown parameters include autoregressive coefficients, moving average coefficients and white noise variance;
S43:利用赤池信息量准则(Akaike information criterion,AIC)对不同的p、q参数组合进行模型检验,得出最优p、q参数组合;S43: Use the Akaike information criterion (AIC) to perform model testing on different p, q parameter combinations, and obtain the optimal p, q parameter combination;
S44:根据自回归系数、滑动平均系数以及白噪声方差建立ARMA模型。S44: Establish an ARMA model according to the autoregressive coefficient, the moving average coefficient and the white noise variance.
进一步的,Elman神经网络模型的训练过程包括:Further, the training process of the Elman neural network model includes:
S51:选取合适的各层神经元个数,初始化网络结构的参数、初始化连接权值和误差指标ε和最大学习次数D,令d=1;S51: Select the appropriate number of neurons in each layer, initialize the parameters of the network structure, initialize the connection weight and error index ε, and the maximum number of learning times D, let d=1;
S52:计算隐含层、承接层、输出层各神经元的输出;S52: Calculate the output of each neuron in the hidden layer, the successor layer, and the output layer;
S53:根据分量序列的预测值和真实值之间的误差修正各层之间的连接权值;S53: Correct the connection weights between the layers according to the error between the predicted value of the component sequence and the real value;
S54:计算误差平方和函数E,判断是否E<ε,若是则输出并储存各层之间的连接权值,否则进行S55;S54: Calculate the error square sum function E, and judge whether E<ε, if so, output and store the connection weights between the layers, otherwise go to S55;
S55:判断是否d>D,若是则输出并储存各层之间的连接权值,否则令d=d+1并返回步骤S52。S55: Determine whether d>D, if yes, output and store the connection weights between the layers, otherwise set d=d+1 and return to step S52.
本发明首先针对小波变换中分解层数及小波基难以选择的问题,引入集合经验模态分解将网络流量自适应分解成频率单一的序列,同时解决经验模态分解中可能存在的模态混叠问题;其次,深入分析分解后各IMF分量的不同特性,对各IMF分量进行平稳性判定;然后,对平稳的IMF分量用线性的ARMA模型预测,对非平稳的IMF分量用非线性的Elman神经网络预测;最后,将各分量序列的预测值加起来得到最终预测值;总而言之,本发明充分发挥了ARMA模型和Elman神经网络两种不同模型的优势,更准确、全面地描述和预测实际网络流量,从而提高预测精度和增加预测可靠性。The invention first aims at the problem that the number of decomposition layers and wavelet bases are difficult to select in wavelet transform, and introduces collective empirical mode decomposition to adaptively decompose the network traffic into a sequence with a single frequency, and at the same time solve the possible modal aliasing in the empirical mode decomposition. Secondly, the different characteristics of each IMF component after decomposition are deeply analyzed, and the stationarity of each IMF component is judged; then, the linear ARMA model is used to predict the stationary IMF component, and the nonlinear Elman neural network is used for the non-stationary IMF component. network prediction; finally, the prediction values of each component sequence are added up to obtain the final prediction value; all in all, the present invention fully utilizes the advantages of two different models, ARMA model and Elman neural network, to describe and predict actual network traffic more accurately and comprehensively. , thereby improving forecast accuracy and increasing forecast reliability.
附图说明Description of drawings
图1为本发明的总体流程图;Fig. 1 is the overall flow chart of the present invention;
图2为本发明ARMA模型流程图;Fig. 2 is the ARMA model flow chart of the present invention;
图3为本发明的Elman神经网络模型图;Fig. 3 is the Elman neural network model diagram of the present invention;
图4为本发明Elman神经网络模型的训练过程流程图。FIG. 4 is a flow chart of the training process of the Elman neural network model of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明提供一种基于集合经验模态分解的组合型网络流量预测方法,如图1,包括:The present invention provides a combined network traffic prediction method based on ensemble empirical modal decomposition, as shown in Figure 1, including:
S1:获取原始流量数据并进行预处理;S1: Obtain raw traffic data and preprocess;
S2:通过集合经验模态分解将网络流量分解为不同时间尺度上频率单一的IMF分量;S2: Decompose network traffic into IMF components with a single frequency on different time scales through ensemble empirical mode decomposition;
S3:通过自相关性和偏自相关分析,确定IMF分量的平稳性;S3: Determine the stationarity of the IMF component through autocorrelation and partial autocorrelation analysis;
S4:对平稳的IMF分量用线性的ARMA模型预测;S4: Use the linear ARMA model to predict the stationary IMF component;
S5:对非平稳的IMF分量用非线性的Elman神经网络预测;S5: Use nonlinear Elman neural network to predict non-stationary IMF components;
S6:将各IMF分量的预测值进行求和得到网络流量的预测值。S6: The predicted value of each IMF component is summed to obtain the predicted value of the network traffic.
在本实施例中,进行预处理包括对流量数据时间序列x(t)进行归一化处理,使数据范围在0~1之间,归一化具体为:In this embodiment, the preprocessing includes normalizing the traffic data time series x(t), so that the data range is between 0 and 1. The normalization is specifically:
其中,x'为归一化后网络流量值,x为网络流量真实预测值;xmax表示网络流量的最大值,xmin表示网络流量的最小值。Among them, x' is the normalized network traffic value, x is the actual predicted value of the network traffic; x max represents the maximum value of the network traffic, and x min represents the minimum value of the network traffic.
S21:往原信号中加入白噪声信号,构成信噪混合体;S21: adding a white noise signal to the original signal to form a signal-noise mixture;
S22:把信噪混合体进行经验模态分解,分解成IMF的组合;S22: Perform empirical mode decomposition on the signal-to-noise mixture, and decompose it into a combination of IMFs;
S23:重复步骤S21和步骤S22,每次加入不同的白噪声,分解成IMF;S23: Repeat step S21 and step S22, add different white noise each time, and decompose into IMF;
S24:重复N次,对各IMF求平均。S24: Repeat N times, and average each IMF.
通过集合经验模态分解将网络流量分解为不同时间尺度上频率单一的IMF分量,具体过程包括:The network traffic is decomposed into IMF components with a single frequency on different time scales through ensemble empirical mode decomposition. The specific process includes:
S221:找出信号x(t)的所有局部极大值和局部极小值;S221: Find all local maxima and local minima of the signal x(t);
S222:通过极值拟合得到对应信号的上包络emax(t)和下包络emin(t);S222: Obtain the upper envelope emax(t) and lower envelope emin(t) of the corresponding signal through extreme value fitting;
S223:计算局部均值m(t),表示为:m(t)=(emin(t)+emax(t))/2;S223: Calculate the local mean value m(t), expressed as: m(t)=(emin(t)+emax(t))/2;
S224:将原始输入信号减去局部均值得到振荡信号h(t),表示为:h(t)=x(t)-m(t);S224: subtract the local mean from the original input signal to obtain the oscillation signal h(t), which is expressed as: h(t)=x(t)−m(t);
S225:当h(t)满足IMF的条件时,令c1=h(t),则c1为第一个IMF,对应的余量r1=x(t)-c1;否则,用h(t)替换x(t)并转到步骤S221;S225: When h(t) satisfies the conditions of IMF, let c 1 =h(t), then c 1 is the first IMF, and the corresponding margin r 1 =x(t)-c 1 ; otherwise, use h (t) replace x(t) and go to step S221;
S226:当r1仍包含原始数据中的频率信息时,将r1替换x(t)并转到步骤S221,得到第二个IMF分量,以此类推,得到r1-c2=r2,...,rn-1-cn=rn;当cn或rn小于设定值,或rn成为单调函数时,停止筛分过程;所述设定值的取值范围在0.2~0.3。S226: When r 1 still contains the frequency information in the original data, replace r 1 with x(t) and go to step S221 to obtain the second IMF component, and so on, to obtain r 1 -c 2 =r 2 , ..., rn -1 -cn = rn ; when cn or rn is less than the set value, or rn becomes a monotonic function, the sieving process is stopped; the range of the set value is 0.2 ~0.3.
IMF的条件包括:IMF conditions include:
1)、在整个数据集上,极值点的数量与零点的数量必须相等或最多相差一个;1) In the entire data set, the number of extreme points and the number of zero points must be equal or at most one difference;
2)、在任一时间点上,由局部极大值和局部极小值定义的包络的均值为零。2) At any point in time, the mean value of the envelope defined by the local maxima and local minima is zero.
自相关性和偏自相关分析包括:Autocorrelation and partial autocorrelation analyses include:
在分析IMF分量的自相关性和偏自相关性时,需要计算各分量序列的自相关函数(ACF)和偏自相关函数(PACF),公式如下:When analyzing the autocorrelation and partial autocorrelation of IMF components, it is necessary to calculate the autocorrelation function (ACF) and partial autocorrelation function (PACF) of each component sequence. The formulas are as follows:
其中:in:
其中,ρk为k时刻的自相关函数;αk,j为k时刻的偏自相关函数;γk为k时刻的自协方差;yk代表k时刻的网络流量,yt+k代表t+k时刻的网络流量,N为序列的长度。Among them, ρ k is the autocorrelation function at time k; α k,j is the partial autocorrelation function at time k; γ k is the autocovariance at time k; y k represents the network traffic at time k, and y t+k represents t Network traffic at time +k, N is the length of the sequence.
对平稳的IMF分量用线性的ARMA模型预测,ARMA模型的建立过程,如图2,包括:The linear ARMA model is used to predict the stationary IMF components. The establishment process of the ARMA model, as shown in Figure 2, includes:
S41:利用自相关函数和偏自相关函数的拖尾性,初步确定ARMA模型的自回归阶数p和移动平均阶数q;S41: Preliminarily determine the autoregressive order p and moving average order q of the ARMA model by using the tailing of the autocorrelation function and the partial autocorrelation function;
S42:利用最小二乘估计法对ARMA模型的未知参数进行估计,未知参数包括自回归系数、滑动平均系数以及白噪声方差;S42: Use the least squares estimation method to estimate the unknown parameters of the ARMA model, and the unknown parameters include autoregressive coefficients, moving average coefficients and white noise variance;
S43:利用赤池信息量准则AIC对不同的p、q参数组合进行模型检验;其中AIC准则的函数表示为:AIC=-2InL+2g,当函数取得最小值时,即取得最优p、q参数组合;S43: Use the Akaike Information Criterion AIC to perform model testing on different combinations of p and q parameters; the function of the AIC criterion is expressed as: AIC=-2InL+2g, when the function obtains the minimum value, the optimal p and q parameters are obtained combination;
其中,ln为自然对数值,L为模型的极大似然参数,g为模型的独立参数,AIC代表准则函数值。Among them, ln is the natural logarithm value, L is the maximum likelihood parameter of the model, g is the independent parameter of the model, and AIC represents the criterion function value.
S44:根据得到的参数建立ARMA模型,ARMA的数学模型表示为:S44: Establish an ARMA model according to the obtained parameters, and the mathematical model of ARMA is expressed as:
其中,为自回归系数,θ1、θ2、...、θq为滑动平均系数,xt-p表示时间序列X在t-p时刻的值,εt表示独立同分布的随机变量序列。in, are autoregressive coefficients, θ 1 , θ 2 , ..., θ q are moving average coefficients, x tp represents the value of the time series X at time tp, and ε t represents an independent and identically distributed random variable sequence.
对非平稳的IMF分量用非线性的Elman神经网络预测,Elman神经网络模型,如图3,包括输入层、隐含层、承接层和输出层,其中,k时刻输入层的神经元的输出表示为u(k),k时刻承接层的神经元的输出表示为xc(k),k时刻隐含层的神经元的输出表示为x(k),k时刻输出层的神经元的输出表示为y(k),k时刻输入层与隐含层的连接权值表示为w1,k时刻隐含层与承接层的连接权值表示为w2,k时刻隐含层与输出层的连接权值表示为w3;本实施例的输出层节点数为1;其中Elman神经网络预测模型的训练过程,如图4,包括:Non-stationary IMF components are predicted by nonlinear Elman neural network. The Elman neural network model, as shown in Figure 3, includes input layer, hidden layer, successor layer and output layer, where the output of the neurons in the input layer at time k represents the is u(k), the output of the neuron in the successor layer at time k is expressed as x c (k), the output of the neuron in the hidden layer at time k is expressed as x(k), and the output of the neuron in the output layer at time k is expressed as is y(k), the connection weight between the input layer and the hidden layer at time k is expressed as w 1 , the connection weight between the hidden layer and the successor layer at time k is expressed as w 2 , the connection between the hidden layer and the output layer at time k is expressed as w 2 The weight is represented as w 3 ; the number of output layer nodes in this embodiment is 1; the training process of the Elman neural network prediction model, as shown in Figure 4, includes:
S51:选取合适的各层神经元个数,初始化网络结构的参数、初始化连接权值和误差指标ε和最大学习次数D,令d=1;S51: Select the appropriate number of neurons in each layer, initialize the parameters of the network structure, initialize the connection weight and error index ε, and the maximum number of learning times D, let d=1;
S52:计算隐含层、承接层、输出层各神经元的输出;S52: Calculate the output of each neuron in the hidden layer, the successor layer, and the output layer;
S53:根据分量序列的预测值和真实值之间的误差修正各层之间的连接权值;S53: Correct the connection weights between the layers according to the error between the predicted value of the component sequence and the real value;
S54:计算误差平方和函数E,判断是否E<ε,若是则输出并储存各层之间的连接权值,否则进行S55;S54: Calculate the error square sum function E, and judge whether E<ε, if so, output and store the connection weights between the layers, otherwise go to S55;
S55:判断是否d>D,若是则输出并储存各层之间的连接权值,否则返回步骤S52。S55: Determine whether d>D, if yes, output and store the connection weights between the layers, otherwise return to step S52.
选取合适的各层神经元个数包括:输入层节点数为非平稳的分量个数,输出层节点数为1,隐含层节点数l由经验公式确定,n为输入节点数,m为输出节点,δ是取值在1到10之间的常数。Selecting the appropriate number of neurons in each layer includes: the number of nodes in the input layer is the number of non-stationary components, the number of nodes in the output layer is 1, and the number of nodes in the hidden layer is determined by the empirical formula. Determine, n is the number of input nodes, m is the output node, and δ is a constant value between 1 and 10.
优选的,计算隐含层、承接层、输出层各神经元的输出包括:Preferably, computing the outputs of the neurons in the hidden layer, the successor layer and the output layer includes:
隐含层各神经元的输出:The output of each neuron in the hidden layer:
x(k)=f(w1·u(k-1)+w2·xc(k));x(k)=f(w 1 ·u(k-1)+w 2 ·x c (k));
承接层各神经元的输出:The output of each neuron in the succession layer:
xc(k)=x(k-1);x c (k)=x(k-1);
输出层各神经元的输出:The output of each neuron in the output layer:
y(k)=g(w3·x(k));y(k)=g(w 3 ·x(k));
g(x)=x;g(x)=x;
其中,f(x)表示隐含层的传递函数,g(x)为输出层的传递函数,都取Sigmoid函数,Sigmoid函数的公式如下:Among them, f(x) represents the transfer function of the hidden layer, and g(x) is the transfer function of the output layer, both of which take the Sigmoid function. The formula of the Sigmoid function is as follows:
优选的,修正各层之间的连接权值包括:Preferably, correcting the connection weights between the layers includes:
修正输入层到隐含层的连接权值:Correct the connection weights from the input layer to the hidden layer:
修正承接层到隐含层的连接权值:Modify the connection weights from the successor layer to the hidden layer:
修正隐含层到输出层的连接权值:Correct the connection weights from the hidden layer to the output layer:
其中,为输入层到隐含层更新后的连接权值,为更新之前的权值,λ表示网络的学习速率,E为误差平方和函数,djk表示为输出层各节点的期望值,yik表示为输出层各节点的预测值,k=1,2,…,p,p表示训练样本的长度;为承接层到隐含层更新后的连接权值,为更新之前的权值;为隐含层到输出层更新后的连接权值,为更新之前的权值,符号表示求偏导数,符号Δ表示增量。in, is the updated connection weight from the input layer to the hidden layer, In order to update the weights before, λ represents the learning rate of the network, E is the error square sum function, d jk represents the expected value of each node in the output layer, y ik represents the predicted value of each node in the output layer, k=1,2, ..., p, p represents the length of the training samples; is the updated connection weight from the successor layer to the hidden layer, is the weight before the update; is the updated connection weight from the hidden layer to the output layer, is the weight before the update, the symbol Represents the partial derivative, and the symbol Δ represents the increment.
优选的,各IMF分量的真实预测值相加包括:将各IMF分量的预测值进行反归一化处理,公式如下:Preferably, the addition of the real predicted values of each IMF component includes: de-normalizing the predicted values of each IMF component, and the formula is as follows:
x=x'(xmax-xmin);x=x'(x max -x min );
其中x'为归一化后网络流量值,x为网络流量真实预测值;xmax和xmin分别表示网络流量的最大值和最小值。Where x' is the normalized network traffic value, x is the actual predicted value of the network traffic; x max and x min represent the maximum and minimum values of the network traffic, respectively.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: ROM, RAM, magnetic disk or optical disk, etc.
以上所举实施例,对本发明的目的、技术方案和优点进行了进一步的详细说明,所应理解的是,以上所举实施例仅为本发明的优选实施方式而已,并不用以限制本发明,凡在本发明的精神和原则之内对本发明所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above-mentioned embodiments further describe the purpose, technical solutions and advantages of the present invention in detail. It should be understood that the above-mentioned embodiments are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made to the present invention within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910230095.9A CN109802862B (en) | 2019-03-26 | 2019-03-26 | Combined network flow prediction method based on ensemble empirical mode decomposition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910230095.9A CN109802862B (en) | 2019-03-26 | 2019-03-26 | Combined network flow prediction method based on ensemble empirical mode decomposition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109802862A CN109802862A (en) | 2019-05-24 |
CN109802862B true CN109802862B (en) | 2022-02-22 |
Family
ID=66563955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910230095.9A Active CN109802862B (en) | 2019-03-26 | 2019-03-26 | Combined network flow prediction method based on ensemble empirical mode decomposition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109802862B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941929A (en) * | 2019-12-06 | 2020-03-31 | 长沙理工大学 | A battery state of health assessment method based on joint modeling of ARMA and Elman neural network |
CN111064617B (en) * | 2019-12-16 | 2022-07-22 | 重庆邮电大学 | Network traffic prediction method and device based on empirical mode decomposition clustering |
CN111046323A (en) * | 2019-12-24 | 2020-04-21 | 国网河北省电力有限公司信息通信分公司 | Network traffic data preprocessing method based on EMD |
CN113037531A (en) | 2019-12-25 | 2021-06-25 | 中兴通讯股份有限公司 | Flow prediction method, device and storage medium |
CN111241466B (en) * | 2020-01-15 | 2023-10-03 | 上海海事大学 | Ship flow prediction method based on deep learning |
CN111464354B (en) * | 2020-03-31 | 2023-02-28 | 全球能源互联网研究院有限公司 | A fine-grained network traffic calculation method, device and storage medium |
CN112019245B (en) * | 2020-08-26 | 2021-11-16 | 上海科技大学 | Channel information real-time prediction and measurement method, device, equipment and medium |
CN114449549B (en) * | 2020-11-05 | 2024-08-27 | 中国移动通信集团广西有限公司 | Cell dormancy control method and electronic equipment |
CN112469053A (en) * | 2020-11-16 | 2021-03-09 | 山东师范大学 | TD-LTE wireless network data flow prediction method and system |
CN113157663B (en) * | 2021-03-16 | 2023-07-11 | 西安电子科技大学 | Network flow prediction method and device based on data reconstruction and hybrid prediction |
CN115655887B (en) * | 2022-11-01 | 2023-04-21 | 广东建设职业技术学院 | Concrete strength prediction method |
CN116182949B (en) * | 2023-02-23 | 2024-03-19 | 中国人民解放军91977部队 | Marine environment water quality monitoring system and method |
CN117060984B (en) * | 2023-10-08 | 2024-01-09 | 中国人民解放军战略支援部队航天工程大学 | Satellite network flow prediction method based on empirical mode decomposition and BP neural network |
CN117744893B (en) * | 2024-02-19 | 2024-05-17 | 西安热工研究院有限公司 | A wind speed prediction method and system for energy storage assisted black start |
CN118134699B (en) * | 2024-05-10 | 2024-08-02 | 江苏超越新能源科技集团股份有限公司 | Distributed photovoltaic power station cluster full period management system based on intelligent contract |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376097A (en) * | 2015-11-30 | 2016-03-02 | 沈阳工业大学 | Hybrid prediction method for network traffic |
CN107426026A (en) * | 2017-07-31 | 2017-12-01 | 山东省计算中心(国家超级计算济南中心) | A kind of cloud computing server load short term prediction method based on EEMD ARIMA |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160258991A1 (en) * | 2015-03-02 | 2016-09-08 | Hangzhou Shekedi Biotech Co., Ltd | Method and System of Signal Processing for Phase-Amplitude Coupling and Amplitude-Amplitude coupling |
CN104899656A (en) * | 2015-06-05 | 2015-09-09 | 三峡大学 | Wind power combined predication method based on ensemble average empirical mode decomposition and improved Elman neural network |
-
2019
- 2019-03-26 CN CN201910230095.9A patent/CN109802862B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376097A (en) * | 2015-11-30 | 2016-03-02 | 沈阳工业大学 | Hybrid prediction method for network traffic |
CN107426026A (en) * | 2017-07-31 | 2017-12-01 | 山东省计算中心(国家超级计算济南中心) | A kind of cloud computing server load short term prediction method based on EEMD ARIMA |
Non-Patent Citations (3)
Title |
---|
Time Delay Prediction Method Based on EMD and Elman Neural Network;Fan Yu等;《2014 Sixth International Conference on Intelligent Human-Machine Systems and Cybernetics》;20141009;全文 * |
基于模态分解的网络流量预测模型研究;姚立霜;《中国优秀硕士学位论文全文数据库(电子期刊)》;20210215;全文 * |
放松管制市场下基于人工智能的电价预测方法研究;张洋;《中国博士学位论文全文数据库(电子期刊)》;20171215;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109802862A (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109802862B (en) | Combined network flow prediction method based on ensemble empirical mode decomposition | |
Peng et al. | Short-term traffic volume prediction using GA-BP based on wavelet denoising and phase space reconstruction | |
CN109583565B (en) | Flood prediction method based on attention model long-time and short-time memory network | |
CN112347571B (en) | Rolling bearing residual life prediction method considering model and data uncertainty | |
CN111582551A (en) | Wind farm short-term wind speed prediction method, system and electronic equipment | |
CN111291481B (en) | Bayesian model-based structure early warning analysis method | |
CN115249081A (en) | Object type prediction method and device, computer equipment and storage medium | |
CN117892194B (en) | Small sample fault diagnosis method and system based on Meta-GraphSage network | |
CN117077327A (en) | Bearing life prediction method and system based on digital twin | |
Oh et al. | Investigating the effects of daily travel time patterns on short-term prediction | |
CN108984851B (en) | Weighted Gaussian model soft measurement modeling method with time delay estimation | |
CN108710966A (en) | A kind of photovoltaic power generation power prediction method based on more cluster ESN neural networks | |
CN116112379B (en) | A dynamic prediction method of directed links for multi-dimensional service sharing equipment in data centers | |
CN118690286A (en) | A financial data analysis and forecasting system and method based on artificial intelligence | |
CN118189870A (en) | A bridge displacement prediction and early warning method and system | |
Silva et al. | Forecasting with auxiliary information in forecasts using multivariate singular spectrum analysis | |
CN112183814A (en) | Short-term wind speed prediction method | |
CN116192665A (en) | Data processing method, device, computer equipment and storage medium | |
CN117354172A (en) | Network traffic prediction method and system | |
CN117155806A (en) | A communication base station traffic prediction method and device | |
CN114510872B (en) | Cloud server aging prediction method based on self-attention mechanism DLSTM | |
Li et al. | Is entropy an indicator of port traffic predictability? The evidence from Chinese ports | |
CN115879375A (en) | Water quality index prediction method based on hybrid bidirectional long-time and short-time memory neural network | |
CN114970674A (en) | Time sequence data concept drift adaptation method based on relevance alignment | |
Yu et al. | Predictive whittle networks for time series |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20241101 Address after: 518000 1104, Building A, Zhiyun Industrial Park, No. 13, Huaxing Road, Henglang Community, Longhua District, Shenzhen, Guangdong Province Patentee after: Shenzhen Hongyue Enterprise Management Consulting Co.,Ltd. Country or region after: China Address before: 400065 Chongwen Road, Nanshan Street, Nanan District, Chongqing Patentee before: CHONGQING University OF POSTS AND TELECOMMUNICATIONS Country or region before: China |
|
TR01 | Transfer of patent right |