JP4339769B2 - Prediction model selection device, prediction model selection method, and program - Google Patents

Prediction model selection device, prediction model selection method, and program Download PDF

Info

Publication number
JP4339769B2
JP4339769B2 JP2004272521A JP2004272521A JP4339769B2 JP 4339769 B2 JP4339769 B2 JP 4339769B2 JP 2004272521 A JP2004272521 A JP 2004272521A JP 2004272521 A JP2004272521 A JP 2004272521A JP 4339769 B2 JP4339769 B2 JP 4339769B2
Authority
JP
Japan
Prior art keywords
prediction
cycle
amount
prediction model
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2004272521A
Other languages
Japanese (ja)
Other versions
JP2006085646A (en
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.)
Canon IT Solutions Inc
Original Assignee
Canon IT Solutions Inc
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 Canon IT Solutions Inc filed Critical Canon IT Solutions Inc
Priority to JP2004272521A priority Critical patent/JP4339769B2/en
Publication of JP2006085646A publication Critical patent/JP2006085646A/en
Application granted granted Critical
Publication of JP4339769B2 publication Critical patent/JP4339769B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の予測モデルから一つの予測モデルを選択する予測モデル選択装置及び予測モデル選択方法並びにプログラムに関する。   The present invention relates to a prediction model selection device, a prediction model selection method, and a program for selecting one prediction model from a plurality of prediction models.

商品の在庫管理方式の一つとして、商品の在庫量が発注点在庫を切ったときに一定の量を発注する発注点方式の在庫管理方式が知られている。「発注点在庫」とは、過去の需要実績値に基づいて予測された当該商品の調達期間内の需要予測値に安全在庫量を加えた在庫量のことである。   As one of the inventory management systems for merchandise, there is known an inventory management system of an ordering point system in which a certain amount is ordered when the inventory amount of the merchandise cuts the ordering point inventory. The “order point inventory” is a stock quantity obtained by adding a safety stock quantity to a demand forecast value within a procurement period of the product predicted based on a past demand actual value.

一般に、適切な需要予測が可能な場合には、需要予測値と需要実績値との予測誤差のバラツキの方が需要実績値自体のバラツキよりも小さくなるため、より少ない安全在庫量で同様の欠品率が実現できることが知られている(例えば、特許文献1参照。)。例えば、需要のぶれを吸収するための安全在庫量の計算方法として、式(1)に示すような予測誤差のバラツキ度合いを用いる。尚、式(1)において、iは需要予測等を行った過去の各時点を示している。   In general, when appropriate demand forecasting is possible, the variation in the forecast error between the demand forecast value and the actual demand value is smaller than the variation in the actual demand value itself. It is known that the product rate can be realized (for example, see Patent Document 1). For example, as a method of calculating a safety stock amount for absorbing fluctuations in demand, a degree of variation in prediction error as shown in Expression (1) is used. In Expression (1), i indicates each past time point when the demand prediction or the like is performed.

Figure 0004339769
Figure 0004339769

ここで、「安全係数」とは、許容可能な欠品率によって決定されるものであり、安全係数が大きいほど欠品確率は小さくなる。また、「調達期間」とは、発注してから商品が届くまでの期間のことである。尚、調達期間の単位としては、需要予測の予測単位期間(需要予測周期)を用いる。例えば、需要予測を日次で行う場合は日、週次で行う場合は週、また月次で行う場合は月が単位となる。   Here, the “safety factor” is determined by the allowable shortage rate. The larger the safety factor, the smaller the shortage probability. In addition, the “procurement period” is a period from when an order is placed until the product arrives. As a unit of the procurement period, a forecast unit period (demand forecast cycle) of demand forecast is used. For example, when the demand forecast is performed daily, the unit is a day, when the demand forecast is performed weekly, the week is used, and when it is performed monthly, the unit is the month.

しかし、未来の予測誤差のバラツキ度合いは未知であるため、一般には、過去の予測誤差のバラツキ度合いと未来の予測誤差のバラツキ度合いとが同様であるという仮定に従って、過去の予測誤差のバラツキ度合いが用いられている。また、予測誤差のバラツキ度合いが小さいほど安全在庫量が小さくなり、在庫量も少なく抑えることができるため、できるだけ予測誤差のバラツキを小さくする必要がある。そこで、予測誤差のバラツキができるだけ小さい予測モデルを選択することが、在庫量削減のための大きな課題となっている。   However, since the degree of variation in future prediction errors is unknown, in general, the degree of variation in past prediction errors depends on the assumption that the degree of variation in past prediction errors is the same as the degree of variation in future prediction errors. It is used. In addition, the smaller the degree of prediction error variation, the smaller the safety stock amount and the smaller the stock amount. Therefore, it is necessary to reduce the variation in prediction error as much as possible. Therefore, selecting a prediction model with the smallest possible variation in prediction error is a major issue for reducing inventory.

一方、予測精度を評価する際の指標(評価値)として、一般的には、過去の予測誤差の標準偏差や二乗誤差平均が用いられることが多い。そこで、複数の予測モデルから一つの予測モデルを選択する際の指標としても、過去の予測誤差の標準偏差や二乗誤差平均を用いることが妥当である。   On the other hand, as an index (evaluation value) at the time of evaluating the prediction accuracy, generally, a standard deviation of a past prediction error or a mean square error is often used. Therefore, it is appropriate to use the standard deviation of the past prediction error or the mean square error as an index when selecting one prediction model from a plurality of prediction models.

例えば、過去の実績値を参照して予測する際に得られる予測理論値と実績値との誤差に基づいて一定期間の評価値を算出し、評価値が最も良いモデルを採用する方法が考えられている(特許文献1参照)。当該方法では、評価値として、分散又は標準偏差が採用されている。   For example, a method is considered in which an evaluation value for a certain period is calculated based on an error between a predicted theoretical value and an actual value obtained by making a prediction with reference to a past actual value, and a model with the best evaluation value is adopted. (See Patent Document 1). In this method, variance or standard deviation is adopted as the evaluation value.

また、予測理論値ではなく、データベースに格納されている過去の予測量と実績量から予測誤差を算出し、一定期間の予測誤差から評価値を算出して、当該評価値が最も良い予測モデルを選択する方法もある(例えば、特許文献2参照。)。当該方法では、二乗誤差平均が評価値として採用されている。
特開2000−250888号公報 特開2001−014295号公報
Also, calculate the prediction error from the past prediction amount and the actual amount stored in the database instead of the prediction theoretical value, calculate the evaluation value from the prediction error for a certain period, and select the prediction model with the best evaluation value. There is also a method of selecting (see, for example, Patent Document 2). In this method, the mean square error is adopted as the evaluation value.
JP 2000-250888 A JP 2001-014295 A

しかしながら、上記特許文献1に記載の方法では、予測理論値と実績値との誤差の標準偏差を指標としており、過去の予測量を評価している訳ではない。すなわち、特許文献1に記載の方法は、過去の予測量を取得する作業の煩わしさを抑えるために、過去の予測量に近い予測理論値を代用するというものである。しかし、予測理論値はあくまでも予測量の代用であるため、予測理論値の誤差の標準偏差が最小であっても、必ずしも過去の予測誤差が最小になるとは限らない。従って、選択されていない他の予測モデルの方が過去の予測誤差のバラツキ度合いが小さい可能性があり、必ずしも最適な予測モデルが選択されないという問題があった。   However, in the method described in Patent Document 1, the standard deviation of the error between the predicted theoretical value and the actual value is used as an index, and the past predicted amount is not evaluated. That is, the method described in Patent Document 1 substitutes a prediction theoretical value close to the past prediction amount in order to suppress the troublesome work of obtaining the past prediction amount. However, since the predicted theoretical value is merely a substitute for the predicted amount, the past predicted error is not necessarily minimized even if the standard deviation of the predicted theoretical value error is the smallest. Therefore, there is a possibility that other prediction models that have not been selected have a smaller degree of variation in past prediction errors, and there has been a problem that an optimal prediction model is not necessarily selected.

また、上記特許文献2に記載の方法は、過去の予測誤差に基づいて評価値を算出している。しかし、例えば、7月の予測量として、6月までの実績をもとに予測した予測量、5月までの実績をもとに予測した予測量、4月までの実績をもとに予測した予測量と、同じサイクル(例えば、同月)の予測量であってもいつの時点で予測したかによって複数種の予測量が考えられ得る。上記の場合であれば、通常は、直近である6月までの実績をもとに予測した7月の予測量を使用する。しかし、実績参照終了サイクルの2サイクル先の発注点在庫量における安全在庫量を求める際には、直近の1サイクル先ではなく、2サイクル先の予測量の精度が良い方が望ましい場合もある。   Further, the method described in Patent Document 2 calculates an evaluation value based on past prediction errors. However, for example, as the forecast amount for July, the forecast amount predicted based on the results until June, the forecast amount predicted based on the results until May, and the forecast amount based on the results until April A plurality of types of prediction amounts can be considered depending on when the prediction amount and the prediction amount of the same cycle (for example, the same month) are predicted. If it is said case, normally, the prediction amount of July estimated based on the performance until the nearest June is used. However, when obtaining the safety stock quantity in the order point inventory quantity two cycles ahead of the result reference end cycle, it may be desirable that the accuracy of the predicted quantity in the two cycles ahead is better than the one cycle ahead.

つまり、必ずしも1サイクル先が対象ではなく、2サイクル以降の予測量の精度が良い予測モデルを選択したい場合等のニーズも多い。しかし、特許文献2に記載の方法では、2サイクル先の予測量の誤差は全く考慮していないという問題がある。   That is, there is a great need for selecting a prediction model that does not necessarily target one cycle ahead and that has a high prediction amount accuracy after two cycles. However, the method described in Patent Document 2 has a problem that it does not take into account the error in the predicted amount two cycles ahead.

一方、在庫管理において、予測誤差のバラツキ度合いは、サイクル単位に設定される。例えば、調達期間が1サイクルより大きいNサイクルの場合における累積予測誤差のバラツキ度合いは、√N×(1サイクルの予測誤差のバラツキ度合い)となる。この仮定は、予測誤差が正規分布に従うという前提から導出されているが、実際は様々な外因(ノイズ)が含まれる。そのため、予測誤差の分布は正規分布にはならず、Nサイクルの累積予測誤差のバラツキ度合いは√N×(1サイクルの予測誤差のバラツキ度合い)ではないことが多く、適切な安全在庫が設定できずに過剰在庫や欠品の可能性が高くなっていた。   On the other hand, in inventory management, the degree of variation in prediction error is set on a cycle basis. For example, when the procurement period is N cycles longer than one cycle, the degree of variation in accumulated prediction error is √N × (degree of variation in prediction error for one cycle). This assumption is derived from the assumption that the prediction error follows a normal distribution, but actually includes various external factors (noise). For this reason, the distribution of the prediction error is not a normal distribution, and the variation degree of the cumulative prediction error of N cycles is often not √N × (the degree of variation of the prediction error of one cycle), and an appropriate safety stock can be set. The possibility of excess inventory and shortage was increasing.

従って、調達期間が単サイクルでない場合、1サイクルの予測誤差の評価値を指標として用いて良いのかどうかという問題があった。特に、定期発注方式における発注量の算出の際には2サイクル以上の予測量が必要となるため、複数サイクルの予測誤差のバラツキ度合いが必須となる。   Therefore, when the procurement period is not a single cycle, there is a problem whether or not the evaluation value of the prediction error of one cycle may be used as an index. In particular, when calculating the order quantity in the regular order system, a predicted quantity of two cycles or more is required, and therefore, the degree of variation in prediction errors of a plurality of cycles is essential.

これに対して、特許文献1に記載の方法では、予測理論値を用いることから単サイクルの予測誤差しか評価できず、累積予測誤差の評価は全く考慮されていない。また、特許文献2に記載の方法では、複数サイクルの累積予測誤差の評価に関しては全く触れられていない。   On the other hand, in the method described in Patent Document 1, since a prediction theoretical value is used, only a single cycle prediction error can be evaluated, and the evaluation of the cumulative prediction error is not considered at all. In addition, the method described in Patent Document 2 does not mention at all the evaluation of the cumulative prediction error of a plurality of cycles.

本発明は、このような事情を考慮してなされたものであり、在庫管理における納入リードタイム等を考慮して、単一又は複数サイクルの予測精度を適切に評価して、複数の予測モデルから一つの予測モデルを好適に選択することができる予測モデル選択装置及び予測モデル選択方法並びにプログラムを提供することを目的とする。   The present invention has been made in consideration of such circumstances, and in consideration of the delivery lead time in inventory management, etc., by appropriately evaluating the prediction accuracy of a single or a plurality of cycles, from a plurality of prediction models. An object of the present invention is to provide a prediction model selection device, a prediction model selection method, and a program capable of suitably selecting one prediction model.

上記課題を解決するために、本発明による予測モデル選択装置は以下の構成を備える。即ち、
複数の予測モデルから一の予測モデルを選択する予測モデル選択装置であって、
アイテムの需要の実績量を記憶装置に記憶する第一の記憶手段と、
過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶手段と、
前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定手段と、
前記サイクル設定手段により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出手段と、
前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出手段と、
前記予測モデルの評価を行う評価期間を設定する評価期間設定手段と、
前記評価期間設定手段により設定された前記評価期間における前記複数の予測モデル各々の予測誤差として前記予測誤差算出手段で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式によって算出する評価値算出手段と、
前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択手段と
を備えることを特徴とする。
In order to solve the above problems, a prediction model selection device according to the present invention comprises the following arrangement. That is,
A prediction model selection device that selects one prediction model from a plurality of prediction models,
First storage means for storing the actual amount of demand for the item in the storage device;
As a prediction in a plurality of future cycles at a past time point, a predicted amount of demand for the item calculated from an actual amount of demand for the item using each of the plurality of prediction models is stored in the storage device for each prediction model. Second storage means for storing
Cycle setting means for setting, for each item, a setting value for determining an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device When,
Determining means for determining the accumulation target start cycle and the accumulation target end cycle according to a set value corresponding to an item for which the prediction model is selected, set by the cycle setting means;
As the predicted amount of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination means, the demand of the item calculated using each of a plurality of prediction models First calculation means for acquiring a predicted amount from the storage device and calculating a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts for each of the plurality of prediction models;
The actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination unit is acquired from the storage device, and the total of the acquired actual amounts Calculating a cumulative performance amount of the actual amount in the cumulative period,
A prediction error calculating means for calculating a prediction error of each item of each of the plurality of prediction models by taking a difference between the cumulative performance amount of the actual amount and the cumulative prediction amount of the prediction amount by each of the plurality of prediction models ; ,
Evaluation period setting means for setting an evaluation period for evaluating the prediction model;
Based on the prediction error calculated by the prediction error calculation means as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation period setting means, the evaluation value of each prediction model in the evaluation period is calculated. An evaluation value calculating means for calculating by an evaluation formula,
And a prediction model selection unit that selects the prediction model having the best evaluation value from the plurality of prediction models for each item.

また、好ましくは、前記評価値算出手段は、前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとることで前記予測誤差として算出した累積誤差量の二乗誤差平均を前記評価値として算出し、前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する。 Preferably, the evaluation value calculating unit is configured such that the prediction error calculating unit takes a difference between the accumulated predicted amount of the predicted amount and the accumulated actual amount of the actual amount of each cycle included in the accumulated period. calculating a mean square error of the accumulated error amount calculated as a prediction error as the evaluation value, the prediction model selection means selects one of the prediction model in which the evaluation value is minimized.

さらに、好ましくは、前記評価値算出手段は、前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとることで算出した累積誤差量を前記予測量の累積予測量で割ることで、前記予測誤差として算出した累積誤差率の二乗誤差平均を前記評価値として算出し、前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する。 Further preferably, the evaluation value calculation means is calculated by the prediction error calculation means taking a difference between the accumulated predicted amount of the predicted amount and the accumulated actual amount of the actual amount of each cycle included in the accumulation period. by dividing the accumulated amount of error and the cumulative predicted amount of the predictors, the mean square error of the accumulated error rate calculated as the prediction error calculated by said evaluation value, the prediction model selection means, the evaluation value Select one prediction model that minimizes.

前記評価値算出手段は、前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとること前記予測誤差として算出した累積誤差量の標準偏差を前記評価値として算出し、前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する。 The evaluation value calculating means, the prediction error calculating means, calculated as the prediction error by taking the difference between the accumulated actual amount of the actual amount and the cumulative predicted amount of the predicted amount of each cycle included in the cumulative period calculating a standard deviation of the accumulated error amount as the evaluation value, the prediction model selection means selects one of the prediction model which the evaluation value is minimized.

さらにまた、好ましくは、前記サイクル設定手段は、前記累積対象開始サイクルまたは前記累積対象終了サイクルの少なくともいずれか1つを、実績参照終了サイクルから何サイクル前のサイクルであるかを示す数値データとして設定することを特徴とする。 Still further preferably, the cycle setting means sets at least one of the accumulation target start cycle or the accumulation target end cycle as numerical data indicating the number of cycles before the actual reference end cycle. characterized in that it.

さらにまた、好ましくは、前記サイクル設定手段は、前記累積対象開始サイクルと前記累積対象終了サイクルを同一サイクルとして設定することを許容することを特徴とする。   Still preferably, the cycle setting means allows the accumulation target start cycle and the accumulation target end cycle to be set as the same cycle.

さらにまた、上記課題を解決するために、本発明による予測モデル選択方法は以下の構成を備える。即ち、
複数の予測モデルから一の予測モデルを選択する予測モデル選択装置における予測モデル選択方法であって、
前記予測モデル選択装置の第一の記憶手段が、アイテムの需要の実績量を記憶装置に記憶する第一の記憶工程と、
前記予測モデル選択装置の第二の記憶手段が、過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶工程と、
前記予測モデル選択装置のサイクル設定手段が、前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定工程と、
前記予測モデル選択装置の決定手段が、前記サイクル設定工程により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定工程と、
前記予測モデル選択装置の第一の算出手段が、前記決定工程により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出工程と、
前記予測モデル選択装置の第二の算出手段が、前記決定工程により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出工程と、
前記予測モデル選択装置の予測誤差算出手段が、前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出工程と、
前記予測モデル選択装置の評価期間設定手段が、前記予測モデルの評価を行う評価期間を設定する評価期間設定工程と、
前記予測モデル選択装置の評価値算出手段が前記評価期間設定工程において設定された前記評価期間における前記複数の予測モデル各々の予測誤差として、前記予測誤差算出工程で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式により算出する評価値算出工程と、
前記予測モデル選択装置の予測モデル選択手段が、前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択工程と
を備えることを特徴とする。
Furthermore, in order to solve the above problems, the prediction model selection method according to the present invention comprises the following arrangement. That is,
A prediction model selection method in a prediction model selection device that selects one prediction model from a plurality of prediction models,
A first storage step in which the first storage means of the prediction model selection device stores the actual amount of demand for the item in the storage device;
The second storage means of the prediction model selection device uses the demand of the item calculated from the actual amount of demand of the item using each of the plurality of prediction models as prediction in a plurality of future cycles at a past time point. A second storage step of storing the predicted amount in the storage device for each prediction model;
A setting value for the cycle setting means of the prediction model selection device to determine an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device , A cycle setting step for setting for each item,
A determination step in which the determination unit of the prediction model selection device determines the accumulation target start cycle and the accumulation target end cycle according to setting values corresponding to an item for which the prediction model is selected, which is set in the cycle setting step. When,
The first calculation means of the prediction model selection device includes a plurality of predictions as prediction amounts of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination step. A predicted amount of demand for the item calculated using each model is acquired from the storage device, and a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts is calculated for each of the plurality of predicted models. A calculation process;
The second calculation means of the prediction model selection device calculates the actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination step. A second calculation step of calculating a cumulative actual amount of the actual amount in the cumulative period by acquiring from the storage device and calculating the total of the acquired actual amount;
The prediction error calculation means of the prediction model selection device takes the difference between the accumulated actual amount of the actual amount and the accumulated predicted amount of the predicted amount by each of the plurality of prediction models, so that the each of the plurality of prediction models A prediction error calculation step of calculating an item prediction error;
An evaluation period setting step in which the evaluation period setting means of the prediction model selection device sets an evaluation period for evaluating the prediction model;
Based on the prediction error calculated in the prediction error calculation step, as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation value calculation means of the prediction model selection device in the evaluation period setting step, An evaluation value calculating step of calculating an evaluation value of each of the prediction models in the evaluation period by an evaluation arithmetic expression;
A prediction model selection unit of the prediction model selection device includes a prediction model selection step of selecting, for each item, a prediction model having the best evaluation value from the plurality of prediction models.

さらにまた、上記の目的を達成するための本発明によるコンピュータプログラムは以下の構成を備える。即ち、
コンピュータを、複数の予測モデルから一の予測モデルを選択する予測モデル選択装置として機能させるためのコンピュータプログラムであって、
前記コンピュータを、
アイテムの需要の実績量を記憶装置に記憶する第一の記憶手段と、
過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶手段と、
前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定手段と、
前記サイクル設定手段により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出手段と、
前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出手段と、
前記予測モデルの評価を行う評価期間を設定する評価期間設定手段と、
前記評価期間設定手段により設定された前記評価期間における前記複数の予測モデル各々の予測誤差として前記予測誤差算出手段で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式により算出する評価値算出手段と、
前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択手段と
を備える予測モデル選択装置として機能させる。
Furthermore, a computer program according to the present invention for achieving the above object comprises the following arrangement. That is,
A computer program for causing a computer to function as a prediction model selection device that selects one prediction model from a plurality of prediction models,
The computer,
First storage means for storing the actual amount of demand for the item in the storage device;
As a prediction in a plurality of future cycles at a past time point, a predicted amount of demand for the item calculated from an actual amount of demand for the item using each of the plurality of prediction models is stored in the storage device for each prediction model. Second storage means for storing
Cycle setting means for setting, for each item, a setting value for determining an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device When,
Determining means for determining the accumulation target start cycle and the accumulation target end cycle according to a set value corresponding to an item for which the prediction model is selected, set by the cycle setting means;
As the predicted amount of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination means, the demand of the item calculated using each of a plurality of prediction models First calculation means for acquiring a predicted amount from the storage device and calculating a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts for each of the plurality of prediction models;
The actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination unit is acquired from the storage device, and the total of the acquired actual amounts Calculating a cumulative performance amount of the actual amount in the cumulative period,
A prediction error calculating means for calculating a prediction error of each item of each of the plurality of prediction models by taking a difference between the cumulative performance amount of the actual amount and the cumulative prediction amount of the prediction amount by each of the plurality of prediction models; ,
Evaluation period setting means for setting an evaluation period for evaluating the prediction model;
Based on the prediction error calculated by the prediction error calculation means as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation period setting means, the evaluation value of each prediction model in the evaluation period is calculated. An evaluation value calculating means for calculating by an evaluation formula,
For each item, a prediction model selection device including: a prediction model selection unit that selects the prediction model having the best evaluation value from the plurality of prediction models is caused to function.

本発明によれば、在庫管理における納入リードタイム等を考慮して、単一又は複数サイクルの予測精度を適切に評価して、複数の予測モデルから一つの予測モデルを好適に選択することができる。   According to the present invention, it is possible to appropriately select one prediction model from a plurality of prediction models by appropriately evaluating the prediction accuracy of a single or a plurality of cycles in consideration of a delivery lead time in inventory management. .

以下、図面を参照して、本発明の一実施形態に係る予測モデル選択装置及びその選択動作の詳細について説明する。尚、以下の実施形態では、評価サイクルを「月」とする。   Hereinafter, with reference to drawings, the prediction model selection device concerning the embodiment of the present invention and the details of the selection operation are explained. In the following embodiment, the evaluation cycle is “month”.

図1は、本発明の一実施形態に係る予測モデル選択装置の構成図である。図1に示すように、本実施形態に係る予測モデル選択装置は、データベース100と、評価用パラメータ設定部110と、予測結果評価値算出部120と、予測モデル選択部130とを備える。   FIG. 1 is a configuration diagram of a prediction model selection device according to an embodiment of the present invention. As illustrated in FIG. 1, the prediction model selection device according to the present embodiment includes a database 100, an evaluation parameter setting unit 110, a prediction result evaluation value calculation unit 120, and a prediction model selection unit 130.

データベース(DB)100には、アイテムマスタ101、評価用パラメータDB102、予測モデル情報DB103、需要実績DB104、及び予測結果DB105が備わっている。アイテムマスタ101には、商品等ごとに許容欠品率や調達期間等が記憶されている。評価用パラメータDB102には、累積対象開始サイクル、累積対象終了サイクル、評価期間、評価方法などの評価用パラメータが格納されている。予測モデル情報DB103には、本予測モデル選択装置で予測可能な様々な予測モデル(例えば、変動あり移動平均、変動あり指数平滑、変動なしウィンターズ等)が記憶されている。需要実績DB104には、過去の商品別・期間別の需要実績値が蓄積されている。予測結果DB105には、各予測モデルの過去の需要予測結果データが蓄積されている。   The database (DB) 100 includes an item master 101, an evaluation parameter DB 102, a prediction model information DB 103, a demand result DB 104, and a prediction result DB 105. The item master 101 stores an allowable shortage rate, a procurement period, and the like for each product. The evaluation parameter DB 102 stores evaluation parameters such as an accumulation target start cycle, an accumulation target end cycle, an evaluation period, and an evaluation method. The prediction model information DB 103 stores various prediction models that can be predicted by the prediction model selection device (for example, moving average with variation, exponential smoothing with variation, winters without variation, etc.). In the demand record DB 104, the past record of demand record by product and period is accumulated. In the prediction result DB 105, past demand prediction result data of each prediction model is accumulated.

評価用パラメータ設定部110は、評価用パラメータDB102に格納されている累積対象開始サイクル、累積対象終了サイクル、評価期間、評価方法などを設定する。予測結果評価値算出部120は、評価用パラメータ設定部110で設定された累積対象サイクル、評価対象期間について複数の予測モデルに対してそれぞれ評価値を算出する。予測モデル選択部130は、予測結果評価値算出部120で算出した評価値に基づいて、最適な予測モデルを選択する。   The evaluation parameter setting unit 110 sets the accumulation target start cycle, the accumulation target end cycle, the evaluation period, the evaluation method, and the like stored in the evaluation parameter DB 102. The prediction result evaluation value calculation unit 120 calculates an evaluation value for each of a plurality of prediction models for the accumulation target cycle and the evaluation target period set by the evaluation parameter setting unit 110. The prediction model selection unit 130 selects an optimal prediction model based on the evaluation value calculated by the prediction result evaluation value calculation unit 120.

図15は、本発明の一実施形態に係る予測モデル選択装置を実現する情報処理装置(コンピュータ)の細部構成を示すブロック図である。図15において、CPU201は、システムバス212に接続された各デバイスを統括的に制御する。また、RAM202は、CPU201の主メモリ、ワークエリア、一時退避領域等として機能する。さらに、ROM203は、ブートプログラムが記憶されている。   FIG. 15 is a block diagram showing a detailed configuration of an information processing apparatus (computer) that realizes a prediction model selection apparatus according to an embodiment of the present invention. In FIG. 15, the CPU 201 comprehensively controls each device connected to the system bus 212. The RAM 202 functions as a main memory, work area, temporary save area, and the like for the CPU 201. Further, the ROM 203 stores a boot program.

入力制御部204は、キーボードやマウス等のポインティングデバイスで実現される入力部205からの入力を制御する。また、表示制御部206は、CRTモニタや液晶モニタ等で実現される表示部207による表示を制御する。さらに、外部メモリ制御部208は、CPU201の制御プログラムであるオペレーションシステム(OS)や、本予測モデル選択装置の各種機能を実現するためのプログラムや上記各種データベース(DB)、各種ファイル等、各種アプリケーション、各種マスタファイル、ユーザファイル等の各種データを記憶する外部メモリ209へのアクセスを制御する。   The input control unit 204 controls input from the input unit 205 realized by a pointing device such as a keyboard or a mouse. The display control unit 206 controls display by the display unit 207 realized by a CRT monitor, a liquid crystal monitor, or the like. Furthermore, the external memory control unit 208 includes various applications such as an operation system (OS) that is a control program of the CPU 201, programs for realizing various functions of the prediction model selection device, the various databases (DB), various files, and the like. Controls access to the external memory 209 that stores various data such as various master files and user files.

外部メモリ209には、さらに本予測データ選択装置の各種機能を実現するための各種テーブル等が記憶されている。尚、外部メモリ209としては、ハードディスク(HD)やフレキシブルディスク(FD)、PCMCIAカードスロットにアダプタを介して接続可能なコンパクトフラッシュ(登録商標)やスマートメディア等が挙げられる。本実施形態における処理は、CPU201により外部メモリ209に記録されているプログラムが必要に応じてRAM202にロードされ、当該プログラムによる制御に基づき、CPU201によって実行される。   The external memory 209 further stores various tables for realizing various functions of the prediction data selection device. Examples of the external memory 209 include a hard disk (HD), a flexible disk (FD), a compact flash (registered trademark) that can be connected to a PCMCIA card slot via an adapter, smart media, and the like. In the processing in this embodiment, a program recorded in the external memory 209 by the CPU 201 is loaded into the RAM 202 as necessary, and is executed by the CPU 201 based on control by the program.

また、通信I/F制御部210は、LANやインターネット等のネットワーク211を介して外部機器との通信制御処理を実行する。   In addition, the communication I / F control unit 210 executes communication control processing with an external device via a network 211 such as a LAN or the Internet.

図2は、需要実績DB104に蓄積されている需要実績データ(時系列データ)の一例を示す図である。図2には、ある商品の2001年1月から2004年3月までの各月ごとの需要実績値が示されている。また、図3は、図2に示す需要実績データ(時系列データ)を折れ線グラフで表示した図である。図2及び図3に示すように、本実施形態では特定月に出庫量が大幅に落ち込むとともに、その他の月については特別な傾向がないような需要実績の商品を例に挙げる。   FIG. 2 is a diagram illustrating an example of demand record data (time series data) stored in the demand record DB 104. FIG. 2 shows actual demand values for each product from January 2001 to March 2004. FIG. 3 is a diagram showing the actual demand data (time series data) shown in FIG. 2 as a line graph. As shown in FIG. 2 and FIG. 3, in the present embodiment, an example of a product with a demand record that causes a significant drop in the amount of goods delivered in a specific month and no special tendency in other months is given as an example.

また、図4は、予測結果DB105に蓄積されている過去の需要予測結果データの一例を示す図である。また、図5は、図4に示す過去の需要予測結果データの予測経緯を説明するためのイメージ図である。図4及び図5に示すように、実績参照終了月が2003年9月となっている予測結果は2003年9月までの実績データに基づいて、2003年10月〜2004年1月の4か月間の予測を実行した結果が示されている。図4及び図5に示すように、同じ商品コードで同じ出庫予定月であっても、実績参照終了サイクルが異なるデータがあることがわかる。   FIG. 4 is a diagram illustrating an example of past demand prediction result data accumulated in the prediction result DB 105. FIG. 5 is an image diagram for explaining the prediction history of the past demand prediction result data shown in FIG. As shown in FIG. 4 and FIG. 5, the prediction result in which the result reference end month is September 2003 is four prediction results from October 2003 to January 2004 based on the result data until September 2003. The result of the monthly forecast is shown. As shown in FIGS. 4 and 5, it can be seen that there are data with different performance reference end cycles even with the same product code and the same scheduled delivery month.

図6は、実績参照期間と予測期間との関係の一例を説明するための図である。図6では、例えば、2003年10月〜2004年1月までの予測期間に対して、2001年10月〜2003年9月までの24ヶ月の実績参照期間を用いている。同様に、2003年11月〜2004年2月までの予測期間に対して、2001年11月〜2003年10月までの24ヶ月の実績参照期間を用いている。このように、図6に示す例では、予測するタイミングにより実績参照期間が異なり、1サイクルずつ右にずれていく様子が分かる。そのため、同じ出庫予定であっても、実績参照終了サイクルが異なれば、予測量が異なる場合があると言える。 FIG. 6 is a diagram for explaining an example of the relationship between the result reference period and the prediction period. In FIG. 6, for example, an actual reference period of 24 months from October 2001 to September 2003 is used for a prediction period from October 2003 to January 2004. Similarly, a performance reference period of 24 months from November 2001 to October 2003 is used for the forecast period from November 2003 to February 2004. In this way, in the example shown in FIG. 6, it can be seen that the result reference period differs depending on the timing to be predicted and is shifted to the right by one cycle. Therefore, even if it is the same scheduled delivery month , it can be said that the predicted amount may be different if the result reference end cycle is different.

図7は、本発明の一実施形態に係る予測モデル選択装置の動作手順の一例を説明するためのフローチャートである。まず、累積対象予測量のサイクル(本実施形態では、月)を指すパラメータα1、α2を設定する(ステップS701)。ここで、α1は累積対象開始サイクルを示し、α2は累積対象終了サイクルを示す。そして、設定されたα1及びα2に関して、実績参照終了サイクル+α1のサイクルから実績参照終了サイクル+α2のサイクルまでの累積予測誤差を評価対象の1つとすることを意味する。   FIG. 7 is a flowchart for explaining an example of the operation procedure of the prediction model selection device according to the embodiment of the present invention. First, parameters α1 and α2 indicating the cycle of the accumulation target prediction amount (in this embodiment, month) are set (step S701). Here, α1 indicates the accumulation target start cycle, and α2 indicates the accumulation target end cycle. For the set α1 and α2, this means that the cumulative prediction error from the cycle of the result reference end cycle + α1 to the cycle of the result reference end cycle + α2 is set as one of the evaluation targets.

図8は、ステップS701において累積対象サイクル、評価期間、評価方法などを設定するための画面の一例を示す図である。すなわち、図8に示す画面では、商品コード毎に評価期間801、累積対象開始サイクル802、累積対象終了サイクル803、評価方法804、対象モデル(登録モデル)805を設定することが可能である。   FIG. 8 is a diagram illustrating an example of a screen for setting an accumulation target cycle, an evaluation period, an evaluation method, and the like in step S701. That is, on the screen shown in FIG. 8, an evaluation period 801, an accumulation target start cycle 802, an accumulation target end cycle 803, an evaluation method 804, and a target model (registered model) 805 can be set for each product code.

評価期間801は、実績のある直近サイクルからの評価実施対象サイクルである。また、累積対象開始サイクル802は、実績参照終了サイクルからのサイクル連番に当たり、実績参照終了サイクルの累積対象開始サイクル802先のサイクルから累積対象終了サイクル803先までの累積予測量を評価対象であるということを指す。評価方法804は各予測実施時における各累積予測誤差、又は、累積予測誤差の関数値を評価値に変換する評価方法を指す。評価方法としては、例えば、予測誤差や予測誤差率の標準偏差や二乗誤差平均等がある。対象モデル805は、複数の予測モデルを設定する部分であり、設定された複数の予測モデルから一つの予測モデルが選択される。   The evaluation period 801 is an evaluation implementation target cycle from the latest cycle with a track record. Further, the accumulation target start cycle 802 corresponds to the cycle serial number from the result reference end cycle, and is an evaluation target for the accumulated predicted amount from the accumulation target start cycle 802 ahead of the result reference end cycle to the accumulation target end cycle 803 ahead. It means that. The evaluation method 804 indicates an evaluation method in which each cumulative prediction error at the time of performing each prediction or a function value of the cumulative prediction error is converted into an evaluation value. Examples of the evaluation method include a prediction error, a standard deviation of a prediction error rate, a square error average, and the like. The target model 805 is a part for setting a plurality of prediction models, and one prediction model is selected from the set prediction models.

次に、予測量を算出するための対象予測モデル群の1つ目の予測モデルを設定する(ステップS702)。尚、iは対象予測モデルの番号を指す。例えば、対象予測モデルが3つある場合は、その番号は順次1、2、3となる。次いで、累積予測量を算出する実績参照終了サイクルのカウンタ(i)を1に初期設定する(ステップS703)。   Next, the first prediction model of the target prediction model group for calculating the prediction amount is set (step S702). Note that i indicates the number of the target prediction model. For example, when there are three target prediction models, the numbers are 1, 2, and 3 sequentially. Subsequently, the counter (i) of the result reference end cycle for calculating the cumulative prediction amount is initialized to 1 (step S703).

その後、ステップS703で設定したiをもとに、累積予測量を算出する実績参照終了サイクルを確定する(ステップS704)。そして、指定した実績参照終了サイクルを持つ指定サイクルの予測量の累積予測量を求める(ステップS705)。   Thereafter, based on i set in step S703, an actual result reference end cycle for calculating the cumulative prediction amount is determined (step S704). Then, a cumulative prediction amount of the prediction amount of the designated cycle having the designated achievement reference end cycle is obtained (step S705).

図9は、ステップS705における累積予測量を算出する過程を説明するための図である。ここで、累積対象開始サイクルが1、累積対象終了サイクルが2として設定されているものとする。例えば、実績のある最新のサイクルである3月の2サイクル(Cサイクル)前に当たる1月が実績参照終了月となっている予測量のうち、累積対象開始サイクルα1である1サイクル目に当たる2月の予測量(3010)と累積対象終了サイクルα2である2サイクル目に当たる3月の予測量(3050)を取得し、2月と3月の2か月の合計を算出して6060とする。   FIG. 9 is a diagram for explaining the process of calculating the cumulative prediction amount in step S705. Here, it is assumed that the accumulation target start cycle is set to 1 and the accumulation target end cycle is set to 2. For example, in the predicted amount in which January, which is two cycles (C cycle) in March, which is the latest cycle with actual results, is the actual reference end month, February, which corresponds to the first cycle that is the accumulation target start cycle α1 The predicted amount (3010) of March and the predicted amount (3050) of March corresponding to the second cycle, which is the accumulation target end cycle α2, are acquired, and the sum of the two months of February and March is calculated to be 6060.

次に、ステップS705において求めた累積予測量と同じサイクル期間の実績累積量を求める(ステップS706)。図10は、ステップS706において過去の実績量から累積実績量を算出する過程を説明するための図である。図9に示すように、ステップS706では、過去の累積期間を1つずつずらして、実績量の累積量(累積実績量)を算出する。図9を用いて説明した同じ2か月間の実績量の合計を算出すると、6112となる。   Next, the actual cumulative amount in the same cycle period as the cumulative predicted amount obtained in step S705 is obtained (step S706). FIG. 10 is a diagram for explaining the process of calculating the cumulative actual amount from the past actual amount in step S706. As shown in FIG. 9, in step S706, the past cumulative period is shifted one by one to calculate the cumulative amount of the actual amount (cumulative actual amount). When the total of the actual results for the same two months described with reference to FIG. 9 is calculated, 6112 is obtained.

そして、ステップS705において求めた累積予測量とステップS706において求めた累積実績量とから累積予測誤差を求める(ステップS707)。すなわち、上述した2月と3月で比較した同じ期間の累積予測量と累積実績量との差は52となり、これを実績参照終了月が2003年1月の累積予測誤差とする。その後、次の実績参照終了サイクルのカウンタ(j+1)に基づいて算出される実績参照終了サイクルにおける予測誤差算出に移る(ステップS708)。すなわち、上記例の場合は、実績参照終了月をさらに1か月前とした2003年12月とし、同様に1月と2月の累積予測誤差を算出する。   Then, an accumulated prediction error is obtained from the accumulated predicted amount obtained in step S705 and the accumulated actual amount obtained in step S706 (step S707). That is, the difference between the cumulative predicted amount and the cumulative actual amount in the same period compared in February and March is 52, and this is the cumulative prediction error when the actual reference end month is January 2003. Thereafter, the process proceeds to calculation of a prediction error in the actual reference end cycle calculated based on the counter (j + 1) of the next actual reference end cycle (step S708). In other words, in the case of the above example, the cumulative reference error for January and February is calculated in the same manner as December 2003 when the actual reference end month is one month ago.

ここで、評価期間分のすべての予測誤差を算出していないか否かを判断する(ステップS709)。その結果、評価期間分のすべての予測誤差が算出されていない場合、すなわちjが評価期間以下の場合(Yes)はステップS704に戻って、上記処理を繰り返す。このように、上述した作業を評価期間値の回数分だけ繰り返すと、各実績参照終了月の累積予測誤差を算出することができる。図11は、図9と図10を用いて説明して算出された累積予測量と累積実績量との誤差である累積予測誤差を示す図である。   Here, it is determined whether or not all prediction errors for the evaluation period have been calculated (step S709). As a result, when all the prediction errors for the evaluation period have not been calculated, that is, when j is equal to or less than the evaluation period (Yes), the process returns to step S704 and the above process is repeated. As described above, when the above-described operation is repeated by the number of evaluation period values, the cumulative prediction error of each result reference end month can be calculated. FIG. 11 is a diagram illustrating a cumulative prediction error that is an error between the cumulative prediction amount calculated using FIGS. 9 and 10 and the cumulative actual amount.

一方、ステップS112において、評価期間分のすべての予測誤差が算出された場合、すなわちjが評価期間より大きい場合(No)はステップS710に移る。   On the other hand, when all the prediction errors for the evaluation period are calculated in step S112, that is, when j is larger than the evaluation period (No), the process proceeds to step S710.

ステップS710では、評価期間分の各累積予測誤差から評価値を算出する。例えば、図11に示すような累積予測誤差が得られた場合は、その各実績参照終了月の累積予測誤差から次式のようにして二乗誤差平均が得られる。   In step S710, an evaluation value is calculated from each accumulated prediction error for the evaluation period. For example, when the cumulative prediction error as shown in FIG. 11 is obtained, the mean square error is obtained from the cumulative prediction error of each actual reference end month as shown in the following equation.

Figure 0004339769
Figure 0004339769

そして、次の予測モデル(i+1)に移る(ステップS711)。ここで、次の予測モデルがあるか否か、すなわちすべての予測モデルの評価値を算出したか否かを判断する(ステップS712)。   Then, the process proceeds to the next prediction model (i + 1) (step S711). Here, it is determined whether or not there is a next prediction model, that is, whether or not evaluation values of all prediction models have been calculated (step S712).

その結果、すべての予測モデルについて算出してない場合は次の予測モデルがあると判断され(Yes)、ステップS703に戻って、次の予測モデルに対して上述した処理を行って評価値を算出する。一方、すべての予測モデルについて算出した場合は次の予測モデルがないと判断され(No)、算出された各予測モデルの評価値に基づいて、最も評価値が良い予測モデルを選択する(ステップS713)。 As a result, if not all the prediction models have been calculated, it is determined that there is a next prediction model (Yes), and the process returns to step S703 to perform the above-described processing on the next prediction model to calculate an evaluation value. To do. On the other hand, when all the prediction models are calculated, it is determined that there is no next prediction model (No), and the prediction model having the best evaluation value is selected based on the calculated evaluation value of each prediction model (step S7). 13 ).

図12は、図8に示した各対象予測モデルに対して算出された評価値の一覧を示す図である。図12に示された評価値のうち最も小さい「変動あり指数平滑」の予測モデルが本実施形態では選択されることとなる。   FIG. 12 is a diagram showing a list of evaluation values calculated for each target prediction model shown in FIG. In this embodiment, the smallest “exponential smoothing with fluctuation” prediction model is selected from the evaluation values shown in FIG.

図13は、ステップS705における累積予測量を算出する過程において、累積対象開始サイクルと累積対象終了サイクルとが同じ2サイクル目である場合の例を示す図である。累積対象開始サイクルと累積対象終了サイクルが同じ場合、対象となる1サイクルの予測量が評価対象となる。   FIG. 13 is a diagram illustrating an example when the accumulation target start cycle and the accumulation target end cycle are the same second cycle in the process of calculating the cumulative prediction amount in step S705. When the accumulation target start cycle and the accumulation target end cycle are the same, the prediction amount of one target cycle is the evaluation target.

図14は、図13に示す図において予測誤差の関数を「予測誤差÷予測量」として算出した場合の予測誤差の関数値を示す図である。この関数は予測量に対する予測誤差の割合であり、予測量に対してどのくらいの割合で予測が外れているかを示している。当該関数は、例えば、出庫量の変動の幅が大きく、予測のぶれ幅が出庫量の大きさに比例すると仮定できる場合に有効である。予測誤差の関数値の評価値は、次式のようにして算出することができる。   FIG. 14 is a diagram illustrating a prediction error function value when the prediction error function is calculated as “prediction error ÷ prediction amount” in the diagram illustrated in FIG. 13. This function is a ratio of the prediction error to the prediction amount, and indicates how much the prediction is deviated from the prediction amount. This function is effective, for example, when it is assumed that the fluctuation range of the outgoing quantity is large and that the predicted fluctuation width is proportional to the magnitude of the outgoing quantity. The evaluation value of the prediction error function value can be calculated as follows.

Figure 0004339769
Figure 0004339769

以上、評価方法として、予測誤差及び予測誤差率の二乗誤差平均を評価値とする場合について説明したが、前述の通り、予測誤差の評価方法として、例えば、予測誤差や予測誤差率の標準偏差等を用いることも勿論可能である。   As described above, the case where the prediction error and the mean square error of the prediction error rate are used as the evaluation value has been described as the evaluation method. As described above, as the prediction error evaluation method, for example, the prediction error, the standard deviation of the prediction error rate, etc. Of course, it is also possible to use.

以上、実施形態例を詳述したが、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体(記録媒体)等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although the embodiments have been described in detail above, the present invention can take embodiments as, for example, a system, an apparatus, a method, a program, or a storage medium (recording medium). The present invention may be applied to a system composed of a single device or an apparatus composed of a single device.

尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータが該供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。   In the present invention, a software program (in the embodiment, a program corresponding to the flowchart shown in the figure) that realizes the functions of the above-described embodiment is directly or remotely supplied to the system or apparatus, and the computer of the system or apparatus Is also achieved by reading and executing the supplied program code.

従って、本発明の機能処理をコンピュータで実現するために、該コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。   Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であっても良い。   In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。   As a recording medium for supplying the program, for example, floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card ROM, DVD (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、該ホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。   As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program of the present invention itself or a compressed file including an automatic installation function is downloaded from the homepage to a recording medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。   In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instruction of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of them and performing the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。   Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

本発明の一実施形態に係る予測モデル選択装置の構成図である。It is a block diagram of the prediction model selection apparatus which concerns on one Embodiment of this invention. 需要実績DB104に蓄積されている需要実績データ(時系列データ)の一例を示す図である。It is a figure which shows an example of the demand performance data (time series data) accumulate | stored in demand performance DB104. 図2に示す需要実績データ(時系列データ)を折れ線グラフで表示した図である。It is the figure which displayed the demand performance data (time series data) shown in FIG. 2 with the line graph. 予測結果DB105に蓄積されている過去の需要予測結果データの一例を示す図である。It is a figure which shows an example of the past demand prediction result data accumulate | stored in prediction result DB105. 図4に示す過去の需要予測結果データの予測経緯を説明するためのイメージ図である。It is an image figure for demonstrating the prediction history of the past demand prediction result data shown in FIG. 実績参照期間と予測期間との関係の一例を説明するための図である。It is a figure for demonstrating an example of the relationship between a performance reference period and a prediction period. 本発明の一実施形態に係る予測モデル選択装置の動作手順の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the operation | movement procedure of the prediction model selection apparatus which concerns on one Embodiment of this invention. ステップS701において累積対象サイクルなどの評価用パラメータを設定するための画面の一例を示す図である。It is a figure which shows an example of the screen for setting parameters for evaluation, such as an accumulation object cycle, in step S701. ステップS705における累積予測量を算出する過程を説明するための図である。It is a figure for demonstrating the process which calculates the accumulation estimated amount in step S705. ステップS706において過去の実績量から累積実績量を算出する過程を説明するための図である。It is a figure for demonstrating the process in which accumulated performance amount is calculated from past performance amount in step S706. 図9と図10を用いて説明して算出された累積予測量と累積実績量との誤差である累積予測誤差を示す図である。It is a figure which shows the cumulative prediction error which is the difference | error of the cumulative prediction amount calculated and demonstrated using FIG. 9 and FIG. 10, and a cumulative performance amount. 図8に示した各対象予測モデルに対して算出された評価値の一覧を示す図である。It is a figure which shows the list of the evaluation values calculated with respect to each object prediction model shown in FIG. ステップS705における累積予測量を算出する過程において、累積対象開始サイクルと累積対象終了サイクルとが同じ2サイクル目である場合の例を示す図である。It is a figure which shows the example in case the accumulation object start cycle and accumulation object end cycle are the same 2nd cycles in the process of calculating the accumulation prediction amount in step S705. 図13に示す図において予測誤差の関数を「予測誤差÷予測量」として算出した場合の予測誤差の関数値を示す図である。It is a figure which shows the function value of a prediction error at the time of calculating the function of a prediction error as "prediction error / prediction amount" in the figure shown in FIG. 本発明の一実施形態に係る予測モデル選択装置を実現する情報処理装置(コンピュータ)の細部構成を示すブロック図である。It is a block diagram which shows the detailed structure of the information processing apparatus (computer) which implement | achieves the prediction model selection apparatus which concerns on one Embodiment of this invention.

符号の説明Explanation of symbols

100 データベース(DB)
101 アイテムマスタ
102 評価用パラメータDB
103 予測モデル情報DB
104 需要実績DB
105 予測結果DB
110 評価用パラメータ設定部
120 予測結果評価値算出部
130 予測モデル選択部
100 database (DB)
101 Item master 102 Evaluation parameter DB
103 Prediction model information DB
104 Demand results DB
105 Prediction result DB
110 Evaluation Parameter Setting Unit 120 Prediction Result Evaluation Value Calculation Unit 130 Prediction Model Selection Unit

Claims (8)

複数の予測モデルから一の予測モデルを選択する予測モデル選択装置であって、
アイテムの需要の実績量を記憶装置に記憶する第一の記憶手段と、
過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶手段と、
前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定手段と、
前記サイクル設定手段により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出手段と、
前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出手段と、
前記予測モデルの評価を行う評価期間を設定する評価期間設定手段と、
前記評価期間設定手段により設定された前記評価期間における前記複数の予測モデル各々の予測誤差として前記予測誤差算出手段で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式によって算出する評価値算出手段と、
前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択手段と
を備えることを特徴とする予測モデル選択装置。
A prediction model selection device that selects one prediction model from a plurality of prediction models,
First storage means for storing the actual amount of demand for the item in the storage device;
As a prediction in a plurality of future cycles at a past time point, a predicted amount of demand for the item calculated from an actual amount of demand for the item using each of the plurality of prediction models is stored in the storage device for each prediction model. Second storage means for storing
Cycle setting means for setting, for each item, a setting value for determining an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device When,
Determining means for determining the accumulation target start cycle and the accumulation target end cycle according to a set value corresponding to an item for which the prediction model is selected, set by the cycle setting means;
As the predicted amount of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination means, the demand of the item calculated using each of a plurality of prediction models First calculation means for acquiring a predicted amount from the storage device and calculating a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts for each of the plurality of prediction models;
The actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination unit is acquired from the storage device, and the total of the acquired actual amounts Calculating a cumulative performance amount of the actual amount in the cumulative period,
A prediction error calculating means for calculating a prediction error of each item of each of the plurality of prediction models by taking a difference between the cumulative performance amount of the actual amount and the cumulative prediction amount of the prediction amount by each of the plurality of prediction models ; ,
Evaluation period setting means for setting an evaluation period for evaluating the prediction model;
Based on the prediction error calculated by the prediction error calculation means as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation period setting means, the evaluation value of each prediction model in the evaluation period is calculated. An evaluation value calculating means for calculating by an evaluation formula,
A prediction model selection device comprising: a prediction model selection unit that selects, for each item, a prediction model having the best evaluation value from the plurality of prediction models.
前記評価値算出手段は、
前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとることで前記予測誤差として算出した累積誤差量の二乗誤差平均を前記評価値として算出し、
前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する
ことを特徴とする請求項1に記載の予測モデル選択装置。
The evaluation value calculation means includes
A mean square error of the cumulative error amount calculated as the prediction error by the prediction error calculation means taking the difference between the cumulative prediction amount of the prediction amount and the cumulative actual amount of the actual amount of each cycle included in the cumulative period. calculated as the evaluation value,
The prediction model selection device according to claim 1, wherein the prediction model selection unit selects one prediction model that minimizes the evaluation value.
前記評価値算出手段は、
前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとることで算出した累積誤差量を前記予測量の累積予測量で割ることで、前記予測誤差として算出した累積誤差率の二乗誤差平均を前記評価値として算出し
前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する
ことを特徴とする請求項1に記載の予測モデル選択装置。
The evaluation value calculation means includes
The prediction error calculating means, the cumulative prediction of the predicted amount of accumulated error amount calculated by taking the difference between the accumulated actual amount of the actual amount and the cumulative predicted amount of the predicted amount of each cycle included in the cumulative period by dividing by the mean square error of the accumulated error rate calculated as the prediction error calculated by said evaluation value,
The prediction model selection device according to claim 1, wherein the prediction model selection unit selects one prediction model that minimizes the evaluation value.
前記評価値算出手段は、
前記予測誤差算出手段が、前記累積期間に含まれる各サイクルの前記予測量の累積予測量と前記実績量の累積実績量の差をとること前記予測誤差として算出した累積誤差量の標準偏差を前記評価値として算出し、
前記予測モデル選択手段は、前記評価値が最小となる一の予測モデルを選択する
ことを特徴とする請求項1に記載の予測モデル選択装置。
The evaluation value calculation means includes
The prediction error calculating means, the standard deviation of accumulated error amount calculated as the prediction error by taking the difference between the accumulated actual amount of the actual amount and the cumulative predicted amount of the predicted amount of each cycle included in the cumulative period calculated as the evaluation value,
The prediction model selection device according to claim 1, wherein the prediction model selection unit selects one prediction model that minimizes the evaluation value .
前記サイクル設定手段は、
前記累積対象開始サイクルまたは前記累積対象終了サイクルの少なくともいずれか1つを、実績参照終了サイクルから何サイクル前のサイクルであるかを示す数値データとして設定する
ことを特徴とする請求項1から4までのいずれか1項に記載の予測モデル選択装置。
The cycle setting means includes
5. At least one of the accumulation target start cycle and the accumulation target end cycle is set as numerical data indicating the number of cycles before the actual reference end cycle. The prediction model selection device according to any one of the above.
前記サイクル設定手段は、
前記累積対象開始サイクルと前記累積対象終了サイクルを同一サイクルとして設定することを許容する
ことを特徴とする請求項5に記載の予測モデル選択装置。
The cycle setting means includes
The prediction model selection device according to claim 5, wherein the accumulation target start cycle and the accumulation target end cycle are allowed to be set as the same cycle.
複数の予測モデルから一の予測モデルを選択する予測モデル選択装置における予測モデル選択方法であって、
前記予測モデル選択装置の第一の記憶手段が、アイテムの需要の実績量を記憶装置に記憶する第一の記憶工程と、
前記予測モデル選択装置の第二の記憶手段が、過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶工程と、
前記予測モデル選択装置のサイクル設定手段が、前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定工程と、
前記予測モデル選択装置の決定手段が、前記サイクル設定工程により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定工程と、
前記予測モデル選択装置の第一の算出手段が、前記決定工程により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出工程と、
前記予測モデル選択装置の第二の算出手段が、前記決定工程により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出工程と、
前記予測モデル選択装置の予測誤差算出手段が、前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出工程と、
前記予測モデル選択装置の評価期間設定手段が、前記予測モデルの評価を行う評価期間を設定する評価期間設定工程と、
前記予測モデル選択装置の評価値算出手段が前記評価期間設定工程において設定された前記評価期間における前記複数の予測モデル各々の予測誤差として、前記予測誤差算出工程で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式により算出する評価値算出工程と、
前記予測モデル選択装置の予測モデル選択手段が、前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択工程と
を備えることを特徴とする予測モデル選択方法。
A prediction model selection method in a prediction model selection device that selects one prediction model from a plurality of prediction models,
A first storage step in which the first storage means of the prediction model selection device stores the actual amount of demand for the item in the storage device;
The second storage means of the prediction model selection device uses the demand of the item calculated from the actual amount of demand of the item using each of the plurality of prediction models as prediction in a plurality of future cycles at a past time point. A second storage step of storing the predicted amount in the storage device for each prediction model;
A setting value for the cycle setting means of the prediction model selection device to determine an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device , A cycle setting step for setting for each item,
A determination step in which the determination unit of the prediction model selection device determines the accumulation target start cycle and the accumulation target end cycle according to setting values corresponding to an item for which the prediction model is selected, which is set in the cycle setting step. When,
The first calculation means of the prediction model selection device includes a plurality of predictions as prediction amounts of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination step. A predicted amount of demand for the item calculated using each model is acquired from the storage device, and a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts is calculated for each of the plurality of predicted models. A calculation process;
The second calculation means of the prediction model selection device calculates the actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination step. A second calculation step of calculating a cumulative actual amount of the actual amount in the cumulative period by acquiring from the storage device and calculating the total of the acquired actual amount;
The prediction error calculation means of the prediction model selection device takes the difference between the accumulated actual amount of the actual amount and the accumulated predicted amount of the predicted amount by each of the plurality of prediction models, so that the each of the plurality of prediction models A prediction error calculation step of calculating an item prediction error;
An evaluation period setting step in which the evaluation period setting means of the prediction model selection device sets an evaluation period for evaluating the prediction model;
Based on the prediction error calculated in the prediction error calculation step, as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation value calculation means of the prediction model selection device in the evaluation period setting step, An evaluation value calculating step of calculating an evaluation value of each of the prediction models in the evaluation period by an evaluation arithmetic expression;
A prediction model selection means of the prediction model selection device comprises: a prediction model selection step for selecting, for each item, a prediction model having the best evaluation value from the plurality of prediction models. Selection method.
コンピュータを、複数の予測モデルから一の予測モデルを選択する予測モデル選択装置として機能させるためのコンピュータプログラムであって、
前記コンピュータを、
アイテムの需要の実績量を記憶装置に記憶する第一の記憶手段と、
過去の時点における将来の複数のサイクルにおける予測として、前記複数の予測モデル各々を用いて前記アイテムの需要の実績量から算出された当該アイテムの需要の予測量を、前記予測モデル毎に前記記憶装置に記憶する第二の記憶手段と、
前記記憶装置に記憶された前記予測量の累積期間の開始サイクルを示す累積対象開始サイクルと終了サイクルを示す累積対象終了サイクルとを決定するための設定値を、前記アイテム毎に設定するサイクル設定手段と、
前記サイクル設定手段により設定された、前記予測モデルの選択を行うアイテムに対応する設定値に従って、前記累積対象開始サイクル及び前記累積対象終了サイクルを決定する決定手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルの予測量として、複数の予測モデル各々を用いて算出された前記アイテムの需要の予測量を前記記憶装置から取得し、該取得した予測量の合計を算出して得られる累積予測量を前記複数の予測モデル各々について算出する第一の算出手段と、
前記決定手段により決定された前記累積対象開始サイクル及び前記累積対象終了サイクルにより特定される累積期間に含まれる各サイクルにおける前記アイテムの実績量を前記記憶装置から取得し、該取得した実績量の合計を算出することで、前記累積期間における実績量の累積実績量を算出する第二の算出手段と、
前記実績量の累積実績量と、前記複数の予測モデル各々による予測量の累積予測量との差をとることにより、前記複数の予測モデル各々の前記アイテムの予測誤差を算出する予測誤差算出手段と、
前記予測モデルの評価を行う評価期間を設定する評価期間設定手段と、
前記評価期間設定手段により設定された前記評価期間における前記複数の予測モデル各々の予測誤差として前記予測誤差算出手段で算出された予測誤差に基づいて、前記評価期間における前記予測モデル各々の評価値を評価演算式により算出する評価値算出手段と、
前記アイテム毎に、前記複数の予測モデルから前記評価値が最も良い一の予測モデルを選択する予測モデル選択手段と
を備える予測モデル選択装置として機能させるためのコンピュータプログラム。
A computer program for causing a computer to function as a prediction model selection device that selects one prediction model from a plurality of prediction models,
The computer,
First storage means for storing the actual amount of demand for the item in the storage device;
As a prediction in a plurality of future cycles at a past time point, a predicted amount of demand for the item calculated from an actual amount of demand for the item using each of the plurality of prediction models is stored in the storage device for each prediction model. Second storage means for storing
Cycle setting means for setting, for each item, a setting value for determining an accumulation target start cycle indicating a start cycle and an accumulation target end cycle indicating an end cycle of the accumulation period of the prediction amount stored in the storage device When,
Determining means for determining the accumulation target start cycle and the accumulation target end cycle according to a set value corresponding to an item for which the prediction model is selected, set by the cycle setting means;
As the predicted amount of each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination means, the demand of the item calculated using each of a plurality of prediction models First calculation means for acquiring a predicted amount from the storage device and calculating a cumulative predicted amount obtained by calculating a total of the acquired predicted amounts for each of the plurality of prediction models;
The actual amount of the item in each cycle included in the accumulation period specified by the accumulation target start cycle and the accumulation target end cycle determined by the determination unit is acquired from the storage device, and the total of the acquired actual amounts Calculating a cumulative performance amount of the actual amount in the cumulative period,
A prediction error calculating means for calculating a prediction error of each item of each of the plurality of prediction models by taking a difference between the cumulative performance amount of the actual amount and the cumulative prediction amount of the prediction amount by each of the plurality of prediction models; ,
Evaluation period setting means for setting an evaluation period for evaluating the prediction model;
Based on the prediction error calculated by the prediction error calculation means as the prediction error of each of the plurality of prediction models in the evaluation period set by the evaluation period setting means, the evaluation value of each prediction model in the evaluation period is calculated. An evaluation value calculating means for calculating by an evaluation formula,
The computer program for functioning as a prediction model selection apparatus provided with the prediction model selection means which selects the one prediction model with the said best evaluation value from these prediction models for every said item.
JP2004272521A 2004-09-17 2004-09-17 Prediction model selection device, prediction model selection method, and program Active JP4339769B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004272521A JP4339769B2 (en) 2004-09-17 2004-09-17 Prediction model selection device, prediction model selection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004272521A JP4339769B2 (en) 2004-09-17 2004-09-17 Prediction model selection device, prediction model selection method, and program

Publications (2)

Publication Number Publication Date
JP2006085646A JP2006085646A (en) 2006-03-30
JP4339769B2 true JP4339769B2 (en) 2009-10-07

Family

ID=36164072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004272521A Active JP4339769B2 (en) 2004-09-17 2004-09-17 Prediction model selection device, prediction model selection method, and program

Country Status (1)

Country Link
JP (1) JP4339769B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11954566B2 (en) 2019-05-28 2024-04-09 Okuma Corporation Data collection system for machine learning and a method for collecting data

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4870468B2 (en) * 2006-04-25 2012-02-08 株式会社リコー Demand forecasting method and demand forecasting program
JP2012018436A (en) * 2010-07-06 2012-01-26 Start Co Ltd Personal property mortgage evaluation apparatus and mortgage evaluation program
JP6027229B2 (en) * 2013-04-11 2016-11-16 株式会社日立製作所 Plan creation system, plan creation method, and plan creation program
JP5698860B1 (en) * 2014-08-22 2015-04-08 株式会社アールファイブ Inventory management system, inventory management method, and program
JP6568488B2 (en) * 2016-02-23 2019-08-28 株式会社日立製作所 Calculator and calculation method of analysis index
JP6701979B2 (en) 2016-06-01 2020-05-27 富士通株式会社 Learning model difference providing program, learning model difference providing method, and learning model difference providing system
JP6820815B2 (en) * 2017-09-07 2021-01-27 株式会社日立製作所 Learning control system and learning control method
CN112801358A (en) * 2021-01-21 2021-05-14 上海东普信息科技有限公司 Component prediction method, device, equipment and storage medium based on model fusion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11954566B2 (en) 2019-05-28 2024-04-09 Okuma Corporation Data collection system for machine learning and a method for collecting data

Also Published As

Publication number Publication date
JP2006085646A (en) 2006-03-30

Similar Documents

Publication Publication Date Title
US6226561B1 (en) Production planning system
US20050131779A1 (en) Production scheduling system
JPWO2004022463A1 (en) Safety stock quantity calculation device, safety stock quantity calculation program and order point calculation device
WO2010146819A1 (en) Component order quantity determination device and component order quantity determination program
JP5242988B2 (en) Integrated demand prediction apparatus, integrated demand prediction method, and integrated demand prediction program
EP1484684B1 (en) Method and computer system for providing a cost estimate for sizing a computer system
JP6040887B2 (en) Information processing apparatus, information processing system, control method, and program
JP4339769B2 (en) Prediction model selection device, prediction model selection method, and program
JP4230975B2 (en) Data prediction apparatus, data prediction method, and program
JP5551806B2 (en) Integrated demand prediction apparatus, integrated demand prediction method, and integrated demand prediction program
US20090048889A1 (en) Manufacturing portfolio flexibility planning
JP6265871B2 (en) Sales operation support system and sales operation support method
JP6299843B2 (en) Information processing apparatus, information processing system, control method, and program
US11238482B1 (en) Method and system for managing clearance items
JP2005316932A (en) Method of creating production plan of demand variation input type and method of creating production plan minimizing risk of demand variations
JP4343806B2 (en) Prediction device, prediction method, and program
JP6829400B2 (en) Information processing equipment, control methods, and programs
JP4327648B2 (en) Computer program, inventory management apparatus and method
JP4280045B2 (en) Production volume calculation method, production volume calculation device, production volume calculation system, production volume calculation program and recording medium
JP2008165597A (en) Business parameter determination system
JP3260333B2 (en) Production management device, production management system, production planning method, and storage medium
JP7007596B2 (en) Information processing equipment, control method, program
JP7436854B2 (en) Information processing device, control method, program
JP4559776B2 (en) Demand forecasting device, demand forecasting method and program
JP2019145007A (en) Project progress prediction device and project progress prediction system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080820

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081027

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081226

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20090107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090309

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090507

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090605

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090702

R150 Certificate of patent or registration of utility model

Ref document number: 4339769

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140710

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250