CN105320845A - Time sequence forecast method based on quantum gravity algorithm - Google Patents

Time sequence forecast method based on quantum gravity algorithm Download PDF

Info

Publication number
CN105320845A
CN105320845A CN201510837084.9A CN201510837084A CN105320845A CN 105320845 A CN105320845 A CN 105320845A CN 201510837084 A CN201510837084 A CN 201510837084A CN 105320845 A CN105320845 A CN 105320845A
Authority
CN
China
Prior art keywords
particle
data
fit
value
prediction
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.)
Pending
Application number
CN201510837084.9A
Other languages
Chinese (zh)
Inventor
刘震
曾现萍
程玉华
田书林
龙伊雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201510837084.9A priority Critical patent/CN105320845A/en
Publication of CN105320845A publication Critical patent/CN105320845A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a time sequence forecast method based on a quantum gravity algorithm. A time sequence forecast model is constructed by adopting a Volterra series expanded formula. The method comprises the steps that firstly, an input signal vector subjected to Volterra series P-order truncation is constructed on the basis of quoting a phase space framing reconstruction technology; secondly, acceleration is introduced to serve as a variable parameter into the quantum gravity algorithm put forward by Mohadeseh Soleimanpour et al., and a Volterra kernel function of the forecast model is effectively trained by means of the algorithm; finally, a forecast value of forecast point time is obtained through a linear combination of the input signal vector of the forecast point time and the Volterra kernel function. It is verified through experiments that the accuracy of time sequence forecast can be effectively improved by introducing the quantum gravity algorithm into identification of the Volterra kernel function of a non-linear system.

Description

A kind of Time Series Forecasting Methods based on quantum gravity algorithm
Technical field
The invention belongs to fields such as signal transacting and signal estimations, more specifically, it is related to a kind of Time Series Forecasting Methods based on quantum gravity algorithm.
Background technology
Forecast of Nonlinear Time Series method develops since the 1980s mid-term, obtained in recent years deeper into research and widely application.Wherein, Volterra series models analysis method because its output be its filter kernel linear function, its filtering performance can be analyzed with existing linear tool, it has also become one of widely used forecast model.Volterra series is a kind of functional, and most of nonlinear dynamic systems can use Volterra series approximations to any accurately degree.In other words, the nonlinear dynamic system of a major class has its intrinsic Volterra kernel function.Volterra kernel functions can characterize the property of nonlinear system completely.Therefore, only it is to be understood that core is just enough to determine response of the system to any input stimulus.But, nonlinear system Volterra series models are set up, are not an easy things, the kernel function estimation of its high-order is the maximum difficulty that it faces, and this largely constrains effective application of Volterra functional series models.And existing Volterra kernel functions identification mainly uses traditional least square method, the method is scanned for using gradient information, is easily absorbed in Local Minimum, cannot get satisfactory result, especially in the case of serious interference, and the stability of identification is unsatisfactory.Its result has led to the inaccurate of modeling, influence the estimated performance of model, especially training effect is easily influenceed when the information related to predicted orbit included in training set is very few or is mingled with much unrelated information, cause model training insufficient or over-fitting, cause multi-step prediction performance not good.
And quantum gravity algorithm (QuantumInspiredGravitationalSearchAlgorithm, abbreviation QGSA) it is used as a kind of new intelligent optimization algorithm, its improved gravitation searching algorithm (GravitationalSearchAlgorithm proposed from quantum mechanics angle, abbreviation GSA) model, particle is defined in a vector subspace, the vector subspace is determined (particle in Two-dimensional hole gas can appear in any spatial point with certain probability) by probability density function, think that particle has the behavior of quantum, it can be scanned in whole solution space, particular problem to demand solution is not required particularly in itself, thus ability of searching optimum is stronger, overcome some shortcomings of above-mentioned Volterra kernel functions discrimination method, in addition, also there is easily realization, the advantages of convergence is soon and parameter is few.Therefore, Volterra kernel function identification and its Time Series Forecasting Methods of the research based on quantum gravity algorithm has important theory value and realistic meaning.
The content of the invention
It is an object of the invention to overcome the deficiencies in the prior art, a kind of Time Series Forecasting Methods based on quantum gravity algorithm are provided, quantum gravity algorithm is introduced into the identification of the Volterra kernel functions of nonlinear system, to improve the degree of accuracy of electronic product degenerate state prediction.
For achieving the above object, the Time Series Forecasting Methods of the invention based on quantum gravity algorithm, it is characterised in that comprise the following steps:
(1), data prediction
(1.1) the data set DS={ x (1), x (2) ..., x (D) } of pre-selection, is set, wherein D is data amount check;
(1.2) data set DS smallest embedding dimension number d and delay time T, is determined according to the method for differential entropy rate;
(1.3) framing reconstruct, is carried out to data set DS using the function windowize in Matlab, and each frame data are respectively mapped to d dimensional feature spaces, and the p in the way of Volterra series (p >=1) rank is blocked, so as to obtain N0(N0=D-d × τ) individual data frame { (Xt,Yt) (t=1,2 ..., N0), and the input as forecast model and target output data, wherein:Input data is Xt=1, x (t), x (t+ τ) ..., x (t+ (d-1) × τ), x2(t),x(t)×x(t+τ),…,x2(t+ (d-1) × τ) ... } target output data be Yt=x (t+d × τ) (t=1,2 ..., N0);
(2), the local optimum positions of primary
Provided with NSIndividual particle, particle position M dimensional vectors WiRepresent, population position can use matrixRepresent, i=1,2 ..., NS;Random initializtion NSThe initial position W of individual particlei, and it is Lbest to make each particle local optimum positionsi=Wi
(3) N, is obtainedSThe initial global optimum position for the colony that individual particle is constituted
I-th (i=1,2 ..., NS) adaptation value function of the individual particle in searching process be:
fit i ( W ) = 1 N 0 Σ t = 1 N 0 [ Y t - W T X t ] 2 - - - ( 1 )
The position for choosing the minimum particle of adaptive value is used as NSThe initial global optimum position Fbest for the colony that individual particle is constituted;
(4), according to universal gravitation algorithm calculate particle i in every one-dimensional space (i=1,2 ..., NS) accelerationTherefore the acceleration of all particles can use N in M dimension spacesS× M dimensions matrix a is represented;
(5), the position of more new particle and adaptive value:
m b e s t = 1 M Σ i = 1 M F b e s t ( i )
p ( K ) = a 0 · F b e s t + a · f i t ( F b e s t ) a 1 + a
B (K)=1-0.5K/MAXITER
R (K)=[r1(K),…,rd(K),…,rM], (K) wherein r d ( K ) = - 1 , i f δ ( K ) > 0.5 - 1 , i f δ ( K ) ≤ 0.5
W ( K ) = p ( K ) + r ( K ) b ( K ) | m b e s t - W ( K - 1 ) | l n ( 1 u ( K ) )
Wherein, δ (K), u (K) are the random number between 0 to 1, a0,a1N between respectively 0 to 1SPeacekeeping NS× M ties up random vector, and a is the acceleration of particle, and fit (Fbest) is the adaptive value corresponding to global optimum position, i.e. adaptive optimal control value, and K is current iteration step number, and MAXITER is greatest iteration step number;
With particle position W (K) renewal, particle i (i=1,2 ..., N are obtained so as to can be calculated using formula (1)S) new adaptive value fit (Wi(K));
(6) local optimum positions of each particle, are updated, if each particle fit (Wi(K)) < fit (Lbesti), then Lbesti=Wi(K), otherwise LbestiKeep it is constant (i=1,2 ..., NS);
Global optimum position is updated, F b e s t = arg m i n 1 ≤ i ≤ N S f i t ( Lbest i ) ;
(7), iterative operation:Judge whether iterative steps reach whether greatest iteration step number MAXITER or adaptive optimal control value fit (Fbest) reach stabilization;If it is, terminating iteration, one group of optimal M dimension core vector is obtainedPerform step (8);Otherwise, step (4) is returned to continue executing with;
(8) predicted value, is calculated:When predicting the D+1 data, i.e. during prediction data x (D+1), the input data frame for understanding now forecast model according to step (1) is X t ^ = [ x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ] T , ( t ^ = D + 1 - d × τ ) ; By the core vector in step (7)Substitute into, so as to obtainMoment, the one-step prediction value of forecast model:
y t ^ = f ( X t ^ ) = f ( x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ) = W ^ T X t ^ .
Further, it is present invention also offers the method for the acceleration of particle in calculating per the one-dimensional space:
During kth iteration, the inertia mass m of each particlei(K):
c i ( K ) = [ fit i ( W ) ] K - w o r s t ( K ) b e s t ( K ) - w o r s t ( K )
m i ( K ) = c i ( K ) Σ j = 1 N S c i ( K )
Wherein, ci(K) it is the intermediate variable of calculating particle inertia quality, [fiti(W)]KParticle i adaptive value when being kth iteration, best (K) and worst (K) represent adaptive optimal control degree and worst fitness;
For the identification of Volterra cores, purpose is vectorial to seek one group of M dimension coreAnd makeMinimum, so in search function minimum value, best (K) and worst (K) are respectively:
According to Formula of Universal Gravitation:F=Gm1m2/R2, gravitation when obtaining kth iteration between particle i and particle j is:
F i j M ( K ) = G ( K ) m i ( K ) × m j ( K ) R i j ( K ) + ϵ ( W j ( K ) - W i ( K ) )
Wherein, Wi(K),Wj(K) be particle i and particle j in M dimension spaces position, ε is the constant of a very little, Rij(K) when being kth iteration, particle i and particle j Euclidean distance, i.e. Rij(K)=| | Wi(K),Wj(K)||2;G (K) is gravitation coefficient, is represented by:G0=100, β=20, K are current iteration step number, and MAXITER is greatest iteration step number;
So obtaining the acceleration of particle i in every dimension space
a i M ( K ) = Σ j = 1 , j ≠ i N S h j F i j M ( K ) m i ( K )
Wherein, hj(1≤j≤NS, j ≠ i) and represent j-th of random number.
When further, invention further describes predicted value is calculated, multi-step data can also be once predicted, i.e., first prediction timeData, then with the momentPrediction data based on, prediction timeData, and the like, so as to obtain q (q >=1) step advanced prediction value and be:
y t ^ + q = f ( x t ^ , q + 1 , ... , x t ^ , m , y t ^ , ... , y t ^ + q - 1 ) q ∈ { 1 , 2 , ... , M - 1 } f ( y t ^ + q - M , ... , y t ^ + q - 1 ) q ∈ { M , M + 1 , ... } .
What the goal of the invention of the present invention was realized in:
A kind of Time Series Forecasting Methods based on quantum gravity algorithm of the present invention, build time sequential forecasting models are carried out by using Volterra series expansions.First, on the basis of phase space framing reconfiguration technique is quoted, the input signal vector blocked with Volterra series P ranks is built;Secondly, it is introduced into the quantum gravity algorithm that acceleration is proposed as some variable parameter to MohadesehSoleimanpour et al., the Volterra kernel functions of forecast model is effectively trained using this algorithm;Finally, the input signal vector by the future position moment and the linear combination of Volterra kernel functions, so as to try to achieve the predicted value at the moment.By experimental verification, quantum gravity algorithm is incorporated into the identification of the Volterra kernel functions of nonlinear system, the degree of accuracy of time series forecasting can be effectively improved.
Brief description of the drawings
Fig. 1 is a kind of embodiment flow chart of the Time Series Forecasting Methods of the invention based on quantum gravity algorithm;
Fig. 2 is the position of tri- kinds of sequence particles in searching process of MG, RDD, Laser;
Fig. 3 is learning curve schematic diagram of the present invention under 9 kinds of different pieces of information collection;
Fig. 4 be the present invention to Laser sequences carry out Single-step Prediction predict the outcome and real data comparison diagram;
Fig. 5 be the present invention to Laser sequences carry out 50 step predictions predict the outcome and real data comparison diagram;
When Fig. 6 is different forecast model prediction Laser sequences, the three-dimensional cylinder comparison diagram of its mean square error.
Embodiment
The embodiment to the present invention is described below in conjunction with the accompanying drawings, so that those skilled in the art more fully understands the present invention.Requiring particular attention is that, in the following description, when perhaps the detailed description of known function and design can desalinate the main contents of the present invention, these descriptions will be ignored herein.
Embodiment
Fig. 1 is a kind of embodiment flow chart of the Time Series Forecasting Methods of the invention based on quantum universal gravitation algorithm.
In the present embodiment, as shown in figure 1, the Time Series Forecasting Methods of the invention based on quantum gravity algorithm can be divided into three phases:Data preprocessing phase, forecast model training stage and forecast period.Each stage is described in detail separately below:
(1) data preprocessing phase
S101:If the data set DS={ x (1), x (2) ..., x (D) } of pre-selection, wherein D are data amount check;
First, data set DS smallest embedding dimension number d and delay time T is determined according to the method for differential entropy rate;
Secondly, framing reconstruct is carried out to data set DS using the function windowize in Matlab, and each frame data is respectively mapped to d dimensional feature spaces, and the p in the way of Volterra series (p >=1) rank is blocked, so as to obtain N0(N0=D-d × τ) individual data frame { (Xt,Yt) (t=1,2 ..., N0), and the input as forecast model and target output data, wherein:Input data is Xt=1, x (t), x (t+ τ) ..., x (t+ (d-1) × τ), x2(t),x(t)×x(t+τ),…,x2(t+ (d-1) × τ) ... } target output data be Yt=x (t+d × τ) (t=1,2 ..., N0);
In the present embodiment, it is the terseness of algorithm, if the dimension size of input data is M, then input data Xt=[xt,1,xt,2,…,xt,M]T
(2) the forecast model training stage
S102:Provided with NSIndividual particle, particle position M dimensional vectors WiRepresent, population position can use matrixRepresent, i=1,2 ..., NS;Random initializtion NSThe initial position W of individual particlei, and it is Lbest to make each particle local optimum positionsi=Wi
S103:N is calculated respectivelySThe adaptive value of individual particle, wherein, the i-th (i=1,2 ..., NS) adaptation value function of the individual particle in searching process be:
fit i ( W ) = 1 N 0 Σ i = 1 N 0 [ Y t - W T X t ] 2 - - - ( 1 )
The position for choosing the minimum particle of adaptive value is used as NSThe initial global optimum position Fbest for the colony that individual particle is constituted;
S104:According to universal gravitation algorithm calculate particle i in every one-dimensional space (i=1,2 ..., NS) accelerationTherefore the acceleration of all particles can use N in M dimension spacesS× M dimensions matrix a is represented.
Wherein, the acceleration of particle in every one-dimensional space is calculated, detailed process is:
During kth iteration, the inertia mass m of each particlei(K):
c i ( K ) = [ fit i ( W ) ] K - w o r s t ( K ) b e s t ( K ) - w o r s t ( K )
m i ( K ) = c i ( K ) Σ j = 1 N S c i ( K )
Wherein, ci(K) it is the intermediate variable of calculating particle inertia quality, [fiti(W)]KParticle i adaptive value when being kth iteration, best (K) and worst (K) represent adaptive optimal control degree and worst fitness;
For the identification of Volterra cores, purpose is vectorial to seek one group of M dimension coreAnd makeMinimum, so in search function minimum value, best (K) and worst (K) are respectively:
b e s t ( K ) = min j ∈ { 1 , ... , N S } [ fit j ( W ) ] K , w o r s t ( K ) = m a x j ∈ { 1 , ... , N S } [ fit j ( W ) ] K
According to Formula of Universal Gravitation:F=Gm1m2/R2, gravitation when obtaining kth iteration between particle i and particle j is:
F i j M ( K ) = G ( K ) m i ( K ) × m j ( K ) R i j ( K ) + ϵ ( W j ( K ) - W i ( K ) )
Wherein, Wi(K),Wj(K) be particle i and particle j in M dimension spaces position, ε is the constant of a very little, Rij(K) when being kth iteration, particle i and particle j Euclidean distance, i.e. Rij(K)=| | Wi(K),Wj(K)||2;G (K) is gravitation coefficient, is represented by:G0=100, β=20, K are current iteration step number, and MAXITER is greatest iteration step number;
So obtaining the acceleration of particle i in every dimension space
a i M ( K ) = Σ j = 1 , j ≠ i N S h j F i j M ( K ) m i ( K )
Wherein, hj(1≤j≤NS, j ≠ i) and represent j-th of random number.
S105:The position of more new particle and adaptive value:
m b e s t = 1 M Σ i = 1 M F b e s t ( i )
p ( K ) = a 0 · F b e s t + a · f i t ( F b e s t ) a 1 + a
B (K)=1-0.5K/MAXITER
R (K)=[r1(K),…,rd(K),…,rM], (K) wherein r d ( K ) = - 1 , i f δ ( K ) > 0.5 - 1 , i f δ ( K ) ≤ 0.5
W ( K ) = p ( K ) + r ( K ) b ( K ) | m b e s t - W ( K - 1 ) | l n ( 1 u ( K ) )
Wherein, δ (K), u (K) are the random number between 0 to 1, a0,a1N between respectively 0 to 1SPeacekeeping NS× M ties up random vector, and a is the acceleration of particle, and fit (Fbest) is the adaptive value corresponding to global optimum position, i.e. adaptive optimal control value;K is current iteration step number, and MAXITER is greatest iteration step number;
With particle position W (K) renewal, particle i (i=1,2 ..., N are obtained so as to can be calculated using formula (1)S) new adaptive value fit (Wi(K))。
S106:The local optimum positions of each particle are updated, if each particle fit (Wi(K)) < fit (Lbesti), then Lbesti=Wi(K), otherwise LbestiKeep it is constant (i=1,2 ..., NS);
Global optimum position is updated, F b e s t = arg m i n 1 ≤ i ≤ N S f i t ( Lbest i ) .
S107:Iterative operation:Judge whether iterative steps reach whether greatest iteration step number MAXITER or adaptive optimal control value fit (Fbest) reach stabilization;If it is, terminating iteration, one group of optimal M dimension core vector is obtainedPerform step (8);Otherwise, step (4) is returned to continue executing with.
(3) forecast period
S108:Calculate predicted value:When predicting the D+1 data, i.e. during prediction data x (D+1), the input data frame for understanding now forecast model according to step S101 is X t ^ = [ x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ] T , ( t ^ = D + 1 - d × τ ) ; By the core vector in step S107Substitute into, so as to obtainMoment, the one-step prediction value of forecast model:
y t ^ = f ( X t ^ ) = f ( x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ) = W ^ T X t ^
In practice, the data of a step once can be only predicted, i.e.,The data at moment, can also once predict multi-step data, i.e. momentData.If once predicting multi-step data, first prediction timeData, then with the momentPrediction data based on, prediction timeData, and the like, so as to obtain q (q >=1) step advanced prediction value and be:
y t ^ + q = f ( x t ^ , q + 1 , ... , x t ^ , m , y t ^ , ... , y t ^ + q - 1 ) q ∈ { 1 , 2 , ... , M - 1 } f ( y t ^ + q - M , ... , y t ^ + q - 1 ) q ∈ { M , M + 1 , ... } .
Example
In order to illustrate the technique effect of the present invention, the present invention will carry out experimental analysis from emulation and actual chaos time sequence respectively, to weigh the validity of forecast model.Wherein simulation sequence is famous Mackey-Glass (MG) data, several group data sets that actual sequence provides for TimeSeriesPredictionGroup groups:Laser、DailyMinimumTemperatures(DMT)、Electricity_Demand(ED)、CATS_Benchmark(CATS_B)、SunspotNumber(SN)、PolandElectricity(PE)、Dslp.Meanwhile, one group of degeneration measurement data (RDD) that the present invention also utilizes random degradation model to produce is used to verify method proposed by the invention.
For this 9 different emulation and actual chaos time sequence, it is normalized first, then using 2/3 data as training data, 1/3 data are used as test data.In the parameter setting of forecast model, smallest embedding dimension number and time delay are chosen using the method for differential entropy rate;The population number for setting model is 50, and greatest iteration step number MAXITER is 1000, and the exponent number of Volterra series is 3.
Under the conditions of above-mentioned parameter, Fig. 2 (a) (b) (c) sets forth the position of tri- kinds of sequence particles in searching process of MG, RDD, Laser, five-pointed star represents particle optimum position corresponding when adaptive value reaches stable, the optimum position of particle when circle represents each iteration in figure.Although MG sequence randomnesss are weaker, and RDD and Laser sequence randomnesss are stronger, and can be seen that method proposed by the invention from Fig. 2 three width figures is respectively provided with stronger search capability to the random sequence of both types.And then, Fig. 3 gives learning curve schematic diagram of this method under above-mentioned 9 kinds of different pieces of information collection.It can be seen that, in function searching process, for different data sets, this method can possess higher convergence rate and convergence precision.
Training is predicted after terminating using forecast model to test data point.Fig. 4 be using the present invention to Laser sequences carry out Single-step Prediction predict the outcome and real data comparison diagram.Fig. 5 be using the present invention to Laser sequences carry out 50 step predictions predict the outcome and real data comparison diagram.As shown in Figure 4 and Figure 5, real data is represented with solid line, dotted line represents to predict the outcome.As can be seen from Figure 4 and Figure 5, either Single-step Prediction or multi-step prediction, method proposed by the invention all have good estimated performance, and even in the overlength prediction case of 50 steps, it predicts that curve of output also approaches real sequence very much.
Preferably to verify the estimated performance of method proposed by the invention, here single step and multi-step prediction are carried out to above-mentioned 9 different emulation and actual chaos time sequence using mean square error (MSE) and standardization root-mean-square error (NRMSE) respectively as Performance evaluation criterion using forecast model proposed by the invention.In order to ensure the accuracy of test, the prediction to different step-lengths repeats 30 experiments, records the MSE and NRMSE tested every time, its average value is finally sought respectively.
Table 1 is then the error analysis of the model prediction result under different pieces of information collection.
Table 1
The weaker MG sequences of either randomness are can be seen that from the error analysis result of table 1, or for sequences such as randomness very strong DMT, SN, PE, RDD, method proposed by the present invention can obtain preferable prediction effect for the random sequence of both types.
Further, for quantitative measurement and comparison prediction performance, we also use autoregression model (AR), the radial basis neural network (RBF) of standard, optimal beta pruning extreme learning machine model (OPELM), Volterra, cut Lazy learning model (LLpruned), least square method supporting vector machine (LSSVM), and this seven kinds of different forecast models of the invention are predicted to Laser sequences respectively, the training data and test data of all forecast models have all carried out normalized before input model.Intuitively recognize to have to result, when Fig. 6 depicts different forecast model prediction Laser sequences, the three-dimensional cylinder comparison diagram of its mean square error.From comparison diagram as can be seen that model proposed by the invention has higher precision of prediction than popular at present and conventional most of forecast models.
It is above-mentioned test result indicate that, a kind of Time Series Forecasting Methods based on quantum gravity algorithm of the present invention, not only possess higher convergence rate and convergence precision in function searching process, and in the case of single step or multistep advanced prediction, can preferable prediction effect be obtained to different types of random sequence.
Although illustrative embodiment of the invention is described above; in order to which those skilled in the art understand the present invention; it is to be understood that; the invention is not restricted to the scope of embodiment; for those skilled in the art; as long as various change is in the spirit and scope of the present invention that appended claim is limited and is determined, these changes are it will be apparent that all utilize the innovation and creation of present inventive concept in the row of protection.

Claims (3)

1. a kind of Time Series Forecasting Methods based on quantum gravity algorithm, it is characterised in that comprise the following steps:
(1), data prediction
(1.1) the data set DS={ x (1), x (2) ..., x (D) } of pre-selection, is set, wherein D is data amount check;
(1.2) data set DS smallest embedding dimension number d and delay time T, is determined according to the method for differential entropy rate;
(1.3) framing reconstruct, is carried out to data set DS using the function windowize in Matlab, and each frame data are respectively mapped to d dimensional feature spaces, and the p in the way of Volterra series (p >=1) rank is blocked, so as to obtain N0(N0=D-d × τ) individual data frame { (Xt,Yt) (t=1,2 ..., N0), and the input as forecast model and target output data, wherein:Input data is Xt=1, x (t), x (t+ τ) ..., x (t+ (d-1) × τ), x2(t),x(t)×x(t+τ),…,x2(t+ (d-1) × τ) ... } target output data be Yt=x (t+d × τ) (t=1,2 ..., N0);
(2), the local optimum positions of primary
Provided with NSIndividual particle, particle position M dimensional vectors WiRepresent, population position can use matrixRepresent, i=1,2 ..., NS;The initial position W of the N number of particle of random initializtioni, and it is Lbest to make each particle local optimum positionsi=Wi
(3) N, is obtainedSThe initial global optimum position for the colony that individual particle is constituted
I-th (i=1,2 ..., NS) adaptation value function of the individual particle in searching process be:
fit i ( W ) = 1 N 0 Σ t = 1 N 0 [ Y t - W T X t ] 2 - - - ( 1 )
The position for choosing the minimum particle of adaptive value is used as NSThe initial global optimum position Fbest for the colony that individual particle is constituted;
(4), according to universal gravitation algorithm calculate particle i in every one-dimensional space (i=1,2 ..., NS) accelerationTherefore the acceleration of all particles can use N in M dimension spacesS× M dimensions matrix a is represented;
(5), the position of more new particle and adaptive value:
m b e s t = 1 M Σ i = 1 M F b e s t ( i )
p ( K ) = a 0 · F b e s t + a · f i t ( F b e s t ) a 1 + a
B (K)=1-0.5K/MAXITER
R (K)=[r1(K),…,rd(K),…,rM], (K) wherein r d ( K ) = - 1 , i f δ ( K ) > 0.5 - 1 , i f δ ( K ) ≤ 0.5
W ( K ) = p ( K ) + r ( K ) b ( K ) | m b e s t - W ( K - 1 ) | l n ( 1 u ( K ) )
Wherein, δ (K), u (K) are the random number between 0 to 1, a0,a1N between respectively 0 to 1SPeacekeeping NS× M ties up random vector, and a is the acceleration of particle, and fit (Fbest) is the adaptive value corresponding to global optimum position, i.e. adaptive optimal control value.K is current iteration step number, and MAXITER is greatest iteration step number;
With particle position W (K) renewal, particle i (i=1,2 ..., N are obtained so as to can be calculated using formula (1)S) new adaptive value fit (Wi(K));
(6) local optimum positions of each particle, are updated, if each particle fit (Wi(K)) < fit (Lbesti), then Lbesti=Wi(K), otherwise LbestiKeep it is constant (i=1,2 ..., NS);
Global optimum position is updated, F b e s t = arg min 1 ≤ i ≤ N S f i t ( Lbest i ) ;
(7), iterative operation:Judge whether iterative steps reach whether greatest iteration step number MAXITER or adaptive optimal control value fit (Fbest) reach stabilization;If it is, terminating iteration, one group of optimal M dimension core vector is obtainedPerform step (8);Otherwise, step (4) is returned to continue executing with;
(8) predicted value, is calculated:When predicting the D+1 data, i.e. during prediction data x (D+1), the input data frame for understanding now forecast model according to step (1) is X t ^ = [ x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ] T , ( t ^ = D + 1 - d × τ ) ; By the core vector in step (7)Substitute into, so as to obtainMoment, the one-step prediction value of forecast model:
y t ^ = f ( X t ^ ) = f ( x t ^ , 1 , x t ^ , 2 , ... , x t ^ , M ) = W ^ T X t ^ .
2. the Time Series Forecasting Methods according to claim 1 based on quantum gravity algorithm, it is characterised in that in the step (3), calculate the acceleration of particle in every one-dimensional space, detailed process is:
During kth iteration, the inertia mass m of each particlei(K):
c i ( K ) = [ fit i ( W ) ] K - w o r s t ( K ) b e s t ( K ) - w o r s t ( K )
m i ( K ) = c i ( K ) Σ j = 1 N S c i ( K )
Wherein, ci(K) it is the intermediate variable of calculating particle inertia quality, [fiti(W)]KParticle i adaptive value when being kth iteration, best (K) and worst (K) represent adaptive optimal control degree and worst fitness;
For the identification of Volterra cores, purpose is vectorial to seek one group of M dimension coreAnd makeMinimum, so in search function minimum value, best (K) and worst (K) are respectively:
b e s t ( K ) = min j ∈ { 1 , ... , N S } [ fit j ( W ) ] K , w o r s t ( K ) = max j ∈ { 1 , ... , N S } [ fit j ( W ) ] K
According to Formula of Universal Gravitation:F=Gm1m2/R2, gravitation when obtaining kth iteration between particle i and particle j is:
F i j M ( K ) = G ( K ) m i ( K ) × m j ( K ) R i j ( K ) + ϵ ( W j ( K ) - W i ( K ) )
Wherein, Wi(K),Wj(K) be grain particle i and particle j in M dimension spaces position, ε is the constant of a very little, Rij(K) when being kth iteration, particle i and particle j Euclidean distance, i.e. Rij(K)=| | Wi(K),Wj(K)||2;G (K) is gravitation coefficient, is represented by:G0=100, β=20, K are current iteration step number, and MAXITER is greatest iteration step number;
So obtaining the acceleration of particle i in every dimension space
a i M ( K ) = Σ j = 1 , j ≠ i N S h j F i j M ( K ) m i ( K )
Wherein, hj(1≤j≤NS, j ≠ i) and represent j-th of random number.
3. the Time Series Forecasting Methods according to claim 1 based on quantum gravity algorithm, it is characterised in that in the step (8), multi-step data can also be once predicted when calculating predicted value, i.e., first prediction timeData, then with the momentPrediction data based on, prediction timeData, and the like, so as to obtain q (q >=1) step advanced prediction value and be:
y t ^ + q = f ( x t ^ , q + 1 , ... , x t ^ , m , y t ^ , ... , y t ^ + q - 1 ) q ∈ { 1 , 2 , ... , M - 1 } f ( y t ^ + q - M , ... , y t ^ + q - 1 ) q ∈ { M , M + 1 , ... } .
CN201510837084.9A 2015-11-26 2015-11-26 Time sequence forecast method based on quantum gravity algorithm Pending CN105320845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510837084.9A CN105320845A (en) 2015-11-26 2015-11-26 Time sequence forecast method based on quantum gravity algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510837084.9A CN105320845A (en) 2015-11-26 2015-11-26 Time sequence forecast method based on quantum gravity algorithm

Publications (1)

Publication Number Publication Date
CN105320845A true CN105320845A (en) 2016-02-10

Family

ID=55248220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510837084.9A Pending CN105320845A (en) 2015-11-26 2015-11-26 Time sequence forecast method based on quantum gravity algorithm

Country Status (1)

Country Link
CN (1) CN105320845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491830A (en) * 2017-07-03 2017-12-19 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of time-serial position
WO2020224112A1 (en) * 2019-05-07 2020-11-12 深圳大学 Time series forecasting method employing training series model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197186A (en) * 2013-04-12 2013-07-10 电子科技大学 Realtime prediction method for electronic product degradation state
CN104978459A (en) * 2015-07-08 2015-10-14 电子科技大学 IGBT remaining useful life prediction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197186A (en) * 2013-04-12 2013-07-10 电子科技大学 Realtime prediction method for electronic product degradation state
CN104978459A (en) * 2015-07-08 2015-10-14 电子科技大学 IGBT remaining useful life prediction method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
MOHADESEH SOLEIMANPOUR-MOGHADAM等: "An improved quantum behaved gravitational search algorithm", 《ELECTRICAL ENGINEERING(ICEE)》 *
卫晓娟等: "基于改进粒子群算法的Volterra模型参数辨识", 《振动与冲击》 *
张维平等: "改进的万有引力搜索算法在函数优化中的应用", 《计算机应用》 *
李志农等: "基于量子粒子群优化Volterra时域核辨识的隐Markov模型识别方法", 《仪器仪表学报》 *
蒋静: "基于量子粒子群优化的Volterra核辨识及故障诊断方法", 《中国优秀硕士学位论文全文数据库-工程科技II辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491830A (en) * 2017-07-03 2017-12-19 北京奇艺世纪科技有限公司 A kind for the treatment of method and apparatus of time-serial position
CN107491830B (en) * 2017-07-03 2021-03-26 北京奇艺世纪科技有限公司 Method and device for processing time series curve
WO2020224112A1 (en) * 2019-05-07 2020-11-12 深圳大学 Time series forecasting method employing training series model

Similar Documents

Publication Publication Date Title
CN106485353B (en) Air pollutant concentration forecasting procedure and system
Gill et al. Training back propagation neural networks with genetic algorithm for weather forecasting
CN113468803B (en) WOA-GRU flood flow prediction method and system based on improvement
CN106971240A (en) The short-term load forecasting method that a kind of variables choice is returned with Gaussian process
Huang et al. Prediction of wind power by chaos and BP artificial neural networks approach based on genetic algorithm
CN103136428B (en) Based on two kinds of uncertain car body structure robust design method
CN109142171A (en) The city PM10 concentration prediction method of fused neural network based on feature expansion
CN102819663B (en) Method for forecasting ship wake based on optimized support vector regression parameter
CN110321603A (en) A kind of depth calculation model for Fault Diagnosis of Aircraft Engine Gas Path
CN107886161A (en) A kind of global sensitivity analysis method for improving Complex Information System efficiency
CN104899431B (en) Based on ant colony and swarm of particles into LSSVM fluctuating wind speed Forecasting Methodologies
CN108205889A (en) Freeway traffic flow Forecasting Methodology based on convolutional neural networks
CN102185735A (en) Network security situation prediction method
CN109492748A (en) A kind of Mid-long term load forecasting method for establishing model of the electric system based on convolutional neural networks
CN109711883A (en) Internet advertising clicking rate predictor method based on U-Net network
CN110781595B (en) Method, device, terminal and medium for predicting energy use efficiency (PUE)
CN103324954A (en) Image classification method based on tree structure and system using same
CN102208046A (en) Binary system particle swarm optimization (BSPSO) algorithm-based chaotic time series prediction method
CN103093247B (en) The automatic classification method of one Plants picture
CN110164129A (en) Single Intersection multi-lane traffic flow amount prediction technique based on GERNN
CN112215001A (en) Rumor identification method and system
CN109063388A (en) The micro climate architecture design addressing design method of wind environment simulation
CN105320845A (en) Time sequence forecast method based on quantum gravity algorithm
CN109947946A (en) A kind of prediction article propagates the method and device of temperature
CN117318018A (en) Short-term prediction method and system for wind power output

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160210

WD01 Invention patent application deemed withdrawn after publication