JP2001022729A - Method for selecting prediction model - Google Patents

Method for selecting prediction model

Info

Publication number
JP2001022729A
JP2001022729A JP19592699A JP19592699A JP2001022729A JP 2001022729 A JP2001022729 A JP 2001022729A JP 19592699 A JP19592699 A JP 19592699A JP 19592699 A JP19592699 A JP 19592699A JP 2001022729 A JP2001022729 A JP 2001022729A
Authority
JP
Japan
Prior art keywords
prediction
period
prediction model
data
absolute error
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
JP19592699A
Other languages
Japanese (ja)
Inventor
Yoshio Yamazaki
義雄 山崎
Kazutaka Matsumoto
一孝 松本
Seiji Nakahara
清治 中原
Hideo Ikeda
英夫 池田
Yoshinori Nagasaki
美憲 長崎
Hiroshi Morota
浩志 師田
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.)
Hitachi Ltd
Hitachi Systems and Services Ltd
Original Assignee
Hitachi Ltd
Hitachi Systems and Services Ltd
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 Hitachi Ltd, Hitachi Systems and Services Ltd filed Critical Hitachi Ltd
Priority to JP19592699A priority Critical patent/JP2001022729A/en
Publication of JP2001022729A publication Critical patent/JP2001022729A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve prediction precision by eliminating an operation man-hour for selecting prediction models to be applied to respective conventional articles. SOLUTION: An optimum threshold determination part 5 actuates a prediction execution part 6, an absolute error rate calculation part 7, and an autocorrelation coefficient calculation part 8 to calculate prediction data of respective periods wherein prediction models A and B are applied as to time- series actual result data 11, calculate absolute error rates of the respective periods by the models, and calculate autocorrelation coefficients of the respective periods, and then select the models to be applied as to thresholds and decides as an optimum threshold the threshold value having the least mean of the absolute error rates for an object period. A prediction model selection part 9 selects a prediction model to be applied according to the autocorrelation coefficient and optimum threshold of a prediction period.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータを利
用する需要予測方法に係わり、特に過去の時系列実績デ
ータに基づいて複数の予測モデルの中から1つを選択し
て予測期の予測に適用する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a demand forecasting method using a computer, and more particularly to selecting one of a plurality of forecasting models based on past time-series actual data and applying the same to forecasting in a forecasting period. On how to do it.

【0002】[0002]

【従来の技術】商品を計画的に製造し保管し輸送する場
合、商品需要を高い精度で予測する必要が生じる。従来
需要予測のためにいくつかの予測モデルが利用されてき
た。代表的な予測モデルとして、季節性あるいは周期性
を考慮する予測モデルと、季節性あるいは周期性を考慮
しない予測モデルとに区分することができる。
2. Description of the Related Art When a product is manufactured, stored and transported in a planned manner, it is necessary to predict the demand for the product with high accuracy. Conventionally, several forecasting models have been used for demand forecasting. Representative prediction models can be classified into a prediction model that considers seasonality or periodicity, and a prediction model that does not consider seasonality or periodicity.

【0003】[0003]

【発明が解決しようとする課題】個々の商品の需要動向
には季節的な変動を示すものがある一方、ほとんど季節
性を示さない商品もある。そこで精度高い需要予測を行
うためには各商品についていずれの予測モデルを適用す
るかを判定しなければならない。従来は人間の判断によ
って予測モデルを選択していたため、扱う商品の種類が
多いと多大な作業工数を必要とした。そのため一度季節
性の傾向がみられた商品について、その後季節性が失わ
れても同一の予測モデルを適用し続けるため、予測精度
が低下する結果となった。また逆に季節性を考慮しない
予測モデルを適用していた商品について、その後季節性
が現われても同一の予測モデルを適用し続けるため、同
様に予測精度が低下する結果となった。
While demand trends of individual products show seasonal fluctuations, some products show little seasonality. Therefore, in order to perform demand forecast with high accuracy, it is necessary to determine which forecast model is applied to each product. Conventionally, a prediction model is selected based on human judgment, so that a large number of types of products to be handled requires a large number of man-hours. Therefore, for products that once had a seasonality tendency, the same prediction model is continued to be applied even if the seasonality is lost, resulting in a decrease in prediction accuracy. Conversely, for products that applied a prediction model that did not consider seasonality, the same prediction model was continued to be applied even if seasonality appeared later, resulting in a similar decrease in prediction accuracy.

【0004】本発明の目的は、上記の問題点を解決する
ことにあり、自動的に予測モデルを選択する方法を提供
することにある。
An object of the present invention is to solve the above problems, and to provide a method of automatically selecting a prediction model.

【0005】[0005]

【課題を解決するための手段】本発明は、コンピュータ
を利用して過去の時系列実績データから予測期の予測デ
ータを算出する方法であり、実績データに周期性がある
場合に適用される第1の予測モデルと実績データの周期
性を否定する場合に適用される第2の予測モデルとのい
ずれか一方を選択して予測期の予測に適用する方法であ
って、(1)過去の複数期に亘る実績データについて第
1の予測モデル及び第2の予測モデルを適用した場合の
各期の予測データをそれぞれ算出し、(2)(1)の実
績データ及び予測データについてモデルごと、期ごとの
絶対誤差率を算出し、(3)(1)の各期について過去
の時系列実績データから自己相関係数を算出し、(4)
複数のしきい値を設定して各しきい値と(1)の各期の
自己相関係数との比較から適用するモデルを選択すると
ともに、選択したモデルを適用したときの上記絶対誤差
率を抽出し、(5)(4)の各しきい値について抽出し
た絶対誤差率を平均して複数期に亘る平均絶対誤差率を
算出し、(6)(5)の平均絶対誤差率が最小のしきい
値を最適しきい値として抽出し、(7)予測期について
過去の時系列実績データから自己相関係数を算出し、
(8)(7)の自己相関係数と(6)の最適しきい値と
の比較から予測期に適用する予測モデルを選択する予測
モデルの選択方法を特徴とする。
SUMMARY OF THE INVENTION The present invention is a method for calculating prediction data in a prediction period from past time-series actual data using a computer, and is a method applied when the actual data has periodicity. A method of selecting one of the first prediction model and the second prediction model applied when the periodicity of the actual data is denied, and applying the selected prediction model to the prediction of the prediction period. For the actual data over the period, the prediction data of each period when the first prediction model and the second prediction model are applied are calculated. (2) The actual data and the prediction data of (1) are calculated for each model and for each period. And (3) calculate the autocorrelation coefficient from the past time-series actual data for each period of (1), and (4)
A plurality of thresholds are set, and a model to be applied is selected based on a comparison between each threshold and the autocorrelation coefficient of each period in (1), and the absolute error rate when the selected model is applied is calculated. The absolute error rates extracted for each threshold value of (5) and (4) are averaged to calculate an average absolute error rate over a plurality of periods, and the average absolute error rates of (6) and (5) are minimum. The threshold is extracted as the optimal threshold, and (7) the autocorrelation coefficient is calculated from the past time-series actual data for the prediction period,
(8) A method of selecting a prediction model to select a prediction model to be applied to the prediction period based on a comparison between the autocorrelation coefficient of (7) and the optimum threshold value of (6).

【0006】[0006]

【発明の実施の形態】以下、本発明の一実施形態につい
て図面を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0007】図1は、本実施形態のコンピュータの構成
を示す図である。コンピュータは、処理装置1と、この
処理装置1に接続される記憶装置とから構成され、記憶
装置は時系列実績データ11と予測データ12とを格納
する。時系列実績データ11は商品ごとに時系列に配列
された過去の需要実績データである。予測データ12は
商品ごとに次の期について予測モデルによつて予測され
たデータである。
FIG. 1 is a diagram showing a configuration of a computer according to the present embodiment. The computer includes a processing device 1 and a storage device connected to the processing device 1, and the storage device stores time-series actual data 11 and prediction data 12. The time series performance data 11 is past demand performance data arranged in time series for each product. The prediction data 12 is data predicted by the prediction model for the next period for each product.

【0008】処理装置1の主記憶装置には、予測モデル
A(2)、予測モデルB(3)及び予測モデル選択プロ
グラム4が格納され、処理装置1によって実行される。
予測モデルA(2)は、需要が周期性あるいは季節性を
もって変動するものとみなされる場合に適用される予測
モデルである。予測モデルB(3)は、需要が周期性あ
るいは季節性をもたない場合に適用される予測モデルで
ある。例えば予測モデルB(3)として、予測期の直近
の数期の実績データを加重平均した数値を予測データと
するような予測モデルがある。
The main memory of the processing device 1 stores a prediction model A (2), a prediction model B (3), and a prediction model selection program 4, and is executed by the processing device 1.
The prediction model A (2) is a prediction model applied when demand is considered to fluctuate periodically or seasonally. The prediction model B (3) is a prediction model applied when demand does not have periodicity or seasonality. For example, as the prediction model B (3), there is a prediction model in which a numerical value obtained by performing a weighted average of the actual data of several periods immediately before the prediction period is used as the prediction data.

【0009】予測モデル選択プログラム4は、最適しき
い値決定部5、予測実行部6、絶対誤差率算出部7、自
己相関係数算出部8及び予測モデル選択部9の各プログ
ラム手段を有する。最適しきい値決定部5は、指定され
た商品について時系列実績データ11を読み込み、予測
実行部6、絶対誤差率算出部7および自己相関係数算出
部8を起動して予測期についての最適のしきい値を算出
する。予測実行部6は実績データに予測モデルA(2)
または予測モデルB(3)を適用して予測データを算出
する。絶対誤差率算出部7は実績データがわかっている
期の予測データを計算したときの絶対誤差率を算出す
る。自己相関係数算出部8は、過去の実績データから予
測期の自己相関係数を算出する。予測モデル選択部9
は、算出された最適のしきい値と予測期の自己相関係数
から予測期に適用するための予測モデルA(2)または
予測モデルB(3)のいずれかを選択し起動して予測期
の予測データを算出し、その結果を予測データ12に保
存する。
The prediction model selection program 4 has respective program means of an optimum threshold value determination unit 5, a prediction execution unit 6, an absolute error rate calculation unit 7, an autocorrelation coefficient calculation unit 8, and a prediction model selection unit 9. The optimum threshold value determination unit 5 reads the time-series actual data 11 for the specified product, activates the prediction execution unit 6, the absolute error rate calculation unit 7, and the autocorrelation coefficient calculation unit 8 to optimize the prediction period. Is calculated. The prediction execution unit 6 adds the prediction model A (2) to the actual data.
Alternatively, prediction data is calculated by applying the prediction model B (3). The absolute error rate calculation unit 7 calculates an absolute error rate when predictive data in a period in which actual data is known is calculated. The autocorrelation coefficient calculation unit 8 calculates an autocorrelation coefficient in a prediction period from past actual data. Prediction model selector 9
Selects and activates either the prediction model A (2) or the prediction model B (3) to be applied to the prediction period from the calculated optimal threshold value and the autocorrelation coefficient of the prediction period, Is calculated, and the result is stored in the prediction data 12.

【0010】図2は、時系列実績データ11のデータ構
成を示す図である。時系列実績データ11は、商品コー
ドで示される商品ごとに設けられ、複数の期に亘ってそ
の商品の需要実績データを格納する。この例では第1期
から第29期までの各期の実績データが得られているも
のとし、もし実績データに周期性あるいは季節性がある
とすればその周期は12期であるとみなしている。第2
5期から第29期までは最適しきい値を求めるときの対
象とする予測の期間ともなる。
FIG. 2 is a diagram showing a data structure of the time-series performance data 11. The time-series performance data 11 is provided for each product indicated by the product code, and stores demand performance data of the product over a plurality of periods. In this example, it is assumed that the actual data of each period from the first period to the 29th period has been obtained, and if the actual data has periodicity or seasonality, the cycle is regarded as the 12th period. . Second
From the fifth period to the 29th period, it is also a prediction period to be obtained when obtaining the optimum threshold value.

【0011】図3は、最適しきい値を計算する予測モデ
ル選択プログラム4の処理の流れを示すフローチャート
である。最適しきい値決定部5は、時系列実績データ1
1から指定された商品の実績データを読み込む(ステッ
プ21)。次に予測実行部6を起動し、第25期から第
29期までの各期について予測モデルA(2)を適用し
て予測データを算出する(ステップ22)。すなわち第
1期から第24期までの実績データを用いて第25期の
予測データを算出し、第2期から第25期までの実績デ
ータを用いて第26期の予測データを算出し、・・・の
ように各期の予測データを算出する。次に予測実行部6
を起動し、第25期から第29期までの各期について予
測モデルB(3)を適用して予測データを算出する(ス
テップ23)。すなわち第24期までの数期の実績デー
タを用いて第25期の予測データを算出し、第25期ま
での数期の実績データを用いて第26期の予測データを
算出し、・・・のように各期の予測データを算出する。
次に絶対誤差率算出部7を起動し、第25期から第29
期までの各期について予測モデルA(2)を適用した場
合の絶対誤差率を算出する(ステップ24)。絶対誤差
率は、|実績データ−予測データ|/実績データによっ
て計算される。次に絶対誤差率算出部7を起動し、第2
5期から第29期までの各期について予測モデルB
(3)を適用した場合の絶対誤差率を算出する(ステッ
プ25)。次に自己相関係数算出部8を起動し、第25
期から第29期までの各期について自己相関係数を算出
する(ステップ26)。すなわち第1期から第12期ま
でと、第13期から第24期までの実績データを用いて
第25期の自己相関係数を算出し、第2期から第13期
までと、第14期から第25期までの実績データを用い
て第26期の自己相関係数を算出し、・・・のように各
期の自己相関係数を算出する。
FIG. 3 is a flowchart showing the flow of the processing of the prediction model selection program 4 for calculating the optimum threshold value. The optimal threshold value determining unit 5 calculates the time-series actual data 1
The result data of the designated product is read from 1 (step 21). Next, the prediction execution unit 6 is started, and the prediction data is calculated by applying the prediction model A (2) for each period from the 25th period to the 29th period (step 22). That is, the forecast data of the 25th term is calculated using the actual data from the first term to the 24th term, and the forecast data of the 26th term is calculated using the actual data from the second term to the 25th term.・ Calculate the forecast data for each period as shown in. Next, the prediction execution unit 6
Is started, and the prediction data is calculated by applying the prediction model B (3) for each period from the 25th period to the 29th period (step 23). That is, the forecast data of the 25th term is calculated using the actual data of the several terms up to the 24th term, the predicted data of the 26th term is calculated using the actual data of the several terms until the 25th term, and so on. The prediction data for each period is calculated as shown in the above.
Next, the absolute error rate calculation unit 7 is started, and from the 25th period to the 29th period.
The absolute error rate when the prediction model A (2) is applied to each period up to the period is calculated (step 24). The absolute error rate is calculated by | actual data−predicted data | / actual data. Next, the absolute error rate calculation unit 7 is started, and the second
Forecast model B for each period from the 5th period to the 29th period
The absolute error rate when (3) is applied is calculated (step 25). Next, the autocorrelation coefficient calculation unit 8 is activated, and the 25th
An autocorrelation coefficient is calculated for each period from the period to the 29th period (step 26). That is, the autocorrelation coefficient for the 25th term is calculated using the actual data from the first term to the twelfth term and from the thirteenth term to the twenty-fourth term, and from the second term to the thirteenth term, , The autocorrelation coefficient for the 26th period is calculated using the actual data from the 25th period to the 25th period, and the autocorrelation coefficient for each period is calculated as in.

【0012】次に最適しきい値決定部5は、しきい値の
初期値(下限値)を設定する(ステップ27)。試行す
るしきい値の範囲は0〜1であり、例えば初期値0.
1、きざみ0.1、上限値0.9、または初期値0.
2、きざみ0.01、上限値0.99などのパラメータ
の設定が可能である。次に現在のしきい値が設定されて
いる上限値を越えたか否かを判定する(ステップ2
8)。越えていなければ、第25期から第29期までの
各期について予測モデルを選択する(ステップ29)。
すなわちその期の自己相関係数>現在のしきい値であれ
ば予測モデルA(2)を選択し、予測モデルA(2)を
適用した場合の絶対誤差率を採用する。逆にその期の自
己相関係数≦現在のしきい値であれば予測モデルB
(3)を選択し、予測モデルB(3)を適用した場合の
絶対誤差率を採用する。次に最適しきい値決定部5は、
対象期間について平均絶対誤差率を計算する(ステップ
30)。すなわち第25期から第29期までの各期につ
いて、採用した絶対誤差率を5期について平均して平均
絶対誤差率を計算する。次に現在のしきい値をきざみ分
だけインクレメントし(ステップ31)、ステップ28
に戻る。現在のしきい値が上限値を越えたとき(ステッ
プ28YES)、最適しきい値を算出する(ステップ3
2)。平均絶対誤差率が最小となるしきい値が最適しき
い値である。
Next, the optimum threshold value determining section 5 sets an initial value (lower limit value) of the threshold value (step 27). The range of the threshold value to be tried is 0 to 1, for example, the initial value is 0.1.
1, increment 0.1, upper limit 0.9, or initial value 0.
2. Parameters such as step size 0.01 and upper limit value 0.99 can be set. Next, it is determined whether or not the current threshold value has exceeded the set upper limit value (step 2).
8). If not, a prediction model is selected for each period from the 25th period to the 29th period (step 29).
That is, if the autocorrelation coefficient of the period> the current threshold value, the prediction model A (2) is selected, and the absolute error rate when the prediction model A (2) is applied is adopted. Conversely, if the autocorrelation coefficient of the period ≦ the current threshold value, the prediction model B
(3) is selected, and the absolute error rate when the prediction model B (3) is applied is adopted. Next, the optimal threshold value determining unit 5
An average absolute error rate is calculated for the target period (step 30). That is, for each period from the 25th period to the 29th period, the average absolute error rate is calculated by averaging the adopted absolute error rates for the 5th period. Next, the current threshold value is incremented by increments (step 31), and step 28 is executed.
Return to When the current threshold value exceeds the upper limit value (step 28 YES), an optimum threshold value is calculated (step 3).
2). The threshold at which the average absolute error rate is minimized is the optimal threshold.

【0013】図4は、算出した最適しきい値を用いて予
測期の予測データを算出する予測モデル選択プログラム
4の処理の流れを示すフローチャートである。予測モデ
ル選択部9は、自己相関係数算出部8を起動して第30
期の自己相関係数を算出する(ステップ41)。すなわ
ち第6期から第17期までと、第18期から第29期ま
での実績データを用いて第30期の自己相関係数を算出
する。次に予測モデル選択部9は、ステップ41で算出
された自己相関係数とステップ32で算出された最適し
きい値とを比較し、自己相関係数>最適しきい値か否か
判定する(ステップ42)。自己相関係数>最適しきい
値であれば、予測実行部6を起動し予測モデルA(2)
を適用して第30期の予測データを算出する(ステップ
43)。自己相関係数≦最適しきい値であれば、予測実
行部6を起動し、予測モデルB(3)を適用して第30
期の予測データを算出する(ステップ44)。最後に算
出された当該商品の第30期の予測結果を予測データ1
2に保存する(ステップ45)。
FIG. 4 is a flowchart showing the flow of processing of the prediction model selection program 4 for calculating prediction data in the prediction period using the calculated optimum threshold value. The prediction model selection unit 9 starts the autocorrelation coefficient calculation unit 8 and
The autocorrelation coefficient of the period is calculated (step 41). That is, the autocorrelation coefficient for the 30th term is calculated using the actual data from the 6th term to the 17th term and from the 18th term to the 29th term. Next, the prediction model selection unit 9 compares the autocorrelation coefficient calculated in step 41 with the optimum threshold calculated in step 32, and determines whether or not autocorrelation coefficient> optimum threshold (step S32). Step 42). If the autocorrelation coefficient> the optimum threshold, the prediction execution unit 6 is started and the prediction model A (2)
Is applied to calculate the prediction data of the 30th term (step 43). If the autocorrelation coefficient ≦ the optimal threshold, the prediction execution unit 6 is started, and the prediction model B (3) is
The period prediction data is calculated (step 44). Finally, the prediction result of the 30th term of the product calculated is referred to as prediction data 1
2 (step 45).

【0014】図5は、最適しきい値を算出するまでの計
算の途中データ例を示す図である。第1期から第24期
までの各期の実績データ及び第25期から第29期まで
の各期の実績データが与えられたとき、第25期から第
29期までの各期について、予測モデルA(2)による
予測結果、予測モデルB(3)による予測結果、予測モ
デルA(2)の場合の絶対誤差率、予測モデルB(3)
の場合の絶対誤差率および自己相関係数を算出すること
ができる。しきい値の初期値0.1、きざみ0.1、上
限値1.0に設定し、各しきい値について各期の予測モ
デルを選択し、その絶対誤差率を抽出した上で、そのし
きい値についての平均絶対誤差率を計算する。平均絶対
誤差率が最小となるしきい値が最適しきい値であり、こ
の例では0.7が最適しきい値となる。
FIG. 5 is a diagram showing an example of data during the calculation up to the calculation of the optimum threshold value. Given the actual data of each period from the 1st to the 24th period and the actual data of each period from the 25th to the 29th period, a prediction model for each period from the 25th to the 29th period A (2) prediction result, prediction model B (3) prediction result, absolute error rate in the case of prediction model A (2), prediction model B (3)
In this case, the absolute error rate and the autocorrelation coefficient can be calculated. The threshold is set to an initial value of 0.1, a step of 0.1, and an upper limit of 1.0, a prediction model of each period is selected for each threshold, and the absolute error rate is extracted. Calculate the average absolute error rate for the threshold. The threshold at which the average absolute error rate is minimum is the optimal threshold, and in this example, 0.7 is the optimal threshold.

【0015】絶対誤差率は各期の予測精度を示す数値で
あり、平均絶対誤差率は対象期間についての予測精度を
示す数値である。上記実施形態は、対象期間について予
測精度が最良であったところのしきい値を最適しきい値
とみなして予測期に適用すれば、結果として予測モデル
Aが選択されるか予測モデルBが選択されるかに関わら
ず、最良の予測データが得られるであろうという前提に
基づいている。対象期間を複数の期から構成する期間と
するのは、一時的に良い予測精度を示す期を避け、複数
期に亘って安定して良い予測精度を示すところのしきい
値を求めるためである。
The absolute error rate is a numerical value indicating the prediction accuracy for each period, and the average absolute error ratio is a numerical value indicating the prediction accuracy for the target period. In the above embodiment, if the threshold value at which the prediction accuracy was the best for the target period is regarded as the optimal threshold value and is applied to the prediction period, as a result, the prediction model A or the prediction model B is selected. Regardless of whether it is done, it is based on the assumption that the best forecast data will be obtained. The reason that the target period is a period composed of a plurality of periods is to avoid a period that temporarily shows good prediction accuracy and to calculate a threshold value that shows stable prediction accuracy over a plurality of periods. .

【0016】[0016]

【発明の効果】以上述べたように本発明によれば、過去
の時系列実績データから自動的に予測モデルを選択でき
るので、個々の商品について人手で予測モデルを選択す
るときの作業工数が解消されるとともに、需要予測の予
測精度を向上させることができる。
As described above, according to the present invention, a prediction model can be automatically selected from past time-series actual data, so that the number of man-hours for manually selecting a prediction model for each product is eliminated. In addition, the prediction accuracy of the demand prediction can be improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施形態のコンピュータの構成を示す図であ
る。
FIG. 1 is a diagram illustrating a configuration of a computer according to an embodiment.

【図2】実施形態の時系列実績データ11のデータ構成
を示す図である。
FIG. 2 is a diagram illustrating a data configuration of time-series result data 11 according to the embodiment.

【図3】実施形態の最適しきい値を計算する処理の流れ
を示すフローチャートである。
FIG. 3 is a flowchart illustrating a flow of a process of calculating an optimum threshold according to the embodiment.

【図4】実施形態の最適しきい値を用いて予測データを
算出する処理の流れを示すフローチャートである。
FIG. 4 is a flowchart illustrating a flow of a process of calculating prediction data using an optimal threshold according to the embodiment.

【図5】最適しきい値を算出するまでの計算途中データ
の例を示す図である。
FIG. 5 is a diagram illustrating an example of data in the middle of calculation until an optimum threshold value is calculated.

【符号の説明】[Explanation of symbols]

2:予測モデルA、3:予測モデルB、4:予測モデル
選択プログラム、5:最適しきい値決定部、6:予測実
行部、7:絶対誤差率算出部、8:自己相関係数算出
部、9:予測モデル選択部、11:時系列実績データ、
12:予測データ
2: prediction model A, 3: prediction model B, 4: prediction model selection program, 5: optimum threshold value determination unit, 6: prediction execution unit, 7: absolute error rate calculation unit, 8: autocorrelation coefficient calculation unit , 9: prediction model selection unit, 11: time-series actual data,
12: Predicted data

───────────────────────────────────────────────────── フロントページの続き (72)発明者 松本 一孝 神奈川県川崎市幸区鹿島田890番地 株式 会社日立製作所情報システム事業部内 (72)発明者 中原 清治 東京都大田区大森北三丁目2番16号 日立 システムエンジニアリング株式会社内 (72)発明者 池田 英夫 東京都大田区大森北三丁目2番16号 日立 システムエンジニアリング株式会社内 (72)発明者 長崎 美憲 東京都大田区大森北三丁目2番16号 日立 システムエンジニアリング株式会社内 (72)発明者 師田 浩志 東京都大田区大森北三丁目2番16号 日立 システムエンジニアリング株式会社内 Fターム(参考) 5B049 AA02 CC11 EE01 EE31  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kazutaka Matsumoto 890 Kashimada, Saiwai-ku, Kawasaki-shi, Kanagawa Prefecture, Japan Information Systems Division, Hitachi, Ltd. (72) Inventor Seiji Nakahara 3-2-1-16 Omorikita Ota-ku, Tokyo Inside System Engineering Co., Ltd. (72) Inventor Hideo Ikeda 3-2-1-16 Omorikita, Ota-ku, Tokyo Hitachi System Engineering Co., Ltd. (72) Miyoshi Nagasaki 3-2-1-16 Omorikita, Ota-ku, Tokyo Hitachi System Engineering Incorporated (72) Inventor Hiroshi Morita 3-2-1-16 Omorikita, Ota-ku, Tokyo F-term in Hitachi System Engineering Co., Ltd. 5B049 AA02 CC11 EE01 EE31

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】コンピュータを利用して過去の時系列実績
データから予測期の予測データを算出する方法であり、
該実績データに周期性がある場合に適用される第1の予
測モデルと該実績データの周期性を否定する場合に適用
される第2の予測モデルとのいずれか一方を選択して該
予測期の予測に適用する方法であって、(1)過去の複
数期に亘る実績データについて第1の予測モデル及び第
2の予測モデルを適用した場合の各期の予測データをそ
れぞれ算出し、(2)(1)の実績データ及び予測デー
タについてモデルごと、期ごとの絶対誤差率を算出し、
(3)(1)の各期について過去の時系列実績データか
ら自己相関係数を算出し、(4)複数のしきい値を設定
して各しきい値と(1)の各期の自己相関係数との比較
から適用するモデルを選択するとともに、選択したモデ
ルを適用したときの該絶対誤差率を抽出し、(5)
(4)の各しきい値について抽出した絶対誤差率を平均
して複数期に亘る平均絶対誤差率を算出し、(6)
(5)の平均絶対誤差率が最小のしきい値を最適しきい
値として抽出し、(7)該予測期について過去の時系列
実績データから自己相関係数を算出し、(8)(7)の
自己相関係数と(6)の最適しきい値との比較から該予
測期に適用する予測モデルを選択することを特徴とする
予測モデルの選択方法。
1. A method of calculating prediction data of a prediction period from past time-series actual data using a computer,
One of a first prediction model applied when the actual data has periodicity and a second prediction model applied when the periodicity of the actual data is denied is selected and the prediction period is selected. (1) calculating the prediction data of each period when the first prediction model and the second prediction model are applied to the actual data over a plurality of periods in the past, and (2) ) Calculate the absolute error rate for each model and period for the actual data and forecast data of (1),
(3) The autocorrelation coefficient is calculated from the past time-series actual data for each period of (1), (4) a plurality of thresholds are set, and the thresholds and the self of each period of (1) are set. Selecting a model to be applied from a comparison with the correlation coefficient, extracting the absolute error rate when the selected model is applied, (5)
The absolute error rates extracted for each of the threshold values in (4) are averaged to calculate an average absolute error rate over a plurality of periods, and (6)
(5) The threshold with the smallest average absolute error rate is extracted as the optimal threshold, (7) The autocorrelation coefficient is calculated from the past time-series actual data for the prediction period, and (8) (7) A method for selecting a prediction model to be applied to the prediction period based on a comparison between the autocorrelation coefficient of (1) and the optimum threshold value of (6).
JP19592699A 1999-07-09 1999-07-09 Method for selecting prediction model Pending JP2001022729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19592699A JP2001022729A (en) 1999-07-09 1999-07-09 Method for selecting prediction model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19592699A JP2001022729A (en) 1999-07-09 1999-07-09 Method for selecting prediction model

Publications (1)

Publication Number Publication Date
JP2001022729A true JP2001022729A (en) 2001-01-26

Family

ID=16349285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19592699A Pending JP2001022729A (en) 1999-07-09 1999-07-09 Method for selecting prediction model

Country Status (1)

Country Link
JP (1) JP2001022729A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1292063A1 (en) * 2001-04-16 2003-03-12 Matsushita Electric Industrial Co., Ltd. Frame synchronization apparatus and frame synchronization method
US7236940B2 (en) * 2001-05-16 2007-06-26 Perot Systems Corporation Method and system for assessing and planning business operations utilizing rule-based statistical modeling
JP2009129159A (en) * 2007-11-22 2009-06-11 Hitachi Ltd Time series prediction system
US7822621B1 (en) 2001-05-16 2010-10-26 Perot Systems Corporation Method of and system for populating knowledge bases using rule based systems and object-oriented software
US7831442B1 (en) 2001-05-16 2010-11-09 Perot Systems Corporation System and method for minimizing edits for medical insurance claims processing
US8473260B2 (en) 2007-09-27 2013-06-25 Fujitsu Limited Model creation support system, model creation support method, and model creation support program
WO2014003001A1 (en) * 2012-06-27 2014-01-03 ヤンマー株式会社 Prediction device, prediction method, and computer programme
WO2014002974A1 (en) * 2012-06-27 2014-01-03 ヤンマー株式会社 Prediction device, prediction method, and computer programme
JP2015072544A (en) * 2013-10-02 2015-04-16 元雄 日下部 Risk analysis device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1292063A1 (en) * 2001-04-16 2003-03-12 Matsushita Electric Industrial Co., Ltd. Frame synchronization apparatus and frame synchronization method
EP1292063A4 (en) * 2001-04-16 2006-08-02 Matsushita Electric Ind Co Ltd Frame synchronization apparatus and frame synchronization method
US7236940B2 (en) * 2001-05-16 2007-06-26 Perot Systems Corporation Method and system for assessing and planning business operations utilizing rule-based statistical modeling
US7822621B1 (en) 2001-05-16 2010-10-26 Perot Systems Corporation Method of and system for populating knowledge bases using rule based systems and object-oriented software
US7831442B1 (en) 2001-05-16 2010-11-09 Perot Systems Corporation System and method for minimizing edits for medical insurance claims processing
US8473260B2 (en) 2007-09-27 2013-06-25 Fujitsu Limited Model creation support system, model creation support method, and model creation support program
JP2009129159A (en) * 2007-11-22 2009-06-11 Hitachi Ltd Time series prediction system
WO2014003001A1 (en) * 2012-06-27 2014-01-03 ヤンマー株式会社 Prediction device, prediction method, and computer programme
WO2014002974A1 (en) * 2012-06-27 2014-01-03 ヤンマー株式会社 Prediction device, prediction method, and computer programme
JP2015072544A (en) * 2013-10-02 2015-04-16 元雄 日下部 Risk analysis device

Similar Documents

Publication Publication Date Title
JP2720910B2 (en) Apparatus and method for managing workload of a data processing system
US7778715B2 (en) Methods and systems for a prediction model
US20070214261A1 (en) Analysis method and apparatus
CN113032157B (en) Automatic intelligent server capacity expansion and reduction method and system
JP2001022729A (en) Method for selecting prediction model
CN109885469A (en) A kind of expansion method, prediction model creation method, device, equipment and medium
Tash et al. Control strategies for a stochastic planner
JP4910804B2 (en) Business process estimation program, business process estimation method, and business process estimation apparatus
CN111752691B (en) Method, device, equipment and storage medium for sorting AI (advanced technology attachment) calculation graphs
CN116955455B (en) Processing method and platform suitable for radiation monitoring system
JP3828112B2 (en) Scheduling method and system for controlling execution of processing
CN106682414A (en) Method and device for establishing timing sequence prediction model
CN116866095A (en) Industrial router with touch panel and standby control method thereof
US6604200B2 (en) System and method for managing processing
CN115480867A (en) Method and device for estimating time consumed by thermal migration and computer equipment
JPH09146915A (en) Chaos time-series short-period predicting device
CN114881242B (en) Image description method and system based on deep learning, medium and electronic equipment
JP2000032667A (en) Out-of-step prediction system the power system
CN114866563A (en) Capacity expansion method, device, system and storage medium
CN112925793B (en) Distributed hybrid storage method and system for multiple structural data
CN114065947B (en) Data access speculation method and device, storage medium and electronic equipment
CN114640675B (en) Unloading strategy determining method and device, electronic equipment and storage medium
CN114518849B (en) Data storage method and device and electronic equipment
KR101211817B1 (en) Apparatus and method for scheduling task period
CN108227901B (en) Disk power consumption state switching method based on sporadic request

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050907

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050907

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060926