Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7532707B2 - Prediction device and prediction method - Google Patents
[go: Go Back, main page]

JP7532707B2 - Prediction device and prediction method - Google Patents

Prediction device and prediction method Download PDF

Info

Publication number
JP7532707B2
JP7532707B2 JP2019192833A JP2019192833A JP7532707B2 JP 7532707 B2 JP7532707 B2 JP 7532707B2 JP 2019192833 A JP2019192833 A JP 2019192833A JP 2019192833 A JP2019192833 A JP 2019192833A JP 7532707 B2 JP7532707 B2 JP 7532707B2
Authority
JP
Japan
Prior art keywords
prediction
predicted value
explanatory variable
predicted
explanatory
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
JP2019192833A
Other languages
Japanese (ja)
Other versions
JP2021068173A (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.)
Logisteed Ltd
Original Assignee
Logisteed 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 Logisteed Ltd filed Critical Logisteed Ltd
Priority to JP2019192833A priority Critical patent/JP7532707B2/en
Publication of JP2021068173A publication Critical patent/JP2021068173A/en
Application granted granted Critical
Publication of JP7532707B2 publication Critical patent/JP7532707B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、データを予測する予測装置および予測方法に関する。 The present invention relates to a prediction device and a prediction method for predicting data.

過去の数値データから将来の数値の予測を行う予測技術が様々な分野で開発され、適用中である。たとえば、物流分野では、予測技術は、各倉庫における入出荷の物量を予測したり、倉庫内の必要人員や、必要な保管スペースを見積もりしたりすることに活用されている。これらの物量の予測は、主に長年の経験を持つベテランの作業者(たとえば、現場リーダ)が人手で行っており、自動化および精度向上が求められている。 Prediction technologies that use past numerical data to forecast future figures have been developed and are being applied in a variety of fields. For example, in the logistics field, predictive technologies are used to forecast the volume of goods being shipped and received at each warehouse, as well as to estimate the number of staff and storage space required within the warehouse. These volume forecasts are mainly performed manually by veteran workers with many years of experience (for example, on-site leaders), and there is a demand for automation and improved accuracy.

予測精度を上げるためには、予測結果に影響を与える変動要因(説明変数)をなるべく網羅的に加味して予測を行うことが望ましい。一方で、物流倉庫などの物流現場で予測を行う場合、予測に必要なデータ(説明変数)を入手、管理、および利用する手間が大きいと予測システムの利用者の負担となる。したがって、説明変数を厳選して、必要最低限の説明変数で高精度な予測ができることが求められる。 To improve prediction accuracy, it is desirable to make predictions by taking into account as comprehensive a range of variable factors (explanatory variables) that affect the prediction results as possible. However, when making predictions at logistics sites such as logistics warehouses, if it is too much work to obtain, manage, and use the data (explanatory variables) required for prediction, it places a burden on users of the prediction system. Therefore, it is necessary to carefully select explanatory variables and make highly accurate predictions using the minimum number of explanatory variables necessary.

これは、たとえば、荷主から物流業務を請け負う3PL(Third Party Logistics)の業者が倉庫の出荷量などの予測を行う場合、契約上や地理的な問題(倉庫と商品を販売する店舗が地理的に遠いなど)で、荷主のデータを容易に入手できない場合があるためである。また、仮にデータを入手できても、データの種別が多く、各データの容量が大きいと、そのデータの管理コスト(手間)や予測システムにデータを入力する手間が増大し、予測システムの利用者がシステムの利用を躊躇う要因となるためである。 For example, when a 3PL (Third Party Logistics) company that undertakes logistics operations for a shipper forecasts warehouse shipment volumes and the like, it may not be able to easily obtain the shipper's data due to contractual or geographical issues (such as the warehouse being geographically far from the store selling the goods). Even if the data is available, if there are many types of data and each piece of data is large in volume, the cost (effort) of managing that data and the effort required to input the data into the forecasting system will increase, making users of the forecasting system hesitant to use it.

また、特許文献1は、実用的な商品の出荷予測量を予測するシステムを開示する。このシステムは、過去の出荷量実績・天候条件を入力する情報入力手段と、情報入力手段の情報から従属変数のデータ系列と説明変数のデータ系列をセットするデータ系列作成手段と、従属変数データ系列と説明変数データ系列に適合する重回帰モデルを生成し、前記重回帰モデルを用いて出荷量実績理論値と出荷量予測値を出力する重回帰分析手段と、前記出荷量実績値の棄却値を修正出荷量実績値とし、前記修正出荷量実績値と前記出荷量実績理論値の比率を補正値として算出し、前記補正値によって前記出荷量予測値を補正してする補正手段と、を備える。 Patent Document 1 also discloses a system for predicting a shipment forecast for a practical product. This system includes an information input means for inputting past shipment volume performance and weather conditions, a data series creation means for setting a data series for a dependent variable and a data series for an explanatory variable from information from the information input means, a multiple regression analysis means for generating a multiple regression model that fits the dependent variable data series and the explanatory variable data series and outputting a shipment volume performance theoretical value and a shipment volume forecast value using the multiple regression model, and a correction means for setting a rejection value of the shipment volume performance value as a corrected shipment volume performance value, calculating the ratio of the corrected shipment volume performance value and the shipment volume performance theoretical value as a correction value, and correcting the shipment volume forecast value using the correction value.

特開2005-78277号公報JP 2005-78277 A

特許文献1では、過去の出荷量だけでなく、天候や営業日数などの様々な変動要因のデータ群を使用して出荷量の予測を行っている一方、システムの利用者が予測に用いたデータ群が予測結果にどれだけの影響を与えたかの寄与度や貢献度を判断することができない。 In Patent Document 1, shipment volumes are predicted using a set of data on various variable factors such as weather and the number of business days, in addition to past shipment volumes, but the system does not allow users to determine the degree of contribution of the data sets used in the prediction to the predicted results.

本発明は、予測精度の向上を図ることを目的とする。 The present invention aims to improve prediction accuracy.

本願において開示される発明の一側面となる予測装置は、予測対象の実績値と複数の説明変数の各々の時系列データとに基づいて予測対象の予測値を予測する予測装置であって、プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、前記プロセッサは、前記実績値と前記予測値とに基づいて予測精度を算出し、前記複数の説明変数のうち第1説明変数の時系列データを用いて予測した第1予測値と、前記複数の説明変数のうち前記第1説明変数とは異なる第2説明変数の時系列データを用いて予測した第2予測値と、前記予測精度と、に基づいて、前記第1説明変数が前記予測値に与えた影響の度合いである第1貢献度と、前記第2説明変数が前記予測値に与えた影響の度合いである第2貢献度と、を算出し、前記第1貢献度と前記第2貢献度とに基づいて、前記複数の説明変数から除外される除外対象の説明変数を決定し、前記除外対象を出力する、ことを特徴とする。 A prediction device according to one aspect of the invention disclosed in the present application is a prediction device that predicts a predicted value of a prediction target based on actual values of a prediction target and time series data of each of a plurality of explanatory variables, and includes a processor that executes a program and a storage device that stores the program. The processor calculates prediction accuracy based on the actual values and the predicted values, calculates a first predicted value predicted using time series data of a first explanatory variable among the plurality of explanatory variables, a second predicted value predicted using time series data of a second explanatory variable different from the first explanatory variable among the plurality of explanatory variables, and a first contribution degree, which is the degree of influence of the first explanatory variable on the predicted value, and a second contribution degree, which is the degree of influence of the second explanatory variable on the predicted value, based on the prediction accuracy, and determines an explanatory variable to be excluded from the plurality of explanatory variables based on the first contribution degree and the second contribution degree, and outputs the excluded variable.

本発明の代表的な実施の形態によれば、予測精度の向上を図ることができる。前述した以外の課題、構成及び効果は、以下の実施例の説明により明らかにされる。 According to a representative embodiment of the present invention, prediction accuracy can be improved. Problems, configurations, and effects other than those described above will become clear from the explanation of the following examples.

図1は、予測装置のハードウェア構成例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of a hardware configuration of a prediction device. 図2は、予測装置の機能的構成例1を示すブロック図である。FIG. 2 is a block diagram showing a first example of a functional configuration of a prediction device. 図3は、予測装置による予測処理手順例1を示すフローチャートである。FIG. 3 is a flowchart illustrating a first example of a prediction process procedure performed by the prediction device. 図4は、予測装置への入力データの一例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example of input data to the prediction device. 図5は、予測装置から出力される第1出力データの一例を示す説明図である。FIG. 5 is an explanatory diagram illustrating an example of the first output data output from the prediction device. 図6は、ステップS303の予測部による予測処理の詳細な処理手順例を示すフローチャートである。FIG. 6 is a flowchart illustrating an example of a detailed processing procedure of the prediction process by the prediction unit in step S303. 図7は、情報出力部によって出力される第2出力データの一例を示す説明図である。FIG. 7 is an explanatory diagram illustrating an example of the second output data output by the information output unit. 図8は、予測装置の機能的構成例2を示すブロック図である。FIG. 8 is a block diagram illustrating a second example of a functional configuration of the prediction device. 図9は、予測装置による予測処理手順例2を示すフローチャートである。FIG. 9 is a flowchart illustrating a second example of a prediction process procedure performed by the prediction device. 図10は、相関算出部によるずらし日数の決定方法の一例示す説明図である。FIG. 10 is an explanatory diagram showing an example of a method for determining the number of shift days by the correlation calculation unit. 図11は、利用者によるずらし対象候補の選択効果を示すグラフである。FIG. 11 is a graph showing the effect of a user's selection of candidates for shifting. 図12は、除外対象(またはずらし対象)の説明変数の提示例を示す説明図である。FIG. 12 is an explanatory diagram showing an example of presentation of explanatory variables to be excluded (or shifted).

実施例1は、物流倉庫での商品の出荷量の予測に適用した場合の例を示す。実施例1では、予測に用いた説明変数の重要度として貢献度を出力するとともに、いずれかの説明変数の貢献度が実績期間および予測期間を通して所定値よりも低い場合には、その説明変数を除外対象として出力する例を説明する。ここで予測装置のユーザは、定期的に任意の頻度(たとえば1日1回や週に1回など)予測装置を用いて出荷量の予測を行う場合を想定する。以下、予測装置の構成および処理の流れを説明する。 Example 1 shows an example of application to prediction of product shipment volume at a logistics warehouse. In Example 1, an example is described in which the contribution level is output as the importance of the explanatory variables used in the prediction, and if the contribution level of any explanatory variable is lower than a predetermined value throughout the actual period and the prediction period, that explanatory variable is output as an exception target. Here, it is assumed that a user of the prediction device periodically predicts shipment volume using the prediction device at any frequency (for example, once a day or once a week). The configuration and processing flow of the prediction device are described below.

<予測装置のハードウェア構成例>
図1は、予測装置のハードウェア構成例を示すブロック図である。予測装置100は、プロセッサ101と、記憶デバイス102と、入力デバイス103と、出力デバイス104と、通信インターフェース(通信IF)105と、を有する。プロセッサ101、記憶デバイス102、入力デバイス103、出力デバイス104、および通信IF105は、バス106により接続される。プロセッサ101は、予測装置100を制御する。記憶デバイス102は、プロセッサ101の作業エリアとなる。また、記憶デバイス102は、各種プログラムやデータを記憶する非一時的なまたは一時的な記録媒体である。記憶デバイス102としては、たとえば、ROM(Read Only Memory)、RAM(Random Access Memory)、HDD(Hard Disk Drive)、フラッシュメモリがある。入力デバイス103は、データを入力するデバイスである。入力デバイス103としては、たとえば、キーボード、マウス、タッチパネル、テンキー、スキャナがある。出力デバイス104は、データを出力するデバイスである。出力デバイス104としては、たとえば、ディスプレイ、プリンタがある。通信IF105は、ネットワーク110と接続し、データを送受信する。
<Example of hardware configuration of prediction device>
FIG. 1 is a block diagram showing an example of a hardware configuration of a prediction device. The prediction device 100 includes a processor 101, a storage device 102, an input device 103, an output device 104, and a communication interface (communication IF) 105. The processor 101, the storage device 102, the input device 103, the output device 104, and the communication IF 105 are connected by a bus 106. The processor 101 controls the prediction device 100. The storage device 102 is a working area for the processor 101. The storage device 102 is a non-transient or temporary recording medium that stores various programs and data. Examples of the storage device 102 include a ROM (Read Only Memory), a RAM (Random Access Memory), a HDD (Hard Disk Drive), and a flash memory. The input device 103 is a device that inputs data. The input device 103 may be, for example, a keyboard, a mouse, a touch panel, a numeric keypad, or a scanner. The output device 104 is a device that outputs data. The output device 104 may be, for example, a display or a printer. The communication IF 105 is connected to a network 110 and transmits and receives data.

ネットワーク110の先には、たとえば、倉庫管理システム(WMS:Warehouse Management System)120が接続しており、WMS120から予測対象商品の出荷実績等を入手可能である。ただし、必ずしも予測装置100はネットワーク110に接続される必要はなく、必要なデータが入力可能であればよい。また、予測装置100は、たとえば、WMS上の1アプリケーションという形で実装されてもよい。 Connected to the network 110 is, for example, a warehouse management system (WMS) 120, from which shipping records of the product to be predicted can be obtained. However, the prediction device 100 does not necessarily need to be connected to the network 110, as long as the necessary data can be input. The prediction device 100 may also be implemented, for example, as an application on the WMS.

<予測装置100の機能的構成例1>
図2は、予測装置100の機能的構成例1を示すブロック図である。実績値221および説明変数222は、記憶デバイス102に記憶されている。また、予測値231、予測精度232、貢献度233、除外対象234は、出力デバイス104の一例であるディスプレイに表示可能である。なお、予測対象は1種類のデータとする。この場合、たとえば、倉庫内で扱う全商品をまとめて1つの予測対象としてもよいし、特定の商品のみを予測対象としてよい。
<Functional configuration example 1 of prediction device 100>
2 is a block diagram showing a first functional configuration example of the prediction device 100. The actual value 221 and the explanatory variable 222 are stored in the storage device 102. In addition, the predicted value 231, the prediction accuracy 232, the contribution degree 233, and the excluded target 234 can be displayed on a display, which is an example of the output device 104. Note that the prediction target is one type of data. In this case, for example, all products handled in a warehouse may be collectively treated as one prediction target, or only a specific product may be treated as a prediction target.

ここで、予測値231、予測精度232、貢献度233および除外対象234については、必ずしも出力デバイス104に表示される必要はない。たとえば、ネットワーク110を介して、WMS120にデータとして予測値231、予測精度232、貢献度233および除外対象234を伝送すれば、WMS120は、これらのデータを活用して、倉庫内の作業計画や人員配置の立案を行うことができる。これにより、倉庫内業務の効率化を図ることができる。 Here, the predicted value 231, the prediction accuracy 232, the contribution 233, and the excluded targets 234 do not necessarily need to be displayed on the output device 104. For example, if the predicted value 231, the prediction accuracy 232, the contribution 233, and the excluded targets 234 are transmitted as data to the WMS 120 via the network 110, the WMS 120 can use this data to plan work and personnel allocation within the warehouse. This can improve the efficiency of work within the warehouse.

予測装置100は、実績値入力部211、説明変数入力部212、予測部213、予測値出力部214、および情報出力部215を有する。これらは、具体的には、たとえば、図1に示した記憶デバイス102に記憶されたプログラムを、プロセッサ101に実行させることにより実現される機能である。 The prediction device 100 has an actual value input unit 211, an explanatory variable input unit 212, a prediction unit 213, a predicted value output unit 214, and an information output unit 215. Specifically, these are functions that are realized by, for example, having the processor 101 execute a program stored in the storage device 102 shown in FIG. 1.

<予測処理手順例>
図3は、予測装置100による予測処理手順例1を示すフローチャートである。予測装置100は、予測処理を開始すると、実績値入力部211により実績値221を取り込む(ステップS301)。つぎに、予測装置100は、説明変数入力部212により、予測に用いる説明変数222を取り込む(ステップS302)。実績値221および説明変数222の詳細については図4を用いて後述する。
<Example of prediction processing procedure>
3 is a flowchart showing a first example of a prediction process procedure by the prediction device 100. When the prediction device 100 starts a prediction process, the prediction device 100 imports the actual value 221 through the actual value input unit 211 (step S301). Next, the prediction device 100 imports the explanatory variable 222 used for prediction through the explanatory variable input unit 212 (step S302). Details of the actual value 221 and the explanatory variable 222 will be described later with reference to FIG. 4.

つぎに、予測装置100は、予測部213により、実績値221と説明変数222を用いて予測対象の出荷量の予測を実行し、予測値231を算出する(ステップS303)。ここでは予測部213は、出荷量を予測することとしたが、必ずしも出荷量に限定されない。また、予測装置100は、予測部213により、予測精度232と各説明変数222の貢献度233とを算出する。 Next, the prediction device 100 uses the prediction unit 213 to predict the shipment volume of the prediction target using the actual value 221 and the explanatory variables 222, and calculates the predicted value 231 (step S303). Here, the prediction unit 213 predicts the shipment volume, but this is not necessarily limited to the shipment volume. In addition, the prediction device 100 uses the prediction unit 213 to calculate the prediction accuracy 232 and the contribution 233 of each explanatory variable 222.

つぎに、予測装置100は、予測値出力部214により、予測部213によって算出された予測値231と予測精度232とを出力デバイス104の一例であるディスプレイに表示する(ステップS304)。 Next, the prediction device 100 causes the prediction value output unit 214 to display the prediction value 231 and prediction accuracy 232 calculated by the prediction unit 213 on a display, which is an example of the output device 104 (step S304).

つぎに、予測装置100は、情報出力部215により、予測部213によって算出された各説明変数222の貢献度233を出力する。また、予測装置100は、情報出力部215により、全説明変数222の貢献度233を参照して、各説明変数222の貢献度233が予測期間のどの日付においても0または極めて0に近い値であれば、その説明変数222を除外対象234とみなして、その説明変数222が除外対象であることを出力する(ステップS305)。 Next, the prediction device 100 outputs the contribution 233 of each explanatory variable 222 calculated by the prediction unit 213 through the information output unit 215. Furthermore, the prediction device 100 refers to the contribution 233 of all explanatory variables 222 through the information output unit 215, and if the contribution 233 of each explanatory variable 222 is 0 or very close to 0 on any date in the prediction period, it regards that explanatory variable 222 as an exclusion target 234 and outputs that the explanatory variable 222 is an exclusion target (step S305).

<入力データの一例>
図4は、予測装置100への入力データの一例を示す説明図である。入力データ400は、時系列データとして、実績値(目的変数)221と説明変数222とを有する。実績値221の変数名401を一例として、倉庫内のある商品の1日単位の出荷量とし、説明変数222の変数名401を、出荷先店舗の営業日と天気とする。また、日付402は、1/1~2/4とする。1/1~1/30までを実績期間、1/31~2/4を予測期間とする。現在は1/31とする。
<Example of input data>
4 is an explanatory diagram showing an example of input data to the prediction device 100. The input data 400 has a performance value (objective variable) 221 and explanatory variables 222 as time-series data. As an example, the variable name 401 of the performance value 221 is the daily shipping amount of a certain product in a warehouse, and the variable name 401 of the explanatory variable 222 is the business days and weather of a shipping destination store. In addition, the dates 402 are 1/1 to 2/4. The performance period is from 1/1 to 1/30, and the prediction period is from 1/31 to 2/4. The current date is 1/31.

ここでは、例として、予測装置100は、実績期間(1/1から1/30まで)の実績値221を用いて、予測期間(1/31から2/4まで)の予測を、1/31に実施する。なお、説明変数222は営業日と天気に限られない。また、用いる説明変数222の数も任意である。ここで説明変数222は、実績期間および予測期間の双方に対して設定される。なお、図4では、期間の一例として1日単位の日付402としたが、日付402に限らず、1日の中の所定時間でもよく、複数の連続する日付でもよい。 Here, as an example, the prediction device 100 uses the actual values 221 of the actual period (from 1/1 to 1/30) to perform a prediction for the prediction period (from 1/31 to 2/4) on 1/31. Note that the explanatory variables 222 are not limited to business days and weather. In addition, any number of explanatory variables 222 may be used. Here, the explanatory variables 222 are set for both the actual period and the prediction period. Note that in FIG. 4, a date 402 in one-day units is used as an example of a period, but it is not limited to the date 402, and it may be a predetermined time in a day or multiple consecutive dates.

<第1出力データの一例>
図5は、予測装置100から出力される第1出力データの一例を示す説明図である。第1出力データ500とは、予測値出力部214から出力される予測値231および予測精度232である。図5および後述の図7では、説明のため1/1~1/28の実績値221、予測値231、および予測精度232の図示を省略する。予測装置100は、実績期間および予測期間の双方(1/1から2/4まで)について予測値231を出力する。予測装置100は、実績期間における各日付の実績値221と予測値231の偏差に基づいて、予測部213により予測精度232を出力する。予測精度232の評価方法は既知の手法を用いればよく、任意である。
<An example of first output data>
FIG. 5 is an explanatory diagram showing an example of the first output data output from the prediction device 100. The first output data 500 is the predicted value 231 and the prediction accuracy 232 output from the predicted value output unit 214. In FIG. 5 and FIG. 7 described later, the actual value 221, the predicted value 231, and the prediction accuracy 232 from 1/1 to 1/28 are omitted for the sake of explanation. The prediction device 100 outputs the predicted value 231 for both the actual period and the prediction period (from 1/1 to 2/4). The prediction device 100 outputs the prediction accuracy 232 by the prediction unit 213 based on the deviation between the actual value 221 and the predicted value 231 for each date in the actual period. The prediction accuracy 232 may be evaluated by any known method.

図5の例では、予測部213は、予測精度および予測誤差を下記式(1)、(2)により算出する。
予測精度=1-予測誤差・・・・・・・・・(1)
予測誤差=|予測値-実績値|/実績値・・・(2)
ここで、予測部213が実行する処理(ステップS303)について図6を用いて説明する。
In the example of FIG. 5, the prediction unit 213 calculates the prediction accuracy and the prediction error according to the following equations (1) and (2).
Prediction accuracy = 1 - prediction error (1)
Forecast error = | Forecast value - Actual value | / Actual value ... (2)
Here, the process (step S303) executed by the prediction unit 213 will be described with reference to FIG.

<予測処理(ステップS303)>
図6は、ステップS303の予測部213による予測処理の詳細な処理手順例を示すフローチャートである。予測装置100は、予測部213により、実績期間の各日付に対して、日々の予測精度232が最大となるように各説明変数222の貢献度233を設定して予測値231を算出する(ステップS601)。貢献度233とは、実績期間の予測値231に与えた影響の度合いである。
<Prediction process (step S303)>
6 is a flowchart showing a detailed example of the process procedure of the prediction process by the prediction unit 213 in step S303. The prediction device 100 calculates the predicted value 231 by the prediction unit 213 by setting the contribution degree 233 of each explanatory variable 222 for each date of the performance period so that the daily prediction accuracy 232 is maximized (step S601). The contribution degree 233 is the degree of influence on the predicted value 231 of the performance period.

つぎに、予測装置100は、予測部213により、予測期間の各日付に対して設定されている説明変数222に基づいて、ステップS601により決定された貢献度233を設定し、予測値231を算出する。つぎに、予測装置100は、予測部213により、実績期間と予測期間の予測値231、貢献度233、および実績期間の予測精度232を出力する。 Next, the prediction device 100 sets the contribution degree 233 determined in step S601 based on the explanatory variables 222 set for each date in the prediction period by the prediction unit 213, and calculates the prediction value 231. Next, the prediction device 100 outputs the prediction value 231, the contribution degree 233, and the prediction accuracy 232 for the actual period and the prediction period by the prediction unit 213.

ステップS601およびS602で予測部213が実行する処理については、説明変数入力部212によって入力された説明変数222を用いた予測方法であれば任意でよい。たとえば、予測装置100は、実績値221と説明変数222との組み合わせを学習データセットとして、自己回帰分析や重回帰分析、ディープラーニングに適用して予測モデルを生成する。そして、予測装置100は、予測モデルに予測期間の説明変数222を与えることにより、予測期間における出荷量の予測値231を算出してもよい。 The processes performed by the prediction unit 213 in steps S601 and S602 may be any prediction method that uses the explanatory variables 222 input by the explanatory variable input unit 212. For example, the prediction device 100 generates a prediction model by applying a combination of the actual values 221 and the explanatory variables 222 as a learning data set to autoregression analysis, multiple regression analysis, or deep learning. The prediction device 100 may then calculate a predicted value 231 of the shipment volume in the prediction period by providing the explanatory variables 222 for the prediction period to the prediction model.

また、予測値Pは、任意の予測方法1(例:自己回帰)から算出した予測結果P1に、予測方法1とは異なる予測方法2(例:下記式(4)のような線形回帰)を用いて算出した予測結果P2を下記式(3)にて、組み合わせることで、求められる。ここで、α、βは重み係数(ただし、α+β=1)である。 The predicted value P is calculated by combining a prediction result P1 calculated from an arbitrary prediction method 1 (e.g., autoregression) with a prediction result P2 calculated using a prediction method 2 different from prediction method 1 (e.g., linear regression as shown in formula (4) below) using formula (3) below. Here, α and β are weighting coefficients (where α + β = 1).

P=α×P1+β×P2・・・(3) P=α×P1+β×P2...(3)

たとえば、ステップS601では、予測部213は、αとβの組み合わせ(下記式(4)を適用する場合はβ1、β2も含まれる)を総当たりで適用して、上記式(1)、(2)により日々の予測精度232が最大となるように貢献度233を算出する。ここで、予測結果P1の貢献度233は、予測精度232が最大となるαであり、予測結果P2の貢献度233は、予測精度232が最大となるβである。 For example, in step S601, the prediction unit 213 applies combinations of α and β (including β1 and β2 when applying the following formula (4)) in a brute-force manner, and calculates the contribution degree 233 so as to maximize the daily prediction accuracy 232 using the above formulas (1) and (2). Here, the contribution degree 233 of the prediction result P1 is α at which the prediction accuracy 232 is maximized, and the contribution degree 233 of the prediction result P2 is β at which the prediction accuracy 232 is maximized.

また、予測結果P1,P2の片方または両方が説明変数222を用いた予測結果であればよい。たとえば、予測結果P2のみが説明変数222を用いた予測結果であるとし、具体的には、たとえば、P21を図4に示した営業日を用いた予測値、P22を図4に示した天気を用いた予測値とすると、予測結果P2は下記式(4)で算出できる。 Furthermore, it is sufficient that one or both of the prediction results P1 and P2 are prediction results using the explanatory variable 222. For example, if only the prediction result P2 is a prediction result using the explanatory variable 222, and specifically, for example, P21 is a prediction value using the business days shown in FIG. 4, and P22 is a prediction value using the weather shown in FIG. 4, the prediction result P2 can be calculated by the following formula (4).

P2=β1×P21+β2×P22・・・(4) P2=β1×P21+β2×P22...(4)

ここでβ1、β2は重み係数でβ1+β2=1である。この場合、予測部213は、日々の営業日の貢献度233と天気の貢献度233を、それぞれ、β×β1、β×β2として算出することができる。 Here, β1 and β2 are weighting coefficients, β1 + β2 = 1. In this case, the prediction unit 213 can calculate the contribution 233 of each business day and the contribution 233 of the weather as β × β1 and β × β2, respectively.

<第2出力データの一例>
図7は、情報出力部215によって出力される第2出力データの一例を示す説明図である。第2出力データ700は、情報出力部215によって出力される貢献度233と除外対象234とを示すデータである。図7では、例として、表701およびグラフ702を用いて日々の貢献度233が%表示され、通知欄703を用いて除外対象234である説明変数222の「天気」が表示される。表701およびグラフ702の予測方法1は、上記式(3)のP1である。
<An example of second output data>
Fig. 7 is an explanatory diagram showing an example of the second output data output by the information output unit 215. The second output data 700 is data showing the contribution degree 233 and the excluded target 234 output by the information output unit 215. In Fig. 7, as an example, the daily contribution degree 233 is displayed in percentage using a table 701 and a graph 702, and the "weather" of the explanatory variable 222, which is the excluded target 234, is displayed using a notification column 703. The prediction method 1 of the table 701 and the graph 702 is P1 in the above formula (3).

表701を見ると、天気の貢献度233は予測期間と実績期間のいずれの日付に対しても0%であり、この場合、天気は出荷量の予測値231に無関係である(予測結果に影響を与えていない)ことが判る。これは、たとえば、天気に影響されずに定常的に出荷される日用品などが該当する。そこで、情報出力部215は、天気を除外対象234とみなし、たとえば、通知欄703に、「天気は除外候補です」という文言を表示することで、利用者に通知する。 Looking at table 701, it can be seen that the contribution of weather 233 is 0% for both the forecast period and the actual period, and in this case, it is clear that the weather is unrelated to the forecasted shipment volume 231 (does not affect the forecast result). This applies, for example, to everyday items that are shipped regularly without being affected by the weather. Therefore, the information output unit 215 regards the weather as an exclusion target 234 and notifies the user by, for example, displaying the words "Weather is a candidate for exclusion" in the notification field 703.

ここで、除外対象234の通知方法は任意でよい。たとえば、図7の表701において、情報出力部215は、天気の行の色を他の行の色と異なる色で表示してもよい。 Here, the method of notifying the excluded items 234 may be arbitrary. For example, in table 701 of FIG. 7, the information output unit 215 may display the weather row in a color different from the colors of the other rows.

また、情報出力部215が除外対象234を特定する判定基準は、必ずしも予測期間と実績期間の全日付に対して貢献度233が0%であることに限定されない。たとえば、予め閾値(0より大きい値)を設けておき、いずれの日付に対しても閾値よりも貢献度233が小さい場合を除外対象とみなすなどの方法が考えられる。また、情報出力部215は、たとえば、実績期間の前半の数日(期間は任意)の日付に対してのみ貢献度233が0より大となっていて、かつ、それ以降の実績期間および予測期間では貢献度233が0となっている説明変数222を、除外対象234とみなしてもよい。 The criteria by which the information output unit 215 identifies the exclusion target 234 are not necessarily limited to the contribution 233 being 0% for all dates in the forecast period and the actual period. For example, a method can be considered in which a threshold value (a value greater than 0) is set in advance, and any date for which the contribution 233 is less than the threshold value is considered to be an exclusion target. The information output unit 215 may also consider, for example, an explanatory variable 222 whose contribution 233 is greater than 0 only for a few dates (any period) in the first half of the actual period, and whose contribution 233 is 0 in the actual period and forecast period thereafter, to be an exclusion target 234.

実施例1によって、予測装置100が定期的に出荷量の予測を行う場合に、利用者は、除外対象234に指定された説明変数222を見ることで、その説明変数222が予測結果に寄与していないことを判断することができる。予測装置100が次回以降、除外対象となった説明変数222を用いずに予測を行うことで、利用者は、次回以降の予測時にその説明変数222のデータを入手したり管理したりする手間(工数)、および予測装置100を利用する際のデータ(説明変数222)の入力の手間(工数)を削減することができる。また、予測装置100は、少ない説明変数222で予測を行うことができるため、予測部213が予測に掛かる時間の削減を図ることができる。 According to Example 1, when the prediction device 100 periodically predicts shipment volume, the user can determine that the explanatory variable 222 specified as the excluded variable 234 is not contributing to the prediction result by looking at the explanatory variable 222. The prediction device 100 makes predictions from the next time onwards without using the excluded explanatory variable 222, so that the user can reduce the effort (man-hours) required to obtain and manage the data of the explanatory variable 222 when making predictions from the next time onwards, and the effort (man-hours) required to input data (explanatory variable 222) when using the prediction device 100. In addition, since the prediction device 100 can make predictions with a small number of explanatory variables 222, the time required for the prediction unit 213 to make predictions can be reduced.

ここで、予測装置100の利用形態として、たとえば、予測装置100は初回の予測を実行する際は、さほど予測精度は高くないが処理時間の短い予測方法を用いて予測を実行して除外対象234を求めておき、次に除外対象234を除外したあらたな説明変数222を用いて、初回の予測よりも精度が高いが処理時間が長い予測方法を用いて予測を実行してもよい。これにより、初回の予測時に掛かる予測時間を削減することができる。 Here, as a usage form of the prediction device 100, for example, when the prediction device 100 performs a first prediction, it may perform a prediction using a prediction method that is not very accurate but has a short processing time to obtain the excluded target 234, and then perform a prediction using a prediction method that is more accurate than the first prediction but has a long processing time, using new explanatory variables 222 that exclude the excluded target 234. This makes it possible to reduce the prediction time required for the first prediction.

または、たとえば、ある倉庫で予測装置100を用いて特定した商品ごとの除外対象234は、物流業者の別の倉庫から利用可能なデータベースに蓄積されてもよい。そして、別の倉庫で予測装置100を用いて予測を行う際には、予測装置100は、そのデータベースに蓄積された同一商品または類似商品(例:メーカ違いの同じ商品)ごとの除外対象234を参照してもよい。 Alternatively, for example, the exclusion targets 234 for each product identified using the prediction device 100 at one warehouse may be stored in a database that is accessible to another warehouse of the logistics company. Then, when making predictions using the prediction device 100 at another warehouse, the prediction device 100 may refer to the exclusion targets 234 for the same product or similar products (e.g., the same product from a different manufacturer) stored in the database.

さらに、図3に示したステップS302で説明変数入力部212が説明変数222を取り込む処理を行う際に、予測装置100は、出力デバイス104により、除外対象234(または、除外対象234ではない予測に影響を与える説明変数222)を利用者に知らせてもよい。これにより、別の倉庫において、どの説明変数222が予測結果に影響を与えるかが判らない場合においても、適切な説明変数222を用いて予測を行うことが可能となる。 Furthermore, when the explanatory variable input unit 212 performs the process of importing the explanatory variables 222 in step S302 shown in FIG. 3, the prediction device 100 may inform the user of the excluded targets 234 (or explanatory variables 222 that affect the prediction other than the excluded targets 234) via the output device 104. This makes it possible to make predictions using appropriate explanatory variables 222 even when it is not known which explanatory variables 222 will affect the prediction results in another warehouse.

また、説明変数入力部212は、除外対象234に指定された説明変数222を記憶しておき、予測装置100が次回予測を行う際に利用者が予測装置100にこの除外対象234を入力した場合には、その説明変数222が前回の予測時には除外対象234であったことを出力デバイス104に通知してもよい。これにより、利用者が前回予測時に除外対象であった説明変数222を入力してしまうことを防ぐことができる。 The explanatory variable input unit 212 may also store the explanatory variable 222 designated as the exclusion target 234, and when the user inputs this exclusion target 234 to the prediction device 100 when the prediction device 100 makes the next prediction, notify the output device 104 that the explanatory variable 222 was the exclusion target 234 in the previous prediction. This can prevent the user from inputting an explanatory variable 222 that was the exclusion target in the previous prediction.

つぎに実施例2について説明する。以下に説明する相違点を除き、実施例2の予測装置100の各部は、図1~図7に示された実施例1の同一の符号を付された各部と同一の機能を有するため、それらの説明は省略する。また、実施例2では、実施例1に加えて、説明変数222のいずれかが予測結果に対する変動要因となっている場合に、変動要因の影響が変動要因発生後の±何日後に出荷量に現れるかを適切に評価する処理を有する実施例について説明する。また、実施例2では、予測対象は1種類のデータとする。この場合、たとえば倉庫内で扱う全商品をまとめて1つの予測対象としてもよいし、特定の商品のみを予測対象としてよい。 Next, Example 2 will be described. Except for the differences described below, each part of the prediction device 100 in Example 2 has the same function as each part in Example 1 with the same reference numerals shown in Figures 1 to 7, and therefore the description of those parts will be omitted. Also, in Example 2, in addition to Example 1, an example will be described that has a process for appropriately evaluating how many days after the occurrence of the variable factor the influence of the variable factor appears in the shipping volume when any of the explanatory variables 222 is a variable factor for the prediction result. Also, in Example 2, the prediction target is one type of data. In this case, for example, all products handled in a warehouse may be collectively treated as one prediction target, or only a specific product may be treated as a prediction target.

<予測装置100の機能的構成例2>
図8は、予測装置100の機能的構成例2を示すブロック図である。実施例2では、実施例1に加えて、入力データにずらし対象801、第2出力データ700にずらし日数802がそれぞれ追加される。また、プログラムモジュールとしては、相関算出部800が追加される。
<Functional configuration example 2 of prediction device 100>
8 is a block diagram showing a second functional configuration example of the prediction device 100. In the second embodiment, in addition to the first embodiment, a shift target 801 is added to the input data, and a shift number of days 802 is added to the second output data 700. In addition, a correlation calculation unit 800 is added as a program module.

<予測処理手順例>
図9は、予測装置100による予測処理手順例2を示すフローチャートである。実施例1(図3)と差分があるステップのみを説明する。予測装置100は、説明変数入力部212により、ステップS301の後、説明変数222とずらし対象801を取り込む(ステップS901)。つぎに、予測装置100は、相関算出部800により、実績値221とずらし対象801の各説明変数222との相関係数を算出し、ずらし対象に指定された説明変数222のずらし日数802を決定する(ステップS902)。
<Example of prediction processing procedure>
9 is a flowchart showing a second example of a prediction process procedure by the prediction device 100. Only steps that differ from the first example (FIG. 3) will be described. After step S301, the prediction device 100 inputs the explanatory variables 222 and the shift target 801 by the explanatory variable input unit 212 (step S901). Next, the prediction device 100 calculates the correlation coefficient between the actual value 221 and each explanatory variable 222 of the shift target 801 by the correlation calculation unit 800, and determines the number of shift days 802 for the explanatory variables 222 designated as the shift target (step S902).

つぎに、予測装置100は、予測部213により、実績値221と説明変数222とを用いて予測を行い、予測値231、予測精度232、貢献度233を算出する(ステップS903)。ここで説明変数222については、ずらし対象801に指定された説明変数222は、相関算出部800で算出したずらし日数802だけ日数をずらして予測に用いられる。 Next, the prediction device 100 performs prediction using the actual value 221 and the explanatory variable 222 by the prediction unit 213, and calculates the predicted value 231, the prediction accuracy 232, and the contribution degree 233 (step S903). Here, for the explanatory variable 222, the explanatory variable 222 specified as the shift target 801 is used for prediction after shifting the number of days by the shift number of days 802 calculated by the correlation calculation unit 800.

つぎに、予測装置100は、情報出力部215により、ステップS304の後に、各説明変数222の貢献度233、ずらし日数802、除外対象234を出力する。ここで、図4を用いて、ずらし対象801の説明変数222の指定方法について説明する。たとえば、情報出力部215は、説明変数222の変数名401の指定欄に、予測装置100が処理可能な形でずらし対象801の説明変数222を指定する。たとえば、情報出力部215は、ずらし対象801の説明変数222の変数名401の末尾に記号(@など)を付与するなどが考えられる(図示省略)。 Next, the prediction device 100 outputs the contribution 233 of each explanatory variable 222, the number of shift days 802, and the excluded target 234 by the information output unit 215 after step S304. Here, a method of specifying the explanatory variable 222 of the shift target 801 will be described with reference to FIG. 4. For example, the information output unit 215 specifies the explanatory variable 222 of the shift target 801 in a form that can be processed by the prediction device 100 in the specification field of the variable name 401 of the explanatory variable 222. For example, the information output unit 215 may add a symbol (such as @) to the end of the variable name 401 of the explanatory variable 222 of the shift target 801 (not shown).

つぎに、図7を用いて、情報出力部215のずらし日数802の出力方法について説明する。出力方法は任意であるが、たとえば、図7の表701の右端にずらし日数802という列を追加して、各説明変数222のずらし日数802を表示すればよい(図示省略)。 Next, a method for outputting the number of shift days 802 by the information output unit 215 will be described with reference to FIG. 7. Any output method can be used, but for example, a column for the number of shift days 802 can be added to the right end of the table 701 in FIG. 7 to display the number of shift days 802 for each explanatory variable 222 (not shown).

<ずらし日数802の決定方法>
図10は、相関算出部800によるずらし日数802の決定方法の一例示す説明図である。図10の内容は、ディスプレイに表示可能である。例として、ある商品の出荷量の変動要因として、CM(コマーシャル)放映がテレビ等でなされた場合を説明する。図10の各グラフ(a)~(c)において横軸は日付402を示し、左方向は過去、右方向は未来を示す。また、グラフ(a)において縦軸は出荷実績を示し、グラフ(b)(c)において縦軸は、CM放送の回数を示す。
<How to determine the number of shift days 802>
Fig. 10 is an explanatory diagram showing an example of a method for determining the number of shift days 802 by the correlation calculation unit 800. The contents of Fig. 10 can be displayed on a display. As an example, a case where a commercial (CM) is aired on television or the like as a factor for fluctuations in the shipment volume of a certain product will be described. In each of the graphs (a) to (c) of Fig. 10, the horizontal axis indicates the date 402, the left direction indicates the past, and the right direction indicates the future. In addition, the vertical axis in graph (a) indicates the shipment record, and the vertical axis in graphs (b) and (c) indicates the number of times a commercial was aired.

図10において、(a)は出荷実績、(b)はCM放映日の時系列(日系列)データを示す。これらを見ると、CM放映日の+1日目に出荷実績が急激(パルス的)に上昇していることがわかる。 In Figure 10, (a) shows actual shipments, and (b) shows the time series (daily series) data for the days the commercial aired. Looking at these, we can see that the actual shipments rose sharply (pulse-like) on the +1 day after the commercial aired.

図10において、(c)は相関算出部800におけるCM放映1001の説明変数222のずらし方を説明する図である。相関算出部800は、CM放映の時系列データをずらし日数0から一日ずつずらしていき、出荷実績との相関を取り、たとえば、最も相関係数が高いずれの日数を求める。 In FIG. 10, (c) is a diagram explaining how the explanatory variable 222 of the commercial airing 1001 is shifted in the correlation calculation unit 800. The correlation calculation unit 800 shifts the time series data of the commercial airing by one day at a time from the number of days 0, obtains a correlation with the shipping record, and, for example, finds the number of days of shift with the highest correlation coefficient.

図10(c)の例では、相関算出部800は、CM放映の説明変数222を+1日ずらすと、出荷実績の時系列データと最も相関係数が高くなったとする。換言すると、CM放映という説明変数222は出荷実績に対してCM放映(説明変数)日の1日後(+1日)に相関が最大となると判断し、相関算出部800は、CM放映の説明変数222のずらし日数802を+1日と決定する。このように相関算出部800は、ずらし対象801に指定された説明変数222を1つずつ出荷実績と突き合わせて相関を評価し、相関が最大となる出荷実績の日付と説明変数のイベントの日付とのずれの日数を算出して、各説明変数222のずらし日数802を決定する。 In the example of FIG. 10(c), the correlation calculation unit 800 determines that the explanatory variable 222 of commercial airing becomes the highest correlation coefficient with the time series data of shipping results when the explanatory variable 222 of commercial airing is shifted by +1 day. In other words, the explanatory variable 222 of commercial airing is determined to have the highest correlation with shipping results one day (+1 day) after the commercial airing date (explanatory variable), and the correlation calculation unit 800 determines the number of days to shift 802 of the explanatory variable 222 of commercial airing to be +1 day. In this way, the correlation calculation unit 800 compares each of the explanatory variables 222 specified as the shift target 801 with the shipping results one by one to evaluate the correlation, calculates the number of days shift between the date of shipping results where the correlation is maximum and the date of the explanatory variable event, and determines the number of days to shift 802 for each explanatory variable 222.

ここで、説明のため図10はずらし日数802が人間でも判りやすい簡単な例を示した。しかし、実際の物流倉庫では、出荷実績量は様々(複数)の変動要因(説明変数222)によって日々絶えず変動しているため、図10で示したような各説明変数222と出荷実績との相関(ずらし日数802)が一目で判断がつく例は限定的である。 For the sake of explanation, FIG. 10 shows a simple example of the number of shift days 802 that is easy for humans to understand. However, in an actual logistics warehouse, the actual shipping volume is constantly fluctuating daily due to various (multiple) variable factors (explanatory variables 222), so there are only a limited number of examples where the correlation (number of shift days 802) between each explanatory variable 222 and actual shipping volume as shown in FIG. 10 can be determined at a glance.

実施例2のずらし日数評価方法を行うことにより、ずらし日数802が一目で判断がつかない場合でも、適切に各説明変数222(変動要因)の影響が出荷実績および出荷予測±何日目に現れるかを加味することができる。ここで、ずらし評価期間1002は任意の日数としてよい。図10では日付をずらす方向を日付402の時間方向の正方向(未来)のみの例を示しているが、負方向(過去)にずらしてもよい。なお、最も相関係数が高いずれの日数を求める場合、説明変数222のイベント日付から例えば約1カ月先(+約30日)に最大値が生じるということは考えにくく、高い相関が得られる期間はある程度限定的と考えるのが妥当である。また、説明変数が、CMの視聴率や視聴回数のような場合は、実績に基づき、相関について閾値を設定しておくことも可能である。従って、相関について閾値を越えたら最大の相関であると判定し、最もイベントに近い日付を採用してずらし量を算出したり、説明変数ごとに最大ずらし量を設定しておき、その範囲で相関が最大となる日付を採用してずらし量を算出したり、するようにしてもよい。 By performing the shift number of days evaluation method of the second embodiment, even if the shift number of days 802 cannot be determined at a glance, it is possible to appropriately take into account the number of days on which the influence of each explanatory variable 222 (variation factor) appears in the shipping performance and shipping forecast. Here, the shift evaluation period 1002 may be any number of days. In FIG. 10, an example is shown in which the date is shifted only in the positive direction (future) of the time direction of the date 402, but it may be shifted in the negative direction (past). Note that when determining the number of days of shift with the highest correlation coefficient, it is unlikely that the maximum value will occur, for example, about one month (+ about 30 days) from the event date of the explanatory variable 222, and it is reasonable to consider that the period in which a high correlation is obtained is somewhat limited. In addition, when the explanatory variable is a CM's viewing rate or number of views, it is also possible to set a threshold value for the correlation based on the actual performance. Therefore, if the correlation exceeds a threshold, it is determined that this is the maximum correlation, and the shift amount can be calculated by using the date closest to the event, or a maximum shift amount can be set for each explanatory variable, and the shift amount can be calculated by using the date within that range that results in the maximum correlation.

負方向にずらすべき変動要因として、天気予報のデータがある。たとえば、除雪用品や長靴などは、雪の予報日の数日前に出荷量が増えるため、雪の天気の実績データを出荷実績と負方向で相関を取って、ずらし日数802を求めることができる。ここで再び図7を用いて、実施例2における除外対象234の出力方法を説明する。 One variable that should be shifted in the negative direction is weather forecast data. For example, shipments of snow removal equipment and boots increase several days before snow is forecast, so the number of days to shift 802 can be calculated by negatively correlating actual snowy weather data with actual shipments. Here, the method of outputting the exclusion targets 234 in Example 2 will be explained using FIG. 7 again.

実施例2では、予測装置100は、実施例1と同様の基準(貢献度233が0または閾値以下など)で、除外対象234を特定する。しかし、利用者が除外対象234をずらし対象801に指定していたか否かによって、図7に示した通知欄701への通知内容は異なる。 In the second embodiment, the prediction device 100 identifies the exclusion target 234 based on the same criteria as in the first embodiment (such as when the contribution level 233 is 0 or below a threshold). However, the notification content in the notification field 701 shown in FIG. 7 differs depending on whether the user has designated the exclusion target 234 as a shift target 801.

まず、ずらし対象801に指定していなかった場合は、その説明変数222をずらし対象801に指定すれば、予測結果に影響を及ぼす可能性がある。そのため、情報出力部215は、通知欄703に、たとえば「説明変数zはずらし対象候補または除外候補です」と表示して、ずらし対象801とするか或いは次回以降の予測で除外するよう利用者に促す(zは説明変数222)。つぎに、ずらし対象801に指定していた場合は、予測結果に影響を及ぼす可能性はない。このため、情報出力部215は、通知欄703に「説明変数zは除外候補です」と表示して、次回以降は説明変数222から除外するよう利用者に促す。 First, if the explanatory variable 222 has not been designated as a shift target 801, there is a possibility that the prediction result will be affected if the explanatory variable 222 is designated as a shift target 801. Therefore, the information output unit 215 displays, for example, "Explanatory variable z is a candidate for shift target or exclusion" in the notification field 703, and prompts the user to designate it as a shift target 801 or to exclude it from the next prediction onwards (z is an explanatory variable 222). Next, if the explanatory variable 222 has been designated as a shift target 801, there is a possibility that the prediction result will be affected. Therefore, the information output unit 215 displays, for example, "Explanatory variable z is a candidate for exclusion" in the notification field 703, and prompts the user to exclude it from the explanatory variables 222 from the next prediction onwards.

以上の方法によって、予測装置100は、変動要因の影響が予測値に±何日後に現れるかが不明な状況でも、高精度な予測を行うことができる。また、情報出力部215は、貢献度233が所定値よりも低い説明変数222を出力デバイス104に表示する。このため、利用者は、次回以降に予測を行う場合に、その説明変数222を除外するか、ずらし対象の設定を変更することで、少ない説明変数222で高精度な予測を行うことができる。また、実施例1と同様に除外対象となった説明変数222のデータを次回以降に予測する際に、入手および管理する手間(工数)、および予測装置100を利用する際のデータ(説明変数222)の入力の手間(工数)を削減することができる。 By the above method, the prediction device 100 can perform highly accurate predictions even in a situation where it is unknown how many days after the influence of the variable factor will appear in the predicted value. In addition, the information output unit 215 displays the explanatory variables 222 whose contribution degree 233 is lower than a predetermined value on the output device 104. Therefore, when making predictions next time or later, the user can perform highly accurate predictions with fewer explanatory variables 222 by excluding the explanatory variables 222 or changing the settings of the shift target. In addition, as in Example 1, when making predictions next time or later, the effort (man-hours) for obtaining and managing data of the explanatory variables 222 that have been excluded can be reduced, as well as the effort (man-hours) for inputting data (explanatory variables 222) when using the prediction device 100.

<ずらし対象候補の選択効果>
図11は、利用者によるずらし対象候補の選択効果を示すグラフである。図11のグラフ1100は、ディスプレイに表示可能である。グラフ1100は、たとえば、出荷実績が毎年の初回出荷から漸減する季節品の出荷予測を行う場合を想定した例とする。この場合、たとえば、予測に用いる説明変数222として、出荷の1週目W1、2週目W2、3週目W3の3つとする。なお、利用者は、ずらし対象候補を選択する選択画面(不図示)からずらし対象候補を選択可能である。
<Effect of selecting candidates for shifting>
Fig. 11 is a graph showing the effect of a user's selection of candidates for shifting. Graph 1100 in Fig. 11 can be displayed on a display. Graph 1100 is an example assuming a case where shipment forecasting is performed for seasonal products whose shipping performance gradually decreases from the first shipment of each year. In this case, for example, three explanatory variables 222 are used for the forecast: the first week W1, the second week W2, and the third week W3 of the shipment. The user can select the candidates for shifting from a selection screen (not shown) for selecting the candidates for shifting.

本例において、相関算出部800が図9のステップS902を用いてそれぞれの説明変数222(W1~W3)のずらし日数802を算出する場合、相関の取り方によっては、W1~W3の全説明変数222が1週目(2/4~2/10)の出荷実績と最も相関が高いとみなされてしまい、適切な予測が実施できない。そこで、利用者は、W1~W3の各説明変数222をずらし対象801に指定しなければ、予測装置100は、W1~W3の影響を適切に加味した予測を行うことができる。 In this example, when the correlation calculation unit 800 calculates the number of shift days 802 for each explanatory variable 222 (W1 to W3) using step S902 in FIG. 9, depending on how the correlation is calculated, all explanatory variables 222 for W1 to W3 may be deemed to have the highest correlation with the shipping record for the first week (2/4 to 2/10), making it impossible to perform an appropriate prediction. Therefore, if the user does not specify each explanatory variable 222 for W1 to W3 as a shift target 801, the prediction device 100 can perform a prediction that appropriately takes into account the influence of W1 to W3.

つぎに、実施例3について説明する。実施例1および実施例2では、予測対象が一つの場合を説明した。しかし、物流倉庫では多種多様な商品を扱うため、商品種別ごとに分けて予測を行いたい場合が存在する。たとえば、化粧品の場合、出荷先が高級店舗(専門店やデパートメントストアなど)向けと量販店向けの化粧品では出荷傾向が異なる。実施例3では、複数種類のデータを予測対象とする場合の例について説明する。なお、以下に説明する相違点を除き、実施例1および実施例2と同一構成には同一符号を付しその説明を省略する。 Next, Example 3 will be described. In Examples 1 and 2, the case where there is one prediction target has been described. However, since a wide variety of products are handled in a logistics warehouse, there are cases where predictions need to be made separately for each product type. For example, in the case of cosmetics, the shipping trends differ between cosmetics destined for high-end stores (specialty stores, department stores, etc.) and cosmetics destined for mass retailers. In Example 3, an example where multiple types of data are the prediction target will be described. Note that, except for the differences described below, the same components as in Examples 1 and 2 are given the same reference numerals and their description will be omitted.

図9を用いて実施例3の予測処理を説明する。なお、以下の説明では、実施例2で述べた説明変数222の日付をずらす処理を行う例で説明するが、実施例1のように説明変数222をずらさない場合においても、実施例3を実施可能である。 The prediction process of Example 3 will be explained using FIG. 9. Note that in the following explanation, an example will be described in which the process of shifting the date of explanatory variable 222 described in Example 2 is performed, but Example 3 can also be implemented in the case where explanatory variable 222 is not shifted as in Example 1.

予測装置100は処理を開始すると、実績値入力部211により複数の予測対象の実績値221を取り込む(ステップS301)。つぎに、予測装置100は、説明変数入力部212により、説明変数222とずらし対象801を取り込む(ステップS901)。ここで、説明変数入力部212は、ずらし対象801を、ステップS301で取り込んだ実績値221ごとに指定してもよい。 When the prediction device 100 starts processing, the actual value input unit 211 imports actual values 221 of multiple prediction targets (step S301). Next, the prediction device 100 imports explanatory variables 222 and shift targets 801 via the explanatory variable input unit 212 (step S901). Here, the explanatory variable input unit 212 may specify the shift target 801 for each actual value 221 imported in step S301.

つぎに、予測装置100は、相関算出部800により、各実績値221とずらし対象801の説明変数222との相関を取り、各実績値221に対するずらし日数802を決定する(ステップS902)。つぎに、予測装置100は、予測部213により、各予測対象に対してステップS902で決定した各実績値221に対するずらし日数802だけずらした各説明変数222を用いて予測を行い、各予測対象の予測値231、予測精度232、各予測対象に対する各説明変数222の貢献度233を算出する(ステップS903)。 Next, the prediction device 100 uses the correlation calculation unit 800 to find the correlation between each actual value 221 and the explanatory variable 222 of the shift target 801, and determines the number of shift days 802 for each actual value 221 (step S902). Next, the prediction device 100 uses the prediction unit 213 to make a prediction using each explanatory variable 222 shifted by the number of shift days 802 for each actual value 221 determined in step S902 for each prediction target, and calculates the predicted value 231, prediction accuracy 232, and contribution 233 of each explanatory variable 222 to each prediction target (step S903).

つぎに、予測装置100は、予測値出力部214により、各予測対象の予測値231と予測精度232を出力する(ステップS304)。最後に、予測装置100は、情報出力部215により、各予測対象に対する各説明変数222の貢献度233とずらし日数802と除外対象234を出力する(ステップS904)。 Next, the prediction device 100 outputs the predicted value 231 and prediction accuracy 232 of each prediction target through the predicted value output unit 214 (step S304). Finally, the prediction device 100 outputs the contribution 233 of each explanatory variable 222 to each prediction target, the number of shift days 802, and the excluded targets 234 through the information output unit 215 (step S904).

ここで、予測値出力部214は、各予測対象の予測値231と予測精度232を、たとえば図5に示した方法で予測対象ごとに表を分けて出力してもよい。また、情報出力部215は、各説明変数222の貢献度233とずらし日数802と除外対象234を、予測対象ごとにたとえば、図7に示したような第2出力データ700を表示してもよい。 Here, the prediction value output unit 214 may output the prediction value 231 and prediction accuracy 232 of each prediction target in a separate table for each prediction target, for example, in the manner shown in FIG. 5. In addition, the information output unit 215 may display the contribution 233 of each explanatory variable 222, the number of shift days 802, and the excluded targets 234 for each prediction target, for example, as second output data 700 as shown in FIG. 7.

実施例3によって、予測装置100は商品カテゴリごとに予測を行うことができ、利用者は、商品カテゴリごとにどの説明変数222が予測結果に寄与しているかを把握することができる。これにより、たとえば、予測結果を物流倉庫の人員計画等に活用する場合、利用者は、商品カテゴリごとに配置する人員を適切に設定することができる。また、次回以降に予測を行う場合、予測装置100が不要な説明変数222を除いて予測することで、利用者の説明変数222の入手、管理、予測装置100への入力の手間を削減することができる。 According to the third embodiment, the prediction device 100 can make predictions for each product category, and the user can understand which explanatory variables 222 contribute to the prediction results for each product category. As a result, when using the prediction results for personnel planning in a logistics warehouse, for example, the user can appropriately set the personnel to be allocated for each product category. Furthermore, when making predictions from the next time onwards, the prediction device 100 can make predictions excluding unnecessary explanatory variables 222, thereby reducing the user's effort in obtaining, managing, and inputting the explanatory variables 222 into the prediction device 100.

実施例1~実施例3では、説明変数222の重要度として貢献度233を出力することで、利用者に除外対象234(またはずらし対象801)の説明変数222を提示する例を説明した。実施例4では、予測装置100がその他の情報を追加して出力することで、予測精度向上を図る例を説明する。 In the first to third embodiments, an example is described in which the explanatory variables 222 of the exclusion target 234 (or the shift target 801) are presented to the user by outputting the contribution 233 as the importance of the explanatory variables 222. In the fourth embodiment, an example is described in which the prediction device 100 adds and outputs other information to improve prediction accuracy.

物流倉庫では、前述のとおり確保できる人員が限られることから、予測値が実績値を下回る(これを「下振れ」と称す)事象を避けたいという事情がある。人員配置で下振れが発生すると、予測値から実績値を引いた分の人数が不足する。また、日々の予測誤差321をなるべく小さく(予測精度232をなるべく高く)することが求められる。このためには、適切な予測方法を用いるとともに、必要な説明変数222を不足なく加味することが求められる。 As mentioned above, logistics warehouses have a limited number of staff that can be secured, and so they want to avoid an event where the predicted value falls short of the actual value (this is called an "undersaturation"). When undersaturation occurs in staffing, there is a shortage of personnel equal to the predicted value minus the actual value. In addition, it is necessary to make the daily prediction error 321 as small as possible (to make the prediction accuracy 232 as high as possible). To achieve this, it is necessary to use an appropriate prediction method and to take into account the necessary explanatory variables 222 without deficiencies.

そこで、実施例1~実施例3で説明した各説明変数222の貢献度233に加えて、予測装置100は、実績期間の予測結果における下振れの有無をディスプレイに表示するとともに、実績期間の日々の予測誤差321が特に大きい日(たとえば、閾値以上の日)を表示する。これにより、予測に用いた予測方法の妥当性や、説明変数222の不足の可能性を利用者に提示することができる。 Therefore, in addition to the contribution 233 of each explanatory variable 222 described in Examples 1 to 3, the prediction device 100 displays on the display whether or not there is a downward deviation in the prediction results for the performance period, and also displays days on which the daily prediction error 321 for the performance period is particularly large (for example, days above a threshold). This makes it possible to present to the user the validity of the prediction method used for the prediction and the possibility of a shortage of explanatory variables 222.

図12は、除外対象234(またはずらし対象801)の説明変数222の提示例を示す説明図である。図12において、(a)は、実績期間(1/1~1/7)における出荷量の予測値231と実績値221を示す。(b)は、予測に用いた説明変数222(ここではCM放映1201(回/日))をそれぞれ表している。ここで予測装置100は、任意の予測方法1と、CM放映1201を説明変数222とする予測方法2と、を用いて、予測を実行する。 Figure 12 is an explanatory diagram showing an example of the presentation of explanatory variables 222 for the exclusion target 234 (or the shift target 801). In Figure 12, (a) shows the predicted value 231 and actual value 221 of the shipment volume during the actual period (1/1 to 1/7). (b) shows the explanatory variable 222 used in the prediction (here, commercial airing 1201 (times/day)). Here, the prediction device 100 performs prediction using an arbitrary prediction method 1 and a prediction method 2 that uses commercial airing 1201 as the explanatory variable 222.

(c)の表は、上の行から日付402、予測誤差1202、予測方法1の貢献度233、予測方法2の説明変数222であるCM放映1201の貢献度233をあらわしている。ここで、予測結果が下振れを起こした日には予測誤差1202の行に「下振れ」と表示される。また、日々の予測誤差1202が閾値(予測誤差閾値1203。図12の例では式(2)で評価して0.5とする。ただし、予測誤差閾値1203の値は任意。)を超えた場合には、予測装置100は、(c)の表の色を変えて表示する。 The table in (c) shows, from the top row, the date 402, the prediction error 1202, the contribution 233 of prediction method 1, and the contribution 233 of commercial airing 1201, which is the explanatory variable 222 of prediction method 2. Here, on a day when the prediction result falls short, "Falling short" is displayed in the row of the prediction error 1202. Furthermore, if the daily prediction error 1202 exceeds a threshold (prediction error threshold 1203. In the example of FIG. 12, it is evaluated using equation (2) and set to 0.5. However, the value of the prediction error threshold 1203 is arbitrary), the prediction device 100 changes the color of the table in (c) when displaying it.

(c)を見ると、CM放映1201の貢献度233は予測期間を通じて低く、予測結果に殆ど影響を与えていないことがわかる。その一方で、下振れ発生日(1/2~1/4)または予測誤差1202が予測誤差閾値1203以上となる日が実績期間の半数以上を占めていることがわかる。そのような場合に、(c)で示したように、予測方法1の貢献度233が高く、予測方法2の説明変数222であるCM放映1201の貢献度233がいずれも所定値よりも低い場合は、予測に用いている予測方法1およびCM放映1201の両方または片方が適切ではない可能性がある。 (c) shows that the contribution 233 of commercial airing 1201 is low throughout the prediction period, and has almost no impact on the prediction results. On the other hand, it can be seen that the days when the downside occurred (1/2 to 1/4) or the days when the prediction error 1202 was equal to or greater than the prediction error threshold 1203 account for more than half of the actual period. In such a case, as shown in (c), if the contribution 233 of prediction method 1 is high and the contribution 233 of commercial airing 1201, which is the explanatory variable 222 of prediction method 2, is both lower than a specified value, it is possible that either or both of the prediction methods 1 and/or commercial airing 1201 used in the prediction are inappropriate.

ここで、たとえば、情報出力部215は、通知欄703に実績期間における、下振れ発生日または予測誤差1202が予測誤差閾値1203以上となる日の合計を表示する。そして、その合計が実績期間の日数のうち所定日数(たとえば、半数)以上を占める場合には、予測方法の変更や、予測に用いる説明変数222の追加・変更、または各説明変数222のずらし対象801の指定の変更を促す通知を表示する(図示省略)。これにより、利用者は予測方法の変更の必要性に気づくとともに、予測に用いる説明変数222の変更、ずらし対象801の変更の必要性に気づくことができる。 Here, for example, the information output unit 215 displays in the notification field 703 the total number of days during the performance period when a downturn occurred or when the forecast error 1202 was equal to or greater than the forecast error threshold 1203. If this total accounts for a predetermined number of days (e.g., half) or more of the days in the performance period, a notification is displayed (not shown) encouraging the user to change the forecast method, add or change the explanatory variables 222 used in the forecast, or change the shift target 801 of each explanatory variable 222. This allows the user to become aware of the need to change the forecast method, as well as the need to change the explanatory variables 222 used in the forecast and the shift target 801.

また、予測装置100は、下振れした日について再度出荷量を予測し、予測誤差が最小となる(予測精度が最大となる)ように貢献度233を設定してもよい。予測装置100は、再予測の前後で貢献度233が所定値以上下がっていれば、悪影響を与えているため、その予測方法1または説明変数222を強調表示するなどして通知してもよい。 The prediction device 100 may also re-predict the shipment volume for the day on which the forecast fell short, and set the contribution 233 so that the prediction error is minimized (the prediction accuracy is maximized). If the contribution 233 has fallen by a predetermined value or more before and after the re-prediction, the prediction device 100 may notify the user that a negative impact has occurred by highlighting the prediction method 1 or explanatory variable 222.

なお、実施例4では下振れについて説明したが、予測値が実績値を上回る(これを「上振れ」と称す)事象についても同様である。すなわち、実施例1~実施例3で説明した各説明変数222の貢献度233に加えて、予測装置100は、実績期間の予測結果における上振れの有無をディスプレイに表示するとともに、実績期間の日々の予測誤差321が特に大きい日(特定の誤差以上)を表示する。これにより、予測に用いた予測方法の妥当性や、説明変数222の不足の可能性を利用者に提示することができる。 Note that while underperformance has been described in Example 4, the same applies to events in which the predicted value exceeds the actual value (called an "overperformance"). That is, in addition to the contribution 233 of each explanatory variable 222 described in Examples 1 to 3, the prediction device 100 displays on the display whether or not there is an overperformance in the prediction results for the actual period, and also displays days in the actual period where the daily prediction error 321 is particularly large (above a specific error). This makes it possible to present to the user the validity of the prediction method used for the prediction, and the possibility of a shortage of explanatory variables 222.

また、物流現場に限らず、他の現場においても実施例~実施例4を適用することができる。たとえば、生産現場でも、消費者のデータを入手困難などの理由でなるべく少ない説明変数222で需要を予測することが求められる。実施例~実施例4を生産現場に適用すれば、予測装置100が2回目以降に予測を行う際に不要な説明変数222を除外して高精度な予測を行うことができ、利用者が説明変数222を管理したり入手したりする手間を削減することが可能である。 Furthermore, the embodiments to the fourth embodiment can be applied not only to logistics sites but also to other sites. For example, even in production sites, it is required to predict demand with as few explanatory variables 222 as possible due to reasons such as the difficulty in obtaining consumer data. If the embodiments to the fourth embodiment are applied to a production site, the prediction device 100 can perform highly accurate predictions by excluding unnecessary explanatory variables 222 when making predictions from the second time onwards, and it is possible to reduce the effort required for users to manage and obtain the explanatory variables 222.

なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。たとえば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加、削除、または置換をしてもよい。 The present invention is not limited to the above-described embodiments, but includes various modified examples and equivalent configurations within the spirit of the appended claims. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to having all of the configurations described. Furthermore, a portion of the configuration of one embodiment may be replaced with the configuration of another embodiment. Furthermore, the configuration of another embodiment may be added to the configuration of one embodiment. Furthermore, other configurations may be added, deleted, or replaced with part of the configuration of each embodiment.

また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、たとえば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサ101がそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。 Furthermore, each of the configurations, functions, processing units, processing means, etc. described above may be realized in part or in whole in hardware, for example by designing them as integrated circuits, or may be realized in software by having the processor 101 interpret and execute a program that realizes each function.

各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、IC(Integrated Circuit)カード、SDカード、DVD(Digital Versatile Disc)の記録媒体に格納することができる。 Information such as programs, tables, and files that realize each function can be stored in a storage device such as a memory, hard disk, or SSD (Solid State Drive), or in a recording medium such as an IC (Integrated Circuit) card, SD card, or DVD (Digital Versatile Disc).

また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。 In addition, the control lines and information lines shown are those considered necessary for explanation, and do not necessarily represent all control lines and information lines necessary for implementation. In reality, it is safe to assume that almost all components are interconnected.

100 予測装置
101 プロセッサ
102 記憶デバイス
211 実績値入力部
212 説明変数入力部
213 予測部
214 予測値出力部
215 情報出力部
221 実績値
222 説明変数
231 予測値
232 予測精度
233 貢献度
234 除外対象
321 予測誤差
800 相関算出部
1202 予測誤差
1203予測誤差閾値
100 Prediction device 101 Processor 102 Storage device 211 Actual value input unit 212 Explanatory variable input unit 213 Prediction unit 214 Prediction value output unit 215 Information output unit 221 Actual value 222 Explanatory variable 231 Prediction value 232 Prediction accuracy 233 Contribution degree 234 Excluded object 321 Prediction error 800 Correlation calculation unit 1202 Prediction error 1203 Prediction error threshold

Claims (10)

予測対象の実績値と複数の説明変数の各々の時系列データとに基づいて予測対象の予測値を予測する予測装置であって、
プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、
前記プロセッサは、
前記実績値と前記予測値とに基づいて予測精度を算出し、
前記複数の説明変数のうち第1説明変数の時系列データを用いて予測した第1予測値と、前記複数の説明変数のうち前記第1説明変数とは異なる第2説明変数の時系列データを用いて予測した第2予測値と、前記予測精度と、に基づいて、前記第1説明変数が前記予測値に与えた影響の度合いである第1貢献度と、前記第2説明変数が前記予測値に与えた影響の度合いである第2貢献度と、を算出し、
前記第1貢献度と前記第2貢献度とに基づいて、前記複数の説明変数から除外される除外対象の説明変数を決定し、
前記除外対象を出力し、
前記第1予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第1説明変数の時系列データを用いて前記第1予測値を再予測し、
前記第2予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第2説明変数の時系列データを用いて前記第2予測値を再予測し、
前記予測精度と、前記再予測された前記第1予測値と、前記再予測された前記第2予測値と、に基づいて、前記第1貢献度と、前記第2貢献度と、を算出する、
ことを特徴とする予測装置。
A prediction device that predicts a predicted value of a prediction target based on an actual value of the prediction target and time series data of each of a plurality of explanatory variables, comprising:
A processor for executing a program and a storage device for storing the program,
The processor,
Calculating prediction accuracy based on the actual value and the predicted value;
calculating a first contribution degree, which is a degree of influence that the first explanatory variable has on the predicted value, and a second contribution degree, which is a degree of influence that the second explanatory variable has on the predicted value, based on a first predicted value predicted using time-series data of a first explanatory variable among the plurality of explanatory variables, a second predicted value predicted using time-series data of a second explanatory variable among the plurality of explanatory variables different from the first explanatory variable, and the prediction accuracy;
determining an explanatory variable to be excluded from the plurality of explanatory variables based on the first contribution degree and the second contribution degree;
Outputting the excluded object;
re-predicting the first predicted value using time-series data of the first explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the first predicted value falls below the actual value;
re-predicting the second predicted value using time-series data of the second explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the second predicted value falls below the actual value;
calculating the first contribution and the second contribution based on the prediction accuracy, the re-predicted first predicted value, and the re-predicted second predicted value;
A prediction device comprising:
予測対象の実績値と複数の説明変数の各々の時系列データとに基づいて予測対象の予測値を予測する予測装置であって、
プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、
前記プロセッサは、
前記実績値と前記予測値とに基づいて予測精度を算出し、
前記複数の説明変数のうち第1説明変数の時系列データを用いて予測した第1予測値と、前記複数の説明変数のうち前記第1説明変数とは異なる第2説明変数の時系列データを用いて予測した第2予測値と、前記予測精度と、に基づいて、前記第1説明変数が前記予測値に与えた影響の度合いである第1貢献度と、前記第2説明変数が前記予測値に与えた影響の度合いである第2貢献度と、を算出し、
前記第1貢献度と前記第2貢献度とに基づいて、前記複数の説明変数から除外される除外対象の説明変数を決定し、
前記複数の説明変数のうち前記除外対象を除いた残余の説明変数の時系列データを用いて、前記予測対象の予測値を予測し、
前記第1予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第1説明変数の時系列データを用いて前記第1予測値を再予測し、
前記第2予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第2説明変数の時系列データを用いて前記第2予測値を再予測し、
前記予測精度と、前記再予測された前記第1予測値と、前記再予測された前記第2予測値と、に基づいて、前記第1貢献度と、前記第2貢献度と、を算出する、
することを特徴とする予測装置。
A prediction device that predicts a predicted value of a prediction target based on an actual value of the prediction target and time series data of each of a plurality of explanatory variables, comprising:
A processor for executing a program and a storage device for storing the program,
The processor,
Calculating prediction accuracy based on the actual value and the predicted value;
calculating a first contribution degree, which is a degree of influence that the first explanatory variable has on the predicted value, and a second contribution degree, which is a degree of influence that the second explanatory variable has on the predicted value, based on a first predicted value predicted using time-series data of a first explanatory variable among the plurality of explanatory variables, a second predicted value predicted using time-series data of a second explanatory variable among the plurality of explanatory variables different from the first explanatory variable, and the prediction accuracy;
determining an explanatory variable to be excluded from the plurality of explanatory variables based on the first contribution degree and the second contribution degree;
predicting a predicted value of the prediction target using time series data of remaining explanatory variables excluding the excluded variable from among the plurality of explanatory variables;
re-predicting the first predicted value using time-series data of the first explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the first predicted value falls below the actual value;
re-predicting the second predicted value using time-series data of the second explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the second predicted value falls below the actual value;
calculating the first contribution and the second contribution based on the prediction accuracy, the re-predicted first predicted value, and the re-predicted second predicted value;
A prediction device comprising:
請求項2に記載の予測装置であって、
前記プロセッサは、
第1予測方法により、前記第1予測値および前記第2予測値を算出し、
前記第1予測方法よりも処理時間が長いが前記第1予測方法よりも予測精度が高い第2予測方法により、前記残余の説明変数の時系列データを用いて、前記予測対象の予測値を予測する、
ことを特徴とする予測装置。
The prediction device according to claim 2,
The processor,
Calculating the first predicted value and the second predicted value by a first prediction method;
predicting a predicted value of the prediction target using time-series data of the remaining explanatory variables by a second prediction method that has a longer processing time than the first prediction method but has higher prediction accuracy than the first prediction method;
A prediction device comprising:
請求項1に記載の予測装置であって、
前記プロセッサは、
前記第1説明変数の時系列データをずらし対象に指定し、
前記実績値と、前記第1説明変数の時系列データと、の相関に基づいて、前記第1説明変数の時系列データのずらし方向およびずらし量を決定し、
前記第1説明変数の時系列データを前記ずらし方向に前記ずらし量分ずらしたずらし後の第1説明変数の時系列データを用いて予測したずらし後の第1予測値と、前記第2説明変数の時系列データを用いて予測した第2予測値と、に基づいて、前記ずらし後の第1貢献度と、前記第2貢献度と、を算出し、
前記ずらし後の第1貢献度と前記第2貢献度とに基づいて、前記除外対象の説明変数を決定する、
ことを特徴とする予測装置。
The prediction device according to claim 1 ,
The processor,
The time series data of the first explanatory variable is designated as a shift target;
determining a shift direction and a shift amount of the time series data of the first explanatory variable based on a correlation between the performance value and the time series data of the first explanatory variable;
calculating the first contribution degree and the second contribution degree after the shift based on a first predicted value after the shift, which is predicted using the time series data of the first explanatory variable after shifting the time series data of the first explanatory variable by the shift amount in the shift direction, and a second predicted value after the shift, which is predicted using the time series data of the second explanatory variable;
determining explanatory variables to be excluded based on the first contribution degree and the second contribution degree after the shift;
A prediction device comprising:
請求項4に記載の予測装置であって、
前記プロセッサは、
前記相関が最大となる前記ずらし方向および前記ずらし量を決定する、
ことを特徴とする予測装置。
The prediction device according to claim 4,
The processor,
determining the shift direction and the shift amount that maximize the correlation;
A prediction device comprising:
請求項1に記載の予測装置であって、The prediction device according to claim 1 ,
前記プロセッサは、The processor,
前記予測対象ごとに、前記第1説明変数の貢献度と、前記第2説明変数の貢献度と、を算出し、Calculating the contribution of the first explanatory variable and the contribution of the second explanatory variable for each prediction target;
前記予測対象ごとに、前記除外対象の説明変数を決定し、determining explanatory variables for the excluded objects for each of the prediction objects;
前記予測対象ごとに、前記除外対象を出力する、outputting the excluded object for each of the predicted objects;
ことを特徴とする予測装置。A prediction device comprising:
請求項1に記載の予測装置であって、The prediction device according to claim 1 ,
前記プロセッサは、The processor,
前記実績値と前記予測値との差が第1許容範囲外となった期間を出力する、outputting a period during which the difference between the actual value and the predicted value falls outside a first allowable range;
ことを特徴とする予測装置。A prediction device comprising:
請求項1に記載の予測装置であって、The prediction device according to claim 1 ,
前記プロセッサは、The processor,
前記予測精度が第2許容範囲外となった期間を出力する、outputting a period during which the prediction accuracy falls outside a second acceptable range;
ことを特徴とする予測装置。A prediction device comprising:
予測対象の実績値と複数の説明変数の各々の時系列データとに基づいて予測対象の予測値を予測する予測装置が実行する予測方法であって、A prediction method executed by a prediction device that predicts a predicted value of a prediction target based on an actual value of the prediction target and time-series data of each of a plurality of explanatory variables, comprising:
プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、A processor for executing a program and a storage device for storing the program,
前記予測方法は、The prediction method includes:
前記プロセッサが、The processor,
前記実績値と前記予測値とに基づいて予測精度を算出し、Calculating prediction accuracy based on the actual value and the predicted value;
前記複数の説明変数のうち第1説明変数の時系列データを用いて予測した第1予測値と、前記複数の説明変数のうち前記第1説明変数とは異なる第2説明変数の時系列データを用いて予測した第2予測値と、前記予測精度と、に基づいて、前記第1説明変数が前記予測値に与えた影響の度合いである第1貢献度と、前記第2説明変数が前記予測値に与えた影響の度合いである第2貢献度と、を算出し、calculating a first contribution degree, which is a degree of influence that the first explanatory variable has on the predicted value, and a second contribution degree, which is a degree of influence that the second explanatory variable has on the predicted value, based on a first predicted value predicted using time-series data of a first explanatory variable among the plurality of explanatory variables, a second predicted value predicted using time-series data of a second explanatory variable among the plurality of explanatory variables different from the first explanatory variable, and the prediction accuracy;
前記第1貢献度と前記第2貢献度とに基づいて、前記複数の説明変数から除外される除外対象の説明変数を決定し、determining an explanatory variable to be excluded from the plurality of explanatory variables based on the first contribution degree and the second contribution degree;
前記除外対象を出力し、Outputting the excluded object;
前記第1予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第1説明変数の時系列データを用いて前記第1予測値を再予測し、re-predicting the first predicted value using time-series data of the first explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the first predicted value falls below the actual value;
前記第2予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第2説明変数の時系列データを用いて前記第2予測値を再予測し、re-predicting the second predicted value using time-series data of the second explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the second predicted value falls below the actual value;
前記予測精度と、前記再予測された前記第1予測値と、前記再予測された前記第2予測値と、に基づいて、前記第1貢献度と、前記第2貢献度と、を算出する、calculating the first contribution and the second contribution based on the prediction accuracy, the re-predicted first predicted value, and the re-predicted second predicted value;
ことを特徴とする予測方法。A prediction method comprising:
予測対象の実績値と複数の説明変数の各々の時系列データとに基づいて予測対象の予測値を予測する予測装置が実行する予測方法であって、A prediction method executed by a prediction device that predicts a predicted value of a prediction target based on an actual value of the prediction target and time-series data of each of a plurality of explanatory variables, comprising:
プログラムを実行するプロセッサと、前記プログラムを記憶する記憶デバイスと、を有し、A processor for executing a program and a storage device for storing the program,
前記プロセッサは、The processor,
前記実績値と前記予測値とに基づいて予測精度を算出し、Calculating prediction accuracy based on the actual value and the predicted value;
前記複数の説明変数のうち第1説明変数の時系列データを用いて予測した第1予測値と、前記複数の説明変数のうち前記第1説明変数とは異なる第2説明変数の時系列データを用いて予測した第2予測値と、前記予測精度と、に基づいて、前記第1説明変数が前記予測値に与えた影響の度合いである第1貢献度と、前記第2説明変数が前記予測値に与えた影響の度合いである第2貢献度と、を算出し、calculating a first contribution degree, which is a degree of influence that the first explanatory variable has on the predicted value, and a second contribution degree, which is a degree of influence that the second explanatory variable has on the predicted value, based on a first predicted value predicted using time-series data of a first explanatory variable among the plurality of explanatory variables, a second predicted value predicted using time-series data of a second explanatory variable among the plurality of explanatory variables different from the first explanatory variable, and the prediction accuracy;
前記第1貢献度と前記第2貢献度とに基づいて、前記複数の説明変数から除外される除外対象の説明変数を決定し、determining an explanatory variable to be excluded from the plurality of explanatory variables based on the first contribution degree and the second contribution degree;
前記複数の説明変数のうち前記除外対象を除いた残余の説明変数の時系列データを用いて、前記予測対象の予測値を予測し、predicting a predicted value of the prediction target using time series data of remaining explanatory variables excluding the excluded variable from among the plurality of explanatory variables;
前記第1予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第1説明変数の時系列データを用いて前記第1予測値を再予測し、re-predicting the first predicted value using time-series data of the first explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the first predicted value falls below the actual value;
前記第2予測値が前記実績値を下回る事象が発生した時点において、前記予測精度が最大となるように前記第2説明変数の時系列データを用いて前記第2予測値を再予測し、re-predicting the second predicted value using time-series data of the second explanatory variable so as to maximize the prediction accuracy at a time point when an event occurs in which the second predicted value falls below the actual value;
前記予測精度と、前記再予測された前記第1予測値と、前記再予測された前記第2予測値と、に基づいて、前記第1貢献度と、前記第2貢献度と、を算出する、calculating the first contribution and the second contribution based on the prediction accuracy, the re-predicted first predicted value, and the re-predicted second predicted value;
ことを特徴とする予測方法。A prediction method comprising:
JP2019192833A 2019-10-23 2019-10-23 Prediction device and prediction method Active JP7532707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019192833A JP7532707B2 (en) 2019-10-23 2019-10-23 Prediction device and prediction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019192833A JP7532707B2 (en) 2019-10-23 2019-10-23 Prediction device and prediction method

Publications (2)

Publication Number Publication Date
JP2021068173A JP2021068173A (en) 2021-04-30
JP7532707B2 true JP7532707B2 (en) 2024-08-14

Family

ID=75637477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019192833A Active JP7532707B2 (en) 2019-10-23 2019-10-23 Prediction device and prediction method

Country Status (1)

Country Link
JP (1) JP7532707B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027634A (en) 1999-07-13 2001-01-30 Hitachi Ltd Water quality monitoring system
WO2018207878A1 (en) 2017-05-11 2018-11-15 株式会社Nttドコモ Demand forecast device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001027634A (en) 1999-07-13 2001-01-30 Hitachi Ltd Water quality monitoring system
WO2018207878A1 (en) 2017-05-11 2018-11-15 株式会社Nttドコモ Demand forecast device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
唐澤 豊 ,SCMハンドブック ,第1版,日本,共立出版株式会社,2018年03月10日,p.912-914
林 雄亮,SPSSによる実践統計分析,第1版,株式会社オーム社,2017年05月25日,p.198

Also Published As

Publication number Publication date
JP2021068173A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
EP3561749A1 (en) Inventory management apparatus, inventory management method, and storage medium
US20200134642A1 (en) Method and system for validating ensemble demand forecasts
US10699248B2 (en) Inspection management system and inspection management method
US20230409014A1 (en) Industrial Bottleneck Detection and Management Method and System
US9990597B2 (en) System and method for forecast driven replenishment of merchandise
JP2007279876A (en) Production planning method and production planning system
JP7393244B2 (en) Time series data prediction device and time series data prediction method
JP2012155684A (en) Lifetime demand prediction method, program and lifetime demand prediction device
US11042823B2 (en) Business management system
JP6012860B2 (en) Work time estimation device
US20160292625A1 (en) Product data analysis
US10222788B2 (en) Plan generating device and plan generating method
JP2016099739A (en) Order quantity determination device, order quantity determination method and order quantity determination program
JP7696287B2 (en) Sales volume forecasting system, sales volume forecasting method
JP7532707B2 (en) Prediction device and prediction method
JP2022101879A (en) Demand forecasting apparatus, demand forecasting method, and program
US20230044694A1 (en) Action evaluation system, action evaluation method, and recording medium
JP6695298B2 (en) Order control device
JP2017016297A (en) Economic indicator evaluation device, economic indicator evaluation method, and computer program
JP2020190980A (en) Deterioration estimation device, deterioration estimation system, deterioration estimation method and deterioration estimation program
JP7311270B2 (en) Scheduling system, schedule generator, preference value calculator, program, and method thereof
US20160300180A1 (en) Product data analysis
Omri et al. On the inventory performance of hierarchical forecasting approaches: case of a vaccine supply chain
JP7264715B2 (en) Volume prediction method and volume prediction system
JP7572889B2 (en) Parts demand trend analysis system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220701

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20231205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240119

TRDD Decision of grant or rejection written
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20240412

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240416

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240514

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240716

R150 Certificate of patent or registration of utility model

Ref document number: 7532707

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150