CN103399867A - Self-adaptive adjusting method for linear combination prediction model weight - Google Patents
Self-adaptive adjusting method for linear combination prediction model weight Download PDFInfo
- Publication number
- CN103399867A CN103399867A CN2013102832421A CN201310283242A CN103399867A CN 103399867 A CN103399867 A CN 103399867A CN 2013102832421 A CN2013102832421 A CN 2013102832421A CN 201310283242 A CN201310283242 A CN 201310283242A CN 103399867 A CN103399867 A CN 103399867A
- Authority
- CN
- China
- Prior art keywords
- prime
- weight
- forecast model
- delta
- sigma
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a self-adaptive adjusting method for linear combination prediction model weight. The self-adaptive adjusting method is characterized in that the step 1, weight wi, m and the former k-1 calculating results of a prediction model fi except mth calculating result are related to the correlation coefficients of the former k actual results; the step 2, the weight wi, m and the mth calculating result of the prediction model fi are related to deviation of the actual results, and higher weight can be set according to the prediction model with the smaller deviation to the closest actual result; the step 3, the step 1 is calculated to obtain the correlation coefficients, the step 2 is calculated to obtain the deviation between the predicted results and the actual results, and accordingly the purpose of calculating self-adaptive weight is achieved. The self-adaptive adjusting method for the linear combination prediction model weight fully takes the deviation between the predicted results and the actual results and the correlation coefficients between the predicted results and the former k results so as to improve algorithm accuracy and algorithm reasonability.
Description
Technical field
The present invention relates to a kind ofly in tax index prediction,, according to predicting the outcome and actual result of linear combination forecasting model, dynamically change the method for the weight of each forecast model.
Background technology
In combination linear prediction, each forecast model role in prediction is not changeless, but is subjected to all kinds of extraneous factors to affect dynamic change.For example, in tax index prediction, each forecast model is subjected to the impact of macroeconomy situation, all kinds of economy and the tax policy.Due to the difference of all kinds of factors to the forecast model influence degree, the weight of each forecast model, also in dynamic change,, in order to guarantee the performance of linear combination forecasting model, need to dynamically be adjusted it adaptively.The applicant is new through looking into, and has retrieved one piece of relevant patent: weight adjusting module and weight regulating method [application publication number: CN1925543].In this patent, the inventor provides a kind of weight adjusting module and weight regulating method, is applicable to adjust the weight in the image-zooming technology.The described method of above-mentioned Patents invention is all for concrete application, and algorithm idea is adjusted Weight algorithm from the self-adaptation that this method adopts has essence different.
Summary of the invention
The purpose of this invention is to provide a kind of can be according to predicted value and actual result, the dynamic alignment combination forecasting
In i forecast model f
iWeights omega
i(i ∈ [1..n]) carries out the method for accommodation.
For reaching above purpose, the present invention takes following technical scheme to be achieved:
A kind of self-adapting regulation method of linear combination forecasting model weight, is characterized in that, in accordance with the following steps:
(1) determine initial weight: establishing the numerical value of actual result first is F '
0, each forecast model f
iPredicted value be F '
i; , for each i ∈ [1..n], calculate
Each forecast model f
iInitial weight be
Meet the model that prediction effect is good first and have higher initial weight, and
(2) dynamically adjust weight:
A, establish current total m time and predict the outcome and actual result, comprise except the m time before the F ' that predicts the outcome of k-1 time
I, m-k+1, F '
I, m-k+2.., F '
I, m-1, and the actual result F ' of front k time
M-k+1,
F′
M-k+2.., F '
m; Wherein, k is time window, defaultly gets 5; When m<k, get k=m; Corresponding F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1Weight be respectively w
I, m-k+1, w
I, m-k+2.., w
I, m-1;
B, forecast model f
i, i ∈ [1..n], the result of calculation of front k-1 time and the related coefficient of front k actual result except the m time;
C, forecast model f
iThe deviation of the m time result of calculation and actual result,
D, according to the result of A, B, self-adaptation solves each forecast model f
iThe weights omega that (i ∈ [1..n]) adjusts for the m time
i,m,, for high with the actual result correlativity and less with actual result deviation forecast model, increase the value of weight; For with the low forecast model of actual result correlativity and the forecast model larger with the actual result deviation, reduce the value of weight.
In such scheme, in described step (2), the specific algorithm of B step is:
STEP1. calculate
Too frequently cause shake for fear of the weight adjustment, as F '
m=F
m=0 or | F '
m-F
m|/(| F '
m|+| F
m|)≤5%, do not carry out the index weights adjustment, namely, for each i ∈ [1..n], make ω
i,m=ω
I, m-1, return to (ω
1, m, ω
2, m.., ω
i,m.., ω
n,m), algorithm withdraws from;
STEP2. according to forecast model f
iThe result of calculation of (i ∈ [1..n]) and the related coefficient of actual result, determine weight adjustment coefficient:
STEP2.1., for each i ∈ [1..n], adopt Pearson product-moment correlation coefficient (PPMCC) sequence of calculation F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1With F '
M-k+1, F '
M-k+2.., F '
m-1Related coefficient, obtain one group of correlation coefficient r
i, r
i∈ [1,1];
In formula (1),
STEP2.2. to correlation coefficient r
i(i ∈ [1..n]) carries out following zero correction, obtains one group of weight and adjusts coefficient r '
i, r '
iShow more greatly forecast model f
iHigher with the actual result correlativity;
In described step (2), the specific algorithm of C step is:
Calculate forecast model f
i(i ∈ [1..n]) the m time result of calculation F '
i,mWith actual result F '
mDeviation Δ F
i:
Deviation Δ F
iLarger, show forecast model f
iThe m time forecasting accuracy high.
In described step (2), the specific algorithm of D step is:
STEP1. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m:
STEP1.1. to correlation coefficient r '
i(i ∈ [1..n]) and deviation Δ F
iSpan normalization:
STEP1.2. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m
In formula (7), p
1And p
2Be respectively correlation coefficient r '
i, deviation Δ F
iWeight, p wherein
1+ p
2=1, p under default setting
1=0.4p
2=0.6;
STEP2., for each i ∈ [1..n], calculate ω
i,m;
ω′
i,m=ω
i,m-1+Δω
i,mi∈[1..n] (8)
Advantage of the present invention is to have utilized forecast model f
iThe m time outer before result of calculation and front k actual result related coefficient and the forecast model f of k-1 time
iThe m time result of calculation and the deviation of actual result increased accuracy rate and rationality that algorithm calculates.
Description of drawings
The present invention is described in further detail below in conjunction with the drawings and the specific embodiments.
Fig. 1 the inventive method process flow diagram.
Embodiment
The present invention adopts is according to the predicting the outcome and actual result of linear combination forecasting model, dynamically changes the method for the weight of each forecast model.
Research purpose:, according to predicting the outcome and actual result of linear combination forecasting model, dynamically change the weight of each tax index model.
Research background: in combination linear prediction, each forecast model role in prediction is not changeless, but is subjected to all kinds of extraneous factors to affect dynamic change.For example, in tax index prediction, each forecast model is subjected to the impact of macroeconomy situation, all kinds of economy and the tax policy.Due to the difference of all kinds of factors to the forecast model influence degree, the weight of each forecast model, also in dynamic change,, in order to guarantee the performance of linear combination forecasting model, need to dynamically be adjusted it adaptively.
As shown in Figure 1, a kind of self-adapting regulation method of linear combination forecasting model weight, comprise 6 steps, and its idiographic flow is:
(1) be F ' according to the numerical value of actual result first
0With each forecast model f
iPredicted value be F '
i,, for each i ∈ [1..n], calculate each forecast model f
iInitial weight w
i,0;
(2) too frequently cause shake for fear of the weight adjustment, if F '
m=Fm=0 or | F '
m-F
m|/(| F '
m|+| F
m|)≤5%, do not carry out the index weights adjustment, make ω
i,m=ω
I, m-1, algorithm withdraws from, otherwise carries out (3).
(3) according to forecast model f
iThe result of calculation of (i ∈ [1..n]) and the related coefficient of actual result, determine weight adjustment coefficient:
(4) calculate forecast model f
i(i ∈ [1..n]) the m time result of calculation F '
i,mWith actual result F '
mRelative deviation Δ F
i:
(5) calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m;
(6), for each i ∈ [1..n], calculate ω
I, m=ω
I, m-1+ Δ ω
i,m; Return to (ω
1, m, ω
2, m.., ω
i,m.., ω
n,m), algorithm withdraws from.
According to following detailed step:
(1) determine initial weight: establishing the numerical value of actual result (actual value of tax index) first is F '
0, each forecast model f
iPredicted value be F '
i; , for each i ∈ [1..n], calculate
Each forecast model f
iInitial weight be
Meet the model that prediction effect is good first and have higher initial weight, and
(2) dynamically adjust weight: establish current total m time and predict the outcome and actual result; For each i ∈ [1..n], according to forecast model f
iResult of calculation and front k the actual result related coefficient of k-1 time before except the m time, and forecast model f
iThe deviation of the m time result of calculation and actual result, solve each forecast model f
iThe weights omega that (i ∈ [1..n]) adjusts for the m time
i,m; For with high and less with the nearest actual result deviation forecast model of actual result correlativity in early stage, increase the value of weight; For with the low forecast model of actual result correlativity and the forecast model larger with nearest actual result deviation, reduce the value of weight.
Described dynamic adjustment weight is carried out according to following algorithm:
Input:
A) forecast model f
i(i ∈ [1..n]) k-1 time (k is time window, defaultly gets 5 before except the m time; When m<k, get k=m) result of calculation be F '
I, m-k+1, R '
I, m-k+2.., F '
I, m-1;
B) corresponding F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1Weight be respectively w
I, m-k+1, w
I, m-k+2.., w
I, m-1;
C) the actual result F ' of front k time
M-k+1, F '
M-k+2.., F '
m;
Output: vector (ω
1, m, ω
2, m.., ω
i,m.., ω
n,m), ω
i,mFor forecast model f
iThe weight of the m time is adjusted result;
Step is:
STEP1. calculate
Too frequently cause shake for fear of the weight adjustment, as F '
m=F
m=0 or | F '
m-F
m|/(| F '
m|+| F
m|)≤5%, do not carry out the index weights adjustment, namely, for each i ∈ [1..n], make ω
i,m=ω
I, m-1, return to (ω
1, m, ω
2, m.., ω
i,m.., ω
n,m), algorithm withdraws from;
STEP2. according to forecast model f
iThe result of calculation of (i ∈ [1..n]) and the related coefficient of actual result, determine weight adjustment coefficient:
STEP2.1., for each i ∈ [1..n], adopt Pearson product-moment correlation coefficient (PPMCC) sequence of calculation F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1With F '
M-k+1, F '
M-k+2.., F '
m-1Related coefficient, obtain one group of correlation coefficient r
i, r
i∈ [1,1];
In formula (1),
STEP2.2. to correlation coefficient r
i(i ∈ [1..n]) carries out following zero correction, obtains one group of weight and adjusts coefficient r '
i, r '
iShow more greatly forecast model f
iHigher with the actual result correlativity;
STEP3. calculate forecast model f
i(i ∈ [1..n]) the m time result of calculation F '
i,mWith actual result F '
mDeviation Δ F
i:
STEP3.1.
STEP3.2.
Deviation Δ F
iLarger, show forecast model f
iThe m time forecasting accuracy high.
STEP4. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m:
STEP4.1. to correlation coefficient r '
i(i ∈ [1..n]) and deviation Δ F
iSpan normalization:
STEP4.2. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m
In formula (7), p
1And p
2Be respectively correlation coefficient r '
i, deviation Δ F
iWeight, p wherein
1+ p
2=1 (p under default setting
1=0.4p
2=0.6).
STEP5., for each i ∈ [1..n], calculate ω
i,m;
ω′
i,m=ω
i,m-1+Δω
i,mi∈[1..n] (8)
Claims (4)
1. the self-adapting regulation method of a linear combination forecasting model weight, is characterized in that, in accordance with the following steps:
(1) determine initial weight: establishing the numerical value of actual result first is F '
0, each forecast model f
iPredicted value be F '
i; , for each i ∈ [1..n], calculate
Each forecast model f
iInitial weight be
Meet the model that prediction effect is good first and have higher initial weight, and
(2) dynamically adjust weight:
A, establish current total m time and predict the outcome and actual result, comprise except the m time before the F ' that predicts the outcome of k-1 time
I, m-k+1, F '
I, m-k+2.., R '
I, m-1, and the actual result F ' of front k time
M-k+1, F '
M-k+2.., F '
m; Wherein, k is time window, defaultly gets 5; When m<k, get k=m; Corresponding F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1Weight be respectively w
I, m-k+1, w
I, m-k+2.., w
I, m-1;
B, forecast model f
i, i ∈ [1..n], the result of calculation of front k-1 time and the related coefficient of front k actual result except the m time;
C, forecast model f
iThe deviation of the m time result of calculation and actual result,
D, according to the result of A, B, self-adaptation solves each forecast model f
iThe weights omega that (i ∈ [1..n) adjusts for the m time
i,m,, for high with the actual result correlativity and less with actual result deviation forecast model, increase the value of weight; For with the low forecast model of actual result correlativity and the forecast model larger with the actual result deviation, reduce the value of weight.
2. the self-adapting regulation method of linear combination forecasting model weight as claimed in claim 1, is characterized in that, in described step (2), the specific algorithm of B step is:
STEP1. calculate
Too frequently cause shake for fear of the weight adjustment, as F '
m=F
m=0 or | F '
m-F
m|/(| F '
m|+| F
m|)≤5%, do not carry out the index weights adjustment, namely, for each i ∈ [1..n], make ω
i,m=ω
I, m-1, return to (ω
1, m, ω
2, m.., ω
i,m.., ω
n,m), algorithm withdraws from;
STEP2. according to forecast model f
iThe result of calculation of (i ∈ [1..n]) and the related coefficient of actual result, determine weight adjustment coefficient:
STEP2.1., for each i ∈ [1..n], adopt Pearson product-moment correlation coefficient (PPMCC) sequence of calculation F '
I, m-k+1, F '
I, m-k+2.., F '
I, m-1With F '
M-k+1, F '
M-k+2.., F '
m-1Related coefficient, obtain one group of correlation coefficient r
i, r
i∈ [1,1];
In formula (1),
STEP2.2. to correlation coefficient r
i(i ∈ [1..n]) carries out following zero correction, obtains one group of weight and adjusts coefficient r '
i, r '
iShow more greatly forecast model f
iHigher with the actual result correlativity;
3. the self-adapting regulation method of linear combination forecasting model weight as claimed in claim 1, is characterized in that, in described step (2), the specific algorithm of C step is:
Calculate forecast model f
i(i ∈ [1..n]) the m time result of calculation F '
i,mWith actual result F '
m, deviation Δ F
i:
Deviation Δ F
iLarger, show forecast model f
iThe m time forecasting accuracy high.
4. the self-adapting regulation method of linear combination forecasting model weight as claimed in claim 1, is characterized in that, in described step (2), the specific algorithm of D step is:
STEP1. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
i,m:
STEP1.1. to correlation coefficient r '
i(i ∈ [1..n]) and deviation Δ F
iSpan normalization:
STEP1.2. calculate forecast model f
iThe weight adjusted value Δ ω of (i ∈ [1..n])
I, m
In formula (7), p
1And p
2Be respectively correlation coefficient r '
i, deviation Δ F
iWeight, p wherein
1+ p
2=1, p under default setting
1=0.4p
2=0.6;
STEP2., for each i ∈ [1..n], calculate ω
i,m;
ω′
i,m=ω
i,m-1+Δω
i,mi∈[1..n] (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310283242.1A CN103399867B (en) | 2013-07-05 | 2013-07-05 | A kind of self-adapting regulation method of linear combination prediction model weight |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310283242.1A CN103399867B (en) | 2013-07-05 | 2013-07-05 | A kind of self-adapting regulation method of linear combination prediction model weight |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103399867A true CN103399867A (en) | 2013-11-20 |
CN103399867B CN103399867B (en) | 2015-10-28 |
Family
ID=49563497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310283242.1A Active CN103399867B (en) | 2013-07-05 | 2013-07-05 | A kind of self-adapting regulation method of linear combination prediction model weight |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103399867B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608317A (en) * | 2015-12-18 | 2016-05-25 | 上海集成电路研发中心有限公司 | Linear system based digital filtering apparatus and method |
CN109284437A (en) * | 2018-08-01 | 2019-01-29 | 广东奥博信息产业股份有限公司 | A kind of adaptive feedback adjustment methods of weight and device of information push |
CN116760033A (en) * | 2023-08-21 | 2023-09-15 | 南京博网软件科技有限公司 | Real-time power demand prediction system based on artificial intelligence |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070156508A1 (en) * | 2006-01-05 | 2007-07-05 | Gilpin Brian M | Capacity management index system and method |
CN101695050A (en) * | 2009-10-19 | 2010-04-14 | 浪潮电子信息产业股份有限公司 | Dynamic load balancing method based on self-adapting prediction of network flow |
-
2013
- 2013-07-05 CN CN201310283242.1A patent/CN103399867B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070156508A1 (en) * | 2006-01-05 | 2007-07-05 | Gilpin Brian M | Capacity management index system and method |
CN101695050A (en) * | 2009-10-19 | 2010-04-14 | 浪潮电子信息产业股份有限公司 | Dynamic load balancing method based on self-adapting prediction of network flow |
Non-Patent Citations (2)
Title |
---|
王吉权等: "一种求解组合预测模型权重的新方法", 《数学的实践与认识》, vol. 38, no. 1, 31 January 2008 (2008-01-31), pages 76 - 81 * |
鄂加强等: "一种新的非线性模糊自适应变权重组合预测模型", 《模糊系统与数学》, vol. 20, no. 4, 31 August 2006 (2006-08-31), pages 123 - 127 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105608317A (en) * | 2015-12-18 | 2016-05-25 | 上海集成电路研发中心有限公司 | Linear system based digital filtering apparatus and method |
CN105608317B (en) * | 2015-12-18 | 2018-06-26 | 上海集成电路研发中心有限公司 | A kind of digital filter apparatus and method based on linear system |
CN109284437A (en) * | 2018-08-01 | 2019-01-29 | 广东奥博信息产业股份有限公司 | A kind of adaptive feedback adjustment methods of weight and device of information push |
CN109284437B (en) * | 2018-08-01 | 2020-12-08 | 广东奥博信息产业股份有限公司 | Weight adaptive feedback adjustment method and device for information push |
CN116760033A (en) * | 2023-08-21 | 2023-09-15 | 南京博网软件科技有限公司 | Real-time power demand prediction system based on artificial intelligence |
CN116760033B (en) * | 2023-08-21 | 2024-04-12 | 南京博网软件科技有限公司 | Real-time power demand prediction system based on artificial intelligence |
Also Published As
Publication number | Publication date |
---|---|
CN103399867B (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11326579B2 (en) | Adaptive dynamic planning control method and system for energy storage station, and storage medium | |
CN105760213A (en) | Early warning system and method of resource utilization rate of virtual machine in cloud environment | |
RU2014130024A (en) | METHOD AND MODULE FOR VEHICLE SPEED CONTROL BASED ON RULES AND / OR COST | |
CN106877363B (en) | Method and device for restraining subsynchronous oscillation of system by static synchronous series compensator | |
CN107577876A (en) | A kind of spiral bevel gear flank of tooth loading performance Multipurpose Optimal Method | |
CN103660991B (en) | One often leads the non-linear suspension control method of magnetic-levitation train and control system thereof | |
CN102968055A (en) | Fuzzy PID (Proportion Integration Differentiation) controller based on genetic algorithm and control method thereof | |
CN103490956A (en) | Self-adaptive energy-saving control method, device and system based on traffic predication | |
CN103399867B (en) | A kind of self-adapting regulation method of linear combination prediction model weight | |
CN102130454B (en) | Dynamic stability control method and system for computer aided design based power system | |
CN104036331A (en) | Dynamic and economical dispatching method of power system based on improved particle swarm optimization | |
CN112016723B (en) | Time granularity adjustable high-frequency power grid load prediction method | |
CN104463381A (en) | Building energy consumption predication method based on KPCA and WLSSVM | |
CN109147324B (en) | Traffic jam probability forecasting method based on user feedback mechanism | |
CN107947206B (en) | Three-phase power distribution network multi-objective optimization method based on improved NSGA-II algorithm | |
CN104486248B (en) | The AQM system and method for stochastic earlytest algorithm based on Generalized PID | |
CN109586287B (en) | Voltage coordination control method and device based on improved adaptive model prediction control | |
Zhou et al. | Optimal dynamic risk control for insurers with state-dependent income | |
CN104063810B (en) | A kind of electricity consumption factor based on big data influences the construction method of model | |
CN106647261B (en) | A kind of fired power generating unit steam temperature algorithm of predictive functional control based on leading Disturbance Model | |
CN108537322A (en) | Neural network interlayer activation value quantization method and device | |
CN112183763A (en) | Gradient descent optimization method based on hybrid strategy | |
CN104407256B (en) | A kind of Electrical Power System Dynamic state updating method for handling measuring section time delay | |
Pandey | Optimization of PID controller parameters for speed control of DC motor using firefly and fminsearch algorithms | |
Ishimura et al. | On traveling wave solutions to a Hamilton–Jacobi–Bellman equation with inequality constraints |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160415 Address after: 310053, tax building, No. 3738 South Ring Road, Hangzhou, Zhejiang, Binjiang District Patentee after: Servyou Software Group Co., Ltd. Address before: 710049 Xianning West Road, Shaanxi, China, No. 28, No. Patentee before: Xi'an Jiaotong University |