JP7413843B2 - Information processing device, information processing method and program - Google Patents
Information processing device, information processing method and program Download PDFInfo
- Publication number
- JP7413843B2 JP7413843B2 JP2020034772A JP2020034772A JP7413843B2 JP 7413843 B2 JP7413843 B2 JP 7413843B2 JP 2020034772 A JP2020034772 A JP 2020034772A JP 2020034772 A JP2020034772 A JP 2020034772A JP 7413843 B2 JP7413843 B2 JP 7413843B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- classification model
- predicted value
- information processing
- prediction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 46
- 238000003672 processing method Methods 0.000 title claims description 3
- 238000013145 classification model Methods 0.000 claims description 99
- 238000000034 method Methods 0.000 claims description 43
- 238000003066 decision tree Methods 0.000 claims description 41
- 230000005611 electricity Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 32
- 238000013500 data storage Methods 0.000 description 16
- 239000013598 vector Substances 0.000 description 16
- 238000004364 calculation method Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 8
- 239000000284 extract Substances 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 3
- 244000141353 Prunus domestica Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、情報処理装置、情報処理方法及びプログラムに関する。 The present invention relates to an information processing device, an information processing method, and a program.
特許文献1には、予測対象日の電力需要量を予測することが記載されている。
予測対象(例えば電力需要量)の予測値を予測モデルに基づいて求めた場合、予測値と予測対象の実績値との間には誤差が生じる。また、経時的に変化する予測対象の予測値を予測モデルに基づいて求めた場合には、予測モデルの生成後から時間が経過すると、予測値と実績値との誤差が大きくなり、予測値の精度が低下するおそれがある。 When a predicted value of a prediction target (for example, electric power demand) is obtained based on a prediction model, an error occurs between the predicted value and the actual value of the prediction target. In addition, when the predicted value of a prediction target that changes over time is obtained based on a prediction model, the error between the predicted value and the actual value increases as time passes after the prediction model is generated, and the predicted value Accuracy may decrease.
本発明は、経時的に変化する予測対象の予測精度を高めることを目的とする。 An object of the present invention is to improve the prediction accuracy of a prediction target that changes over time.
前述した課題を解決するための手段の第1の態様は、経時的に変化する所定の要因を示す第1データを取得する第1取得部と、経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得部と、複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成部と、を含む情報処理装置である。 A first aspect of the means for solving the above-mentioned problem includes a first acquisition unit that acquires first data indicating a predetermined factor that changes over time, and a first acquisition unit that acquires first data indicating a predetermined factor that changes over time, and a first acquisition unit that acquires first data that indicates a predetermined factor that changes over time, and a first acquisition unit that acquires first data that indicates a predetermined factor that changes over time, and a first acquisition unit that acquires first data that indicates a predetermined factor that changes over time. a second acquisition unit that acquires second data indicating an error between the first predicted value calculated by the method and the actual value of the prediction target; and a classification that determines the class according to the factor from among a plurality of classes. the classification model in which third data for correcting the first predicted value and calculating the second predicted value is associated with each of the classes; An information processing apparatus includes a classification model generation unit that generates a classification model based on.
また、前述した課題を解決するための手段の第2の態様は、コンピューターが、経時的に変化する所定の要因の第1データを取得する第1取得処理と、経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得処理と、複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成処理と、を実行する情報処理方法である。 Further, a second aspect of the means for solving the above-mentioned problem is a first acquisition process in which a computer acquires first data of a predetermined factor that changes over time, and a first acquisition process in which a computer acquires first data of a predetermined factor that changes over time. a second acquisition process for acquiring second data indicating an error between a first predicted value calculated based on a prediction model and the actual value of the prediction target; and a second acquisition process that selects the class from among a plurality of classes according to the factor. a classification model that determines a classification model in which third data for correcting the first predicted value and calculating a second predicted value is associated with each of the classes, and the first data and the third data for calculating the second predicted value. and a classification model generation process generated based on the second data.
また、前述した課題を解決するための手段の第3の態様は、コンピューターに、経時的に変化する所定の要因の第1データを取得する第1取得処理と、経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得処理と、複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成処理と、を実行させるプログラムである。 Further, a third aspect of the means for solving the above-mentioned problem is to provide a computer with a first acquisition process of acquiring first data of a predetermined factor that changes over time, and a prediction target that changes over time. a second acquisition process for acquiring second data indicating an error between a first predicted value calculated based on a prediction model and the actual value of the prediction target; and a second acquisition process that selects the class from among a plurality of classes according to the factor. a classification model that determines a classification model in which third data for correcting the first predicted value and calculating a second predicted value is associated with each of the classes, and the first data and the third data for calculating the second predicted value. This program executes a classification model generation process that is generated based on the second data.
本発明によれば、経時的に変化する予測対象の予測精度を高めることができる。 According to the present invention, it is possible to improve the prediction accuracy of a prediction target that changes over time.
本明細書および添付図面の記載により、少なくとも以下の事項が明らかとなる。以下、本発明をその一実施形態に即して添付図面を参照しつつ説明する。 From the description of this specification and the attached drawings, at least the following matters will become clear. DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below based on one embodiment thereof with reference to the accompanying drawings.
=====本実施形態=====
<構成>
図1は、本実施形態の情報処理装置1のハードウェアを示すブロック図である。
=====This embodiment =====
<Configuration>
FIG. 1 is a block diagram showing the hardware of the
本実施形態の情報処理装置1は、予測対象の予測値を予測モデルに基づいて求めるための予測装置である。本実施形態では、予測対象が電力需要量であり、情報処理装置1は、予測時点では未来の日となる予測対象日の電力需要量の予測値を求めることになる。但し、予測対象は、電力需要量に限られるものではなく、例えば電力市場価格でも良い。また、予測対象は、電力に関するものに限られるものではなく、例えば商品の売上(売上数や売上額など)でも良い。情報処理装置1は、例えばパーソナルコンピュータやサーバーなどのコンピューターによって構成される。情報処理装置1は、1台のコンピューターで構成されても良いし、複数台のコンピューターで構成されても良い。
The
情報処理装置1は、CPU11、記憶装置12、通信装置13を有する。CPU11は、予測装置の制御を司る演算処理装置である。記憶装置12は、RAM等の主記憶装置やハードディスクドライブやSSD(Solid State Drive)等の補助記憶装置である。記憶装置12は、プログラムやデータ等を記憶する。記憶装置12に記憶されているプログラムをCPU11が読み出して実行することにより、後述する各種処理が実行される。なお、記憶装置12は、情報処理装置1(コンピュータ-)に後述する各種処理を実行させるプログラムを記録する非一過性の記憶媒体(non-transitory storage medium)を含む。通信装置13は、通信ネットワーク3に接続するための通信モジュールである。なお、通信ネットワーク3は、例えば電話回線網(公衆電話回線網や携帯電話回線網)、無線通信網、インターネット、LANなどであり、ここではインターネットを想定している。情報処理装置1は、表示装置14(例えばディスプレイ)や入力装置15(例えばキーボード、マウス)を備えていても良い。
The
図2は、本実施形態の情報処理装置1の機能を示すブロック図である。情報処理装置1は、制御部20と、データ記憶部30とを有する。
FIG. 2 is a block diagram showing the functions of the
制御部20は、情報処理装置1が行うべき各種処理の制御を行う。制御部20は、CPU11が記憶装置12に記憶されている制御プログラムを実行して各種制御を行うことによって実現される。制御部20は、データ取得部21、予測モデル生成部22、第1予測部23、分類モデル生成部24及び第2予測部25の各機能を有する。データ取得部21は、各種データを取得する機能を有する。なお、データ取得部21は、入力データ取得部210と、第1取得部211と、第2取得部212とを有する。予測モデル生成部22は、予測モデル(後述)を生成する機能を有する。第1予測部23は、予測モデルを用いて第1予測値を求める機能を有する。分類モデル生成部24は、第1予測値と実績値との誤差の傾向を分析して分類モデル(後述)を生成する機能を有する。第2予測部25は、分類モデルを用いて得られた補正値に基づいて第1予測値を補正して、第2予測値を求める補正部としての機能を有する。これらの各機能については、後述する。
The
データ記憶部30は、所定のデータを記憶するための記憶部である。データ記憶部30は、記憶装置12の記憶領域の一部により実現される。ここでは、データ記憶部30は、予測対象の実績値、要因データ、予測値、誤差、補正値などの各種データを記憶する。
The
図3は、予測対象の実績値のデータの説明図である。本実施形態では、予測対象が電力需要量であるため、図3は、電力需要量の実績値のデータを示している。なお、実績値は、過去における実際の値を示している。本実施形態の予測対象は経時的に変化しており、予測対象の実績値のデータは、所定の期間と、当該期間の予測対象の実績値とを対応付けたデータとしている。ここでは、所定の期間は、1日を24分割した1時間分の時間帯としているが、これに限られるものではなく、例えば、2時間分の期間(時間帯)でも良いし、1日分の期間でも良い。データ取得部21は、所定の期間ごとに、当該期間における予測対象の実績値を取得して、当該期間と実績値とを対応付けたデータをデータ記憶部30に蓄積する。本実施形態の場合、データ取得部21は、1時間ごとに、その時間における電力需要量の実績値を取得して、当該時間帯と電力需要量の実績値とを対応付けてデータ記憶部30に蓄積することによって、図3に示す予測対象実績データを生成することになる。
FIG. 3 is an explanatory diagram of data of actual values to be predicted. In this embodiment, since the prediction target is the power demand amount, FIG. 3 shows the data of the actual value of the power demand amount. Note that the actual value indicates an actual value in the past. The prediction target of this embodiment changes over time, and the data of the actual value of the prediction target is data that associates a predetermined period with the actual value of the prediction target for the period. Here, the predetermined period is a one-hour time period obtained by dividing a day into 24, but it is not limited to this. For example, it may be a two-hour period (time period) or one day. It may be a period of The
要因データは、予測対象に影響を与える要因のデータである。予測対象に影響を与える要因のデータも経時的に変化しており、要因データは、所定の期間と、当該期間の各要因の実績値又は予測値とを対応付けたデータとしている。ここでは、要因データは、気象データ及び曜日データを含んでいる。但し、要因データは、気象や曜日以外のデータを含んでいても良いし、気象データ及び曜日データの一方のデータだけを含んでいても良い。要因データは、過去における要因の実績値でも良いし、未来における要因の予測値でも良い。 The factor data is data on factors that influence the prediction target. Data on factors that influence the prediction target also changes over time, and the factor data is data that associates a predetermined period with the actual value or predicted value of each factor for the period. Here, the factor data includes weather data and day of the week data. However, the factor data may include data other than the weather and the day of the week, or may include only one of the weather data and the day of the week data. The factor data may be actual values of factors in the past or predicted values of factors in the future.
図4Aは、気象データの説明図である。本実施形態の気象データは、所定の期間と、当該期間の気温及び湿度とを対応付けたデータとなる。ここでは、所定の期間は、1日を24分割した1時間分の時間帯としているが、これに限られるものではない。また、気温及び湿度以外の気象要因(例えば不快指数、日照時間、天気など)が対応付けられても良い。また、図4Bに示すように、1日分の期間に対して、最高気温、最低気温、最高湿度及び最低湿度が対応付けられても良い。データ取得部21は、所定の期間ごとに、当該期間における気象データを取得して、気象データをデータ記憶部30に蓄積し、図4Aに示す気象データを生成する。なお、データ取得部21は、図4Aの気象データに基づいて、図4Bに示す別の気象データを生成しても良い。
FIG. 4A is an explanatory diagram of weather data. The weather data of this embodiment is data in which a predetermined period is associated with the temperature and humidity of the period. Here, the predetermined period is a one-hour time period obtained by dividing one day into 24, but is not limited to this. Furthermore, meteorological factors other than temperature and humidity (for example, discomfort index, sunshine hours, weather, etc.) may be associated. Furthermore, as shown in FIG. 4B, maximum temperature, minimum temperature, maximum humidity, and minimum humidity may be associated with one day's period. The
図5Aは、曜日データの説明図である。曜日データは、日付と、当該日付の属性を示すフラグとを対応付けたデータである。ここでは、フラグの示す値は、土曜日と、日曜日と、月曜日(休日の翌日)と、月曜日以外の平日とを区別する。但し、フラグは、これに限られるものではなく、例えば図5Bに示すように平日と休日を区別するデータでも良いし、金曜日(休日の前日)を区別可能なデータでも良いし、曜日ごとの7種類のフラグでも良い。また、祝日を示すフラグがあっても良い。 FIG. 5A is an explanatory diagram of day of the week data. Day of the week data is data in which a date is associated with a flag indicating an attribute of the date. Here, the value indicated by the flag distinguishes between Saturday, Sunday, Monday (the day after a holiday), and weekdays other than Monday. However, the flag is not limited to this; for example, as shown in FIG. It can be any type of flag. Additionally, there may be a flag indicating a holiday.
なお、データ記憶部30が記憶する他のデータ(予測値、誤差及び補正値など)については、後述する説明から明らかとなる。
Note that other data (predicted values, errors, correction values, etc.) stored in the
<参考:予測モデルについて>
図6は、予測モデルの説明図である。予測モデルは、入力データに応じた予測結果(出力データ)を得るためのモデルであり、関数のような機能を有する。第1予測部23は、予測モデルを用いて、要因データ(入力データ)から第1予測値(出力データ)を算出する。本実施形態では、予測モデルに入力される要因データ(入力データ)は、例えば気象データや曜日データである。また、本実施形態では、予測モデルから出力される予測値(第1予測値)は、要求点(予測対象日の所定時刻)における電力需要量の予測値である。
<Reference: About prediction models>
FIG. 6 is an explanatory diagram of the prediction model. A prediction model is a model for obtaining a prediction result (output data) according to input data, and has a function-like function. The
図7は、予測モデルの一例の説明図である。図中の予測モデルは、CPU11が記憶装置12に記憶されている制御プログラムを実行することによって実現される。本実施形態の制御部20は、図中の各処理を行うための入力データ取得部210や第1予測部23などを有する(図2参照)。
FIG. 7 is an explanatory diagram of an example of a prediction model. The prediction model in the figure is realized by the
まず、入力データ取得部210は、予測モデルの入力データとなる要因データを取得する。ここでは、入力データ取得部210は、要求点における気象データの予測値や、要求点の直前の気象データの実績値や、曜日データなどを、データ記憶部30に記憶されている要因データから取得する。なお、入力データ取得部210は、外部のデータベースから要因データ(例えば気象データの予測値)を取得しても良い。入力データ取得部210は、取得した要因データを入力データとして第1予測部23に受け渡す。ここでは、入力データをベクトルxとする。
First, the input
第1予測部23は、入力データxに対して各種演算を行い、距離算出用ベクトルaを算出する。ここでは、入力データxに対して重み行列Wをかけて、距離算出用ベクトルaを算出する(a=W×x)。なお、重み行列Wは、予測モデル生成部22による機械学習によって予め生成されている。
The
次に、第1予測部23は、距離算出用ベクトルaに基づいて、過去日の中から要求点に類似している類似日を抽出する(類似日抽出処理)。予測モデルには、各過去日に対応した距離算出用ベクトルbが予め用意(生成)されており、第1予測部23は、距離算出用ベクトルaに類似した距離算出用ベクトルbを特定することによって、特定された距離算出用ベクトルbに対応する過去日を類似日として抽出する。具体的には、第1予測部23は、過去日ごとに距離算出用ベクトルaと過去日の距離算出用ベクトルbとの差の絶対値(ベクトル間の距離)を算出し、ベクトル間の距離が最も短い距離算出用ベクトルbに対応する過去日を類似日として抽出する。本実施形態では、第1予測部23は、複数(例えば5日分)の類似日を抽出する。なお、第1予測日が抽出する類似日が1日分でも良い。また、第1予測部23は、ベクトル間の距離以外のパラメータに基づいて、類似日を抽出しても良い。なお、過去日に対応した距離算出用ベクトルbのデータベースは、予測モデル生成部22によって生成されたものである。
Next, the
次に、第1予測部23は、類似日に基づいて第1予測値を算出する(第1予測値算出処理)。ここでは、第1予測部23は、5日分の類似日のそれぞれに対応した電力需要量の実績値をデータ記憶部30から取得し、5日分の電力需要量の実績値の平均値を第1予測値として算出する。但し、第1予測部23は、複数の類似日の電力需要量の実績値の平均値の代わりに、中間値に基づいて第1予測値を算出しても良い。また、第1予測部23は、複数日の電力需要量の実績値のそれぞれに距離(前述のベクトル間の距離)に応じた重み係数をかけることによって、第1予測値を算出しても良い。第1予測部23は、予測モデルの出力として、電力需要量の予測値である第1予測値Vp1を出力することになる。
Next, the
なお、本実施形態の予測モデルは、類似日に基づいて予測値を算出するものでなくても良い。例えば、予測モデル生成部22は、要因データ(気象データや曜日データ)と電力需要量の実績値とを学習データとして用いることによって、入力を要因データとし、出力を電力需要量とする予測モデルを生成しても良い。
Note that the prediction model of this embodiment does not need to calculate a predicted value based on similar dates. For example, the prediction
ところで、予測モデルを生成するためには膨大なデータを演算処理する必要があるため、予測モデル生成部22が予測モデルを生成する周期は、比較的長期になることがある。本実施形態の場合、予測モデル生成部22は、例えば4ヶ月周期(季節毎)や1年周期で図7に示す予測モデルの「重み行列W」や「過去日に対応した距離算出用ベクトルb」のデータベースを更新することになる。一方、経時的に変化する予測対象の予測値を予測モデルに基づいて求めた場合、予測モデルを生成してから時間が経過すると、予測値と実績値との誤差が大きくなり、予測値の精度が低下するおそれがある。
By the way, in order to generate a predictive model, it is necessary to process a huge amount of data, so the cycle in which the predictive
そこで、本実施形態では、制御部20は、第1予測値と実績値との誤差の傾向を分析して分類モデルを生成し、分類モデルを用いて得られた補正値に基づいて第1予測値を補正して第2予測値を求めている。本実施形態では、分類モデル生成部24が分類モデルの生成を行う。また、本実施形態では、第2予測部25が、分類モデルを用いて補正値を取得し、補正値に基づいて第1予測値を補正して第2予測値を算出する。本実施形態の分類モデル生成部24及び第2予測部25について、以下に説明する。
Therefore, in the present embodiment, the
<分類モデル生成部24>
分類モデルは、要因データ(入力データ)に応じた補正値(出力データ)を得るためのモデルである。本実施形態の分類モデルは、決定木により構成されている。分類モデル生成部24は、1日を24分割した1時間分の時間帯ごとに、決定木を生成する(図13参照)。
<Classification
The classification model is a model for obtaining correction values (output data) according to factor data (input data). The classification model of this embodiment is constructed from a decision tree. The classification
図8は、分類モデルの生成処理のフロー図である。図中の各処理は、CPU11が記憶装置12に記憶されている制御プログラムを実行することによって実現される。本実施形態の制御部20は、図中の各処理を行うための第1取得部211と、第2取得部212と、分類モデル生成部24とを有する(図2参照)。
FIG. 8 is a flow diagram of the classification model generation process. Each process in the figure is realized by the
第1取得部211は、データ記憶部30から所定の要因の第1データを取得する(S101:第1取得処理)。第1データは、誤差に影響を与えると推測される要因のデータである。本実施形態の予測対象は経時的に変化するため、誤差も経時的に変化するので、誤差の要因も経時的に変化している推測される。また、誤差に影響を与える要因は、予測対象の予測値にも影響を与える要因であると推測される。このため、本実施形態の第1データは、予測モデルの入力データ(要因データ)と同様に、気象データ及び曜日データを含んでいる。本実施形態の第1取得部211は、第1データとして、図4Bに示す最高気温、最低気温、最高湿度及び最低湿度の気象データと、図5Aに示す曜日に応じたフラグの曜日データとを取得する。但し、第1データには、他の気象データが含まれていても良いし、気象データや曜日データ以外のデータが含まれていても良い。
The
第2取得部212は、第1予測値と予測対象の実績値との誤差を示す第2データを取得する(S102:第2取得処理)。図9A~図9Dは、第2取得部212が取得する第2データの説明図である。
The
図9Aに示すように、制御部20は、データ記憶部30に第1予測値を記憶する。第1予測値は、前述の予測モデルの出力に相当する。ここでは、第1予測値は、予測時点では未来の日となる予測対象日の所定時刻(要求点)における電力需要量の予測値である。このため、図9Aに示すように、予測時点では、第1予測値に対応する予測対象の実績値(及び誤差)は未知である。
As shown in FIG. 9A, the
第1予測値の予測後、時間が経過することにより、予測時点では未知であった電力需要量の実績値が確定する。そこで、制御部20は、図9Bに示すように、データ記憶部30に電力需要量の実績値を記憶する。
As time passes after the first predicted value is predicted, the actual value of the power demand amount, which was unknown at the time of the prediction, is determined. Therefore, the
また、第1予測値の予測後、時間が経過することにより、予測時点では未知であった誤差が確定する。そこで、制御部20は、図9Cに示すように、データ記憶部30に第1予測値と実績値との誤差を記憶する。ここでは、誤差は、第1予測値と実績値との差の実績値に対する割合(誤差割合)として定義されている。すなわち、第1予測値をVp1とし、実績値をVrとしたとき、誤差Eは、次式に示す通りである。
E = (Vp1-Vr)/Vr
Furthermore, as time passes after the first predicted value is predicted, the error that was unknown at the time of prediction becomes finalized. Therefore, the
E = (Vp1-Vr)/Vr
また、制御部20は、所定の期間ごとに、当該期間における誤差(及び第1予測値、実績値)をデータ記憶部30に記憶させることによって、図9Dに示すように、当該期間と誤差とを対応付けたデータを蓄積させる。なお、誤差は、単に第1予測値と実績値との差(誤差量Ve)として定義しても良い(Ve=Vp1-Vr)。本実施形態の第2取得部212は、第2データとして、図9Dに示す誤差のデータを取得する。
In addition, the
次に、分類モデル生成部24は、分類モデルを生成する(S103:分類モデル生成処理)。分類モデルは、複数のクラスの中から要因に応じたクラスを決定するものある。本実施形態では、分類モデル生成部24は、第1データ(気象データ、曜日データ)を説明変数とし、第2データを目的変数とする決定木を生成する。また、分類モデル生成部24は、所定の期間ごとに、決定木を生成する。本実施形態では、分類モデル生成部24は、1日を24分割した1時間分の時間帯ごとに、決定木を生成する。ここで、或る予測対象日の0時~1時の時間帯における決定木の生成方法について説明する。
Next, the classification
図10は、決定木の生成に用いられるデータの説明図である。分類モデル生成部24は、第1取得部211及び第2取得部212から、予測対象日から直近の過去30日分の0時~1時の時間帯の第1データ及び第2データを受け取る。これにより、分類モデル生成部24は、図10に示すように、30日分の0時~1時の時間帯の第1データ及び第2データを取得する。
FIG. 10 is an explanatory diagram of data used to generate a decision tree. The classification
次に、分類モデル生成部24は、図10に示す第1データ(気象データ、曜日データ)を説明変数とし、第2データ(誤差)を目的変数として、決定木を生成する。例えば、分類モデル生成部24は、例えばCARTアルゴリズムに基づいて、決定木を生成する。但し、CARTアルゴリズムに限られるものではなく、他のアルゴリズムに基づいて決定木が生成されても良い。また、分類モデル生成部24は、オーバーフィッティングを抑制するために、木の深さや、終端ノードの数(クラスの数)などを制限した上で、決定木を生成する(決定木を剪定する)。なお、分類モデル生成部24による決定木の生成は、予測モデル生成部22による予測モデルの生成と比べると計算負荷が軽いため、予測モデルの生成と比べて高速に実行でき、予測モデルよりも頻繁に更新可能である。
Next, the classification
図11は、或る予測対象日の0時~1時の時間帯の決定木の説明図である。なお、図11の決定木は、図10に示す第1データ(気象データ、曜日データ)を説明変数とし、第2データ(誤差E)を目的変数として生成された決定木である。 FIG. 11 is an explanatory diagram of a decision tree for a time period from 0:00 to 1:00 on a certain prediction target day. Note that the decision tree in FIG. 11 is a decision tree generated using the first data (weather data, day of the week data) shown in FIG. 10 as explanatory variables and the second data (error E) as an objective variable.
図11に示すように、決定木の分岐ノードには、第1データに含まれる要因(変数)に基づく分岐条件が設定される。各分岐ノードにおいて、分岐条件に応じた分岐が設定される。各分岐ノードの分岐先として、次の分岐ノード(子ノード)又は分類されるクラス(終端ノード)が設定される。図11に示す決定木では、第1分岐ノードND1(ルートノード)には、「最低気温が14.58℃以下か否か」という分岐条件が設定されている。第1分岐ノードND1において「最低気温が14.58℃以下」の場合の分岐先として「クラス1」が設定され、「最低気温が14.58℃より大きい」の場合の分岐先として第2分岐ノードND2(子ノード)が設定されている。第2分岐ノードND2には、「曜日フラグが1.5以下か否か」という分岐条件が設定されている。第2分岐ノードND2において「曜日フラグが1.5より大きい」場合の分岐先として「クラス4」が設定され、「曜日フラグが1.5以下」の場合の分岐先として第3分岐ノードND3が設定されている。第3分岐ノードND3には、「最高湿度が86.52%以下か否か」という分岐条件が設定されている。第3分岐ノードND3において「最高湿度が86.52%以下」の場合の分岐先として「クラス2」が設定され、「最高湿度が86.52%より大きい」場合の分岐先として「クラス3」が設定されている。
As shown in FIG. 11, branching conditions based on factors (variables) included in the first data are set at branching nodes of the decision tree. At each branch node, a branch is set according to the branch condition. The next branch node (child node) or the class to be classified (terminal node) is set as the branch destination of each branch node. In the decision tree shown in FIG. 11, the first branch node ND1 (root node) has a branch condition set as "whether the minimum temperature is 14.58° C. or lower." At the first branch node ND1, "
次に、分類モデル生成部24は、決定木の各クラスに対応する第2データ(誤差)に基づいて、各クラスに第3データを対応付ける(S104)。第3データは、第1予測値を補正するためのデータであり、本実施形態では補正値Cである。ここでは、図11に示す決定木の「クラス1」に対応付けられる補正値C(第3データ)の生成方法について説明する。
Next, the classification
図12は、第3データの生成方法の説明図である。 FIG. 12 is an explanatory diagram of the third data generation method.
分類モデル生成部24は、0時~1時の時間帯の決定木に基づいて、30日分の第1データ(気象データ及び曜日データ)に応じたそれぞれのクラスを決定する。図中には、クラス1に分類される第2データ(誤差E)を太線で示している。図に示すように、クラス1には5日分の第2データ(誤差E)が対応付けられている。そして、分類モデル生成部24は、クラス1に対応付けられた5個の第2データ(誤差E)に基づいて、第1予測値を補正するための補正値Cを生成する。本実施形態の補正値Cは、各クラスに対応付けられた複数の第2データ(誤差E)の平均値に1を加算した値として定義されている。但し、各クラスに対応付けられる補正値Cは、これに限られるものではなく、第1予測値を補正するためのデータであれば良い。同様に、分類モデル生成部24は、各クラスに対応付けられた複数の第2データ(誤差E)に基づいて、他のクラスに対応付けられる第3データ(補正値C)も生成する。
The classification
上記の処理により、複数のクラスの中から要因に応じたクラスを決定するための分類モデルが、第1データと第2データとに基づいて生成されることになる(S103)。また、上記の処理により、それぞれのクラスに第3データ(第1補正値を補正するための補正値C)が対応付けられた分類モデルが、第1データと第2データとに基づいて生成されることになる(S104)。 Through the above processing, a classification model for determining a class according to a factor from among a plurality of classes is generated based on the first data and the second data (S103). Furthermore, through the above processing, a classification model in which each class is associated with third data (correction value C for correcting the first correction value) is generated based on the first data and the second data. (S104).
図13は、各時間帯の決定木の説明図である。既に説明した通り、本実施形態では、分類モデル生成部24は、1日を24分割した1時間分の時間帯ごとに、決定木を生成する。図に示すように、各時間帯の決定木は、それぞれ異なっている。これは、時間帯毎に、補正値に影響を与える要因が異なっていることを意味している。本実施形態によれば、分類モデル生成部24が時間帯ごとに決定木を生成するため、それぞれの時間帯に適した第3データ(補正値C)を生成することが可能になる。
FIG. 13 is an explanatory diagram of the decision tree for each time period. As already explained, in this embodiment, the classification
<第2予測部25>
図14は、本実施形態の予測方法のフロー図である。図中の各処理は、CPU11が記憶装置12に記憶されている制御プログラムを実行することによって実現される。本実施形態の制御部20は、図中の各処理を行うためのデータ取得部21と、第1予測部23と、第2予測部25とを有する。なお、第2予測部25は、第1予測値を第2予測値に補正する補正部となる。
<
FIG. 14 is a flow diagram of the prediction method of this embodiment. Each process in the figure is realized by the
データ取得部21は、要因データを取得する(S201)。本実施形態のデータ取得部21は、予測モデルに用いるための要因データと、分類モデルに用いるための要因データとを取得する。具体的には、データ取得部21は、予測モデルに用いるための要因データとして、既に説明したように(図7参照)、要求点(予測対象の日時)における気象データの予測値や、要求点の直前の気象データの実績値や、曜日データなどを取得する。また、データ取得部21は、分類モデルに用いるための要因データとして、要求点(予測対象の日時)における気象データや曜日データを取得する。なお、分類モデルに用いるための要因データは、分類モデルの生成に用いられた第1データに相当する要因のデータであり、ここでは、要求点における最高気温、最低気温、最高湿度及び最低湿度などの予測値と、図5Aに示す曜日に応じたフラグである。データ取得部21は、取得した要因データを入力データとして第1予測部23及び第2予測部25に受け渡す。
The
次に、第1予測部23は、予測モデルを用いて、S201で取得した要因データ(入力データ)から第1予測値(出力データ)を算出する(S202)。本実施形態の第1予測部23は、既に説明したように、要求点における気象データや曜日データに基づいて類似日を抽出し、抽出された類似日に基づいて、要求点における電力需要量の第1予測値を算出する(図7参照)。但し、要因データ(入力データ)から第1予測値(出力データ)を算出する方法は、これに限られるものではない。
Next, the
次に、第2予測部25は、分類モデルを用いて、S201で取得した要因データに応じたクラスを決定し、決定されたクラスに対応付けられている第3データを取得する(S203)。本実施形態では、1日を24分割した1時間分の時間帯ごとに決定木が生成されるため(図13参照)、第2予測部25は、24個の決定木の中から、要求点(予測対象の日時)に対応する決定木を選択する(若しくは、第2予測部25は、分類モデル生成部24に、要求点に対応する決定木を生成させる)。次に、第2予測部25は、要求点に対応する決定木の分岐条件に基づいて、要因データに応じたクラスを決定する。そして、第2予測部25は、決定されたクラスに対応付けられた第3データ(補正値C)を取得する。
Next, the
次に、第2予測部25は、S202で取得した第3データ(補正値C)に基づいて、第1予測値を第2予測値に補正する(S204)。ここでは、第2予測値は、第1予測値を補正値Cで割った値としている。すなわち、第1予測値をVp1とし、補正値をCとしたとき、第2予測値Vp2は、次式に示す通りである。
Vp2 = Vp1/C
Next, the
Vp2 = Vp1/C
なお、本実施形態では、第2予測値は、第1予測値を補正値で割って求めているが、第2予測値の算出方法(第1予測値の補正方法)は、これに限られるものではない。例えば、第1予測値Vp1に補正量Vcを加算することによって第2予測値Vp2が算出されても良い(Vp2=Vp1+C)。第2予測値の算出方法(第1予測値の補正方法)は、補正値(第3データ)の定義に応じて適宜設定されることになる。 Note that in this embodiment, the second predicted value is obtained by dividing the first predicted value by the correction value, but the method for calculating the second predicted value (the method for correcting the first predicted value) is limited to this. It's not a thing. For example, the second predicted value Vp2 may be calculated by adding the correction amount Vc to the first predicted value Vp1 (Vp2=Vp1+C). The method for calculating the second predicted value (the method for correcting the first predicted value) is appropriately set according to the definition of the correction value (third data).
図15は、本実施形態の予測結果の説明図である。本実施形態では、第1予測部23は、所定の期間ごと(ここでは1日を24分割した1時間分の時間帯ごと)に、電力需要量の第1予測値Vp1を算出する。また、本実施形態では、第2予測部25は、所定の期間ごとに当該期間に応じた決定木に基づいて補正値Cを求める。また、本実施形態では、第2予測部25は、所定の期間ごとに、第1予測値を補正値Cに基づいて補正することによって、第2予測値を算出する。なお、図中には、参考のため、予測時点では未知であった電力需要量の実績値を所定の期間ごとに示している。
FIG. 15 is an explanatory diagram of the prediction results of this embodiment. In the present embodiment, the
図16は、本実施形態の予測結果を示すグラフである。グラフの横軸は、時刻を示している。グラフの縦軸は、電力需要量(kWh)を示している。実線のグラフは、電力需要量の実績値Vrを示している。一点鎖線のグラフは、第1予測値Vp1を示している。点線のグラフは、第2予測値Vp2を示している。グラフから理解できる通り、本実施形態では、予測値(第2予測値Vp2)を高精度に求めることができる。 FIG. 16 is a graph showing the prediction results of this embodiment. The horizontal axis of the graph indicates time. The vertical axis of the graph indicates the power demand (kWh). The solid line graph indicates the actual value Vr of the power demand amount. The dashed-dotted line graph indicates the first predicted value Vp1. The dotted line graph indicates the second predicted value Vp2. As can be understood from the graph, in this embodiment, the predicted value (second predicted value Vp2) can be determined with high accuracy.
===まとめ===
本実施形態の情報処理装置1は、第1取得部211と、第2取得部212と、分類モデル生成部24とを有する。第1取得部は、経時的に変化する所定の要因を示す第1データ(例えば気象データ、曜日データ)を取得する。第2取得部は、経時的に変化する予測対象(例えば電力需要量)を予測モデルに基づいて算出した第1予測値と、当該予測対象の実績値との誤差を示す第2データ(例えば誤差E)を取得する。分類モデル生成部は、第1データと第2データとに基づいて分類モデルを生成する。ここで、分類モデルは、複数のクラスの中から要因に応じたクラスを決定するものであり、各クラスには、第1予測値を補正して第2予測値を算出するための第3データ(例えば補正値C)がそれぞれ対応付けられている(図13参照)。本実施形態によれば、図16の第2予測値に示すように、経時的に変化する予測対象の予測精度を高めることができる。
===Summary===
The
ところで、予測対象が複数の要因の影響を受ける場合、個々の要因のそれぞれに対して補正値を対応付けて、複数の補正値を重畳して予測値を補正することが考えられる。但し、このような補正方法では、或る要因が予測対象に与える影響度が他の要因に応じて変化する場合には、個々の要因に対応付けられた複数の補正値を重畳させても、精度良く予測値を補正することが難しい。これに対し、本実施形態では、分類モデルのそれぞれのクラスは、複数の要因の組合せを考慮して分類されている。このため、本実施形態では、或る要因(例えば気温)が予測対象に与える影響度が他の要因(例えば湿度)に応じて変化する状況下においても、各クラスには、複数の要因の組合せを反映した第3データ(補正値C)が対応付けられるため、予測値を高精度に補正することが可能である。 By the way, when a prediction target is influenced by a plurality of factors, it is conceivable to associate a correction value with each individual factor and to correct the predicted value by superimposing the plurality of correction values. However, in such a correction method, if the degree of influence of a certain factor on the prediction target changes depending on other factors, even if multiple correction values associated with each factor are superimposed, It is difficult to correct predicted values with high accuracy. On the other hand, in this embodiment, each class of the classification model is classified in consideration of a combination of multiple factors. Therefore, in this embodiment, even in a situation where the degree of influence of a certain factor (e.g. temperature) on the prediction target changes depending on other factors (e.g. humidity), each class has a combination of multiple factors. Since the third data (correction value C) reflecting the above is associated, it is possible to correct the predicted value with high precision.
本実施形態の分類モデル生成部24は、第1データ(例えば気象データ、曜日データ)を説明変数とし、第2データ(例えば誤差E)を目的変数とする決定木を生成するとともに(図10、図11参照)、決定木のクラスに対応付けられた第2データ(例えば誤差E)に基づいて、それぞれのクラスに対応付けられる第3データ(補正値C)を生成する。これにより、生成された決定木を用いることによって、誤差に影響を与える要因に応じた補正値を取得することができる。但し、決定木とは異なるクラスタリング分析モデルによって、要因に応じた複数のクラスに第2データを分類し、各クラスに分類された第2データに基づいて第3データが算出されても良い。
The classification
また、本実施形態の分類モデル生成部24は、所定の期間の第1データと第2データとに基づいて、所定の期間ごと(例えば1時間ごと)に分類モデルを生成する。これにより、所定の期間ごとに適した第3データを生成することができ、予測値を高精度に求めることができる。
Furthermore, the classification
また、本実施形態の分類モデル生成部24は、予測モデルが更新される期間(例えば4ヶ月周期や1年周期)よりも短い期間で、分類モデルを生成する。また、本実施形態の分類モデル生成部24は、予測モデルが更新された後の第1データと第2データとに基づいて、分類モデルを生成する。これにより、予測モデルを生成してから時間が経過しても、分類モデルを更新することによって、予測値の精度の低下を抑制できる。
Further, the classification
なお、分類モデル生成部24は、予測モデルに基づいて第1予測値が算出される毎に、分類モデルを更新しても良い。これにより、時間の経過による分類モデルの劣化を抑制することができ、第1予測値の補正に適した第3データを取得できる。
Note that the classification
また、本実施形態の分類モデル生成部24は、直近の第1データと第2データとに基づいて分類モデルを生成する。これにより、最新の誤差の傾向を分析して分類モデルを生成することができる。なお、本実施形態では、直近の30日分の第1データと第2データとに基づいて分類モデルを生成しているが、直近の第1データ及び第2データは、30日分に限られるものではない。
Furthermore, the classification
また、本実施形態の予測モデルは、要因の予測値(例えば気象データの予測値)に基づいて、予測対象の第1予測値を算出する。但し、予測モデルは、要因の実績値(例えば気象データの実績値)に基づいて、予測対象の第1予測値を算出しても良い。なお、前述の実施形態では、電力需要量の予測値を求める場合も(図14のS202)、分類モデルを生成する場合も(図8のS102、図9A参照)、要因の予測値(気象データの予測値)が用いられていた。但し、電力需要量の予測値(第2予測値)を求める場合には、要因の予測値(例えば気象データの予測値)に基づいて予測モデルから第1予測値を算出し(図14のS202)、分類モデルを生成する場合には、要因の実績値(例えば気象データの実績値)に基づいて予測モデルから第1予測値を算出しても良い。 Moreover, the prediction model of this embodiment calculates the first predicted value of the prediction target based on the predicted value of the factor (for example, the predicted value of weather data). However, the prediction model may calculate the first predicted value of the prediction target based on the actual value of the factor (for example, the actual value of weather data). In addition, in the above-described embodiment, the predicted value of the factor (weather data predicted value) was used. However, when calculating the predicted value (second predicted value) of the power demand amount, the first predicted value is calculated from the prediction model based on the predicted value of the factor (for example, the predicted value of weather data) (S202 in FIG. 14). ), when generating a classification model, the first predicted value may be calculated from the prediction model based on the actual value of the factor (for example, the actual value of weather data).
また、本実施形態の情報処理装置1は、第1予測値を第2予測値に補正する補正部として、第2予測部25を備えている。第2予測部25は、分類モデルを用いて要因に応じたクラスを決定し、決定されたクラスに対応付けられている第3データに基づいて第1予測値を第2予測値に補正する。これにより、情報処理装置1は、第1予測値を第2予測値に補正することができる。但し、情報処理装置1は、第2予測部25を備えなくても良い。すなわち、情報処理装置1が、分類モデルを生成する機能だけを備え、予測対象の予測値を補正する機能を備えていなくても良い(つまり、情報処理装置1が生成した分類モデルを用いて、別の情報処理装置が予測値の補正を行っても良い)。
Further, the
本実施形態では、予測対象は、電力需要量であり、第1データは、気温及び湿度を示すデータである。但し、予測対象や、第1データは、これに限られるものではない。例えば、予測対象が電力市場価格や商品の売上などであっても良い。また、本実施形態では、第2データは、誤差E(第1予測値と実績値との差の実績値に対する割合)であるが、第2データは、これに限られるものではない。第2データは、第1予測値と予測対象の実績値との誤差を示す値であれば良く、例えば、誤差量(=Vp1-Vr)であっても良いし、誤差Eに1を加算した値であっても良いし、他の値でも良い。同様に、本実施形態では第3データが補正値Cであるが、第3データは、これに限られるものではない。第3データは、第1予測値から第2予測値を算出可能なデータであれば良く、例えば、第1予測値と実績値との差の実績値に対する割合である誤差Eでも良いし、対応するクラスの複数の誤差Eの平均値でも良いし、他の値でも良い。 In this embodiment, the prediction target is electric power demand, and the first data is data indicating temperature and humidity. However, the prediction target and the first data are not limited to these. For example, the prediction target may be electricity market prices, product sales, or the like. Further, in the present embodiment, the second data is the error E (the ratio of the difference between the first predicted value and the actual value to the actual value), but the second data is not limited to this. The second data may be any value that indicates the error between the first predicted value and the actual value of the prediction target, for example, it may be the amount of error (=Vp1-Vr), or it may be the amount of error (=Vp1-Vr), or the value obtained by adding 1 to the error E. It may be a value, or it may be another value. Similarly, in this embodiment, the third data is the correction value C, but the third data is not limited to this. The third data may be any data that allows calculation of the second predicted value from the first predicted value; for example, it may be the error E, which is the ratio of the difference between the first predicted value and the actual value to the actual value, or the It may be the average value of a plurality of errors E of the class, or it may be any other value.
===その他===
上記の実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。また、本発明は、その趣旨を逸脱することなく、変更や改良され得るとともに、本発明にはその等価物が含まれるのはいうまでもない。
===Others===
The above-described embodiments are provided to facilitate understanding of the present invention, and are not intended to be interpreted as limiting the present invention. Further, the present invention can be modified and improved without departing from the spirit thereof, and it goes without saying that the present invention includes equivalents thereof.
1 情報処理装置、3 通信ネットワーク、
11 CPU、12 記憶装置、
13 通信装置、14 表示装置、15 入力装置、
20制御部、21 データ取得部、210 入力データ取得部、
211 第1取得部、212 第2取得部、
22 予測モデル生成部、23 第1予測部、
24 分類モデル生成部、25 第2予測部、
30 データ記憶部
1 information processing device, 3 communication network,
11 CPU, 12 storage device,
13 communication device, 14 display device, 15 input device,
20 control unit, 21 data acquisition unit, 210 input data acquisition unit,
211 first acquisition unit, 212 second acquisition unit,
22 prediction model generation unit, 23 first prediction unit,
24 classification model generation unit, 25 second prediction unit,
30 Data storage section
Claims (12)
経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得部と、
複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成部と、
を含む情報処理装置。 a first acquisition unit that acquires first data indicating a predetermined factor that changes over time;
a second acquisition unit that acquires second data indicating an error between a first predicted value calculated based on a prediction model for a prediction target that changes over time and an actual value of the prediction target;
A classification model that determines the class according to the factor from among a plurality of classes, wherein third data for correcting the first predicted value and calculating a second predicted value corresponds to each of the classes. a classification model generation unit that generates the attached classification model based on the first data and the second data;
Information processing equipment including.
前記分類モデル生成部は、
前記第1データを説明変数とし、前記第2データを目的変数とする決定木を生成するとともに、
前記決定木の前記クラスに対応付けられた前記第2データに基づいて、それぞれの前記クラスに対応付けられる前記第3データを生成すること
を特徴とする情報処理装置。 The information processing device according to claim 1,
The classification model generation unit includes:
Generating a decision tree using the first data as an explanatory variable and the second data as an objective variable,
The information processing apparatus is characterized in that the third data associated with each of the classes is generated based on the second data associated with the classes of the decision tree.
前記分類モデル生成部は、所定の期間の前記第1データと前記第2データとに基づいて、前記所定の期間ごとに前記分類モデルを生成することを特徴とする情報処理装置。 The information processing device according to claim 1 or 2,
The information processing device is characterized in that the classification model generation unit generates the classification model for each predetermined period based on the first data and the second data of the predetermined period.
前記分類モデル生成部は、前記予測モデルが更新される期間よりも短い期間で、前記分類モデルを更新することを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 3,
The information processing device is characterized in that the classification model generation unit updates the classification model in a period shorter than a period in which the prediction model is updated.
前記分類モデル生成部は、前記予測モデルに基づいて前記第1予測値が算出される毎に、前記分類モデルを更新することを特徴とする情報処理装置。 The information processing device according to claim 4,
The information processing device is characterized in that the classification model generation unit updates the classification model every time the first predicted value is calculated based on the prediction model.
前記分類モデル生成部は、前記予測モデルが更新された後の前記第1データと前記第2データとに基づいて、前記分類モデルを生成することを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 5,
The information processing device is characterized in that the classification model generation unit generates the classification model based on the first data and the second data after the prediction model is updated.
前記分類モデル生成部は、直近の前記第1データと前記第2データとに基づいて、前記分類モデルを生成することを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 6,
The information processing device is characterized in that the classification model generation unit generates the classification model based on the most recent first data and the second data.
前記予測モデルは、前記要因の予測値に基づいて、前記予測対象の前記第1予測値を算出することを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 7,
The information processing apparatus is characterized in that the prediction model calculates the first predicted value of the prediction target based on the predicted value of the factor.
前記分類モデルを用いて前記要因に応じた前記クラスを決定し、決定された前記クラスに対応付けられている前記第3データに基づいて前記第1予測値を前記第2予測値に補正する補正部を更に備えることを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 8,
determining the class according to the factor using the classification model, and correcting the first predicted value to the second predicted value based on the third data associated with the determined class; An information processing device further comprising a section.
前記予測対象は、電力需要量であり、
前記第1データは、気温及び湿度を示すデータであることを特徴とする情報処理装置。 The information processing device according to any one of claims 1 to 9,
The prediction target is electricity demand,
An information processing device, wherein the first data is data indicating temperature and humidity.
経時的に変化する所定の要因の第1データを取得する第1取得処理と、
経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得処理と、
複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成処理と、
を実行する情報処理方法。 The computer is
a first acquisition process of acquiring first data of a predetermined factor that changes over time;
a second acquisition process of acquiring second data indicating an error between a first predicted value calculated based on a prediction model for a prediction target that changes over time and an actual value of the prediction target;
A classification model that determines the class according to the factor from among a plurality of classes, wherein third data for correcting the first predicted value and calculating a second predicted value corresponds to each of the classes. a classification model generation process that generates the attached classification model based on the first data and the second data;
An information processing method that performs.
経時的に変化する所定の要因の第1データを取得する第1取得処理と、
経時的に変化する予測対象を予測モデルに基づいて算出した第1予測値と、前記予測対象の実績値と、の誤差を示す第2データを取得する第2取得処理と、
複数のクラスの中から前記要因に応じた前記クラスを決定する分類モデルであって、前記第1予測値を補正して第2予測値を算出するための第3データがそれぞれの前記クラスに対応付けられた前記分類モデルを、前記第1データと前記第2データとに基づいて生成する分類モデル生成処理と、
を実行させるプログラム。
to the computer,
a first acquisition process of acquiring first data of a predetermined factor that changes over time;
a second acquisition process of acquiring second data indicating an error between a first predicted value calculated based on a prediction model for a prediction target that changes over time and an actual value of the prediction target;
A classification model that determines the class according to the factor from among a plurality of classes, wherein third data for correcting the first predicted value and calculating a second predicted value corresponds to each of the classes. a classification model generation process that generates the attached classification model based on the first data and the second data;
A program to run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020034772A JP7413843B2 (en) | 2020-03-02 | 2020-03-02 | Information processing device, information processing method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020034772A JP7413843B2 (en) | 2020-03-02 | 2020-03-02 | Information processing device, information processing method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021141637A JP2021141637A (en) | 2021-09-16 |
JP7413843B2 true JP7413843B2 (en) | 2024-01-16 |
Family
ID=77669194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020034772A Active JP7413843B2 (en) | 2020-03-02 | 2020-03-02 | Information processing device, information processing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7413843B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7327623B1 (en) | 2022-11-02 | 2023-08-16 | 富士電機株式会社 | Prediction device, prediction method and program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015033203A (en) | 2013-08-01 | 2015-02-16 | 富士電機株式会社 | Similar day extraction device and method and program for similar day extraction |
WO2016063446A1 (en) | 2014-10-24 | 2016-04-28 | 日本電気株式会社 | Priority order determination system, method and program for explanatory variable display |
JP2017220980A (en) | 2016-06-03 | 2017-12-14 | 一般財団法人電力中央研究所 | Prediction apparatus, prediction method and prediction program |
US20180285788A1 (en) | 2015-10-13 | 2018-10-04 | British Gas Trading Limited | System for energy consumption prediction |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0518995A (en) * | 1991-07-15 | 1993-01-26 | Tokyo Electric Power Co Inc:The | Device for forecasting total power demand |
-
2020
- 2020-03-02 JP JP2020034772A patent/JP7413843B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015033203A (en) | 2013-08-01 | 2015-02-16 | 富士電機株式会社 | Similar day extraction device and method and program for similar day extraction |
WO2016063446A1 (en) | 2014-10-24 | 2016-04-28 | 日本電気株式会社 | Priority order determination system, method and program for explanatory variable display |
US20180285788A1 (en) | 2015-10-13 | 2018-10-04 | British Gas Trading Limited | System for energy consumption prediction |
JP2017220980A (en) | 2016-06-03 | 2017-12-14 | 一般財団法人電力中央研究所 | Prediction apparatus, prediction method and prediction program |
Also Published As
Publication number | Publication date |
---|---|
JP2021141637A (en) | 2021-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180075360A1 (en) | Accuracy-estimating-model generating system and accuracy estimating system | |
JP6187003B2 (en) | Similar day extraction device, similar day extraction method, program | |
CN110020877B (en) | Click rate prediction method, click rate determination method and server | |
US11455544B2 (en) | Prediction model generation device, prediction model generation method, and recording medium | |
CN108320026B (en) | Machine learning model training method and device | |
WO2013071414A1 (en) | System, method and computer program for forecasting energy price | |
JP7010674B2 (en) | Power Demand Forecasting Device, Power Demand Forecasting Method and Program | |
US10635078B2 (en) | Simulation system, simulation method, and simulation program | |
JP7413843B2 (en) | Information processing device, information processing method and program | |
JP7062144B1 (en) | Power demand forecasting device and power demand forecasting method | |
CN117096875A (en) | Short-term load prediction method and system based on ST-transducer model | |
WO2022121219A1 (en) | Distribution curve-based prediction method, apparatus and device, and storage medium | |
JP2020102133A (en) | Data processing device and data processing method | |
WO2024164434A1 (en) | Method and apparatus for measuring thermal power of nuclear reactor core in dcs | |
WO2018154662A1 (en) | Price optimization system, price optimization method, and price optimization program | |
Schmidt | Numerical prediction and sequential process optimization in sheet forming based on genetic algorithm | |
JP2015187773A (en) | Data analysis device, data analysis program, and data analysis method | |
JP2012181739A (en) | Man-hour estimation device, man-hour estimation method, and man-hour estimation program | |
JP6795134B1 (en) | Power management device | |
CN111861519A (en) | Method, apparatus and medium for data processing | |
JP2020071493A (en) | Result prediction device, result prediction method and program | |
WO2015178219A1 (en) | Information-processing device, information processing method, and program | |
JP2020115276A (en) | Information processing method, information processing device, program, and generation method of learned model | |
WO2020075255A1 (en) | Learning device, learning method, and non-transitory computer readable medium having program stored thereupon | |
JP2017227942A (en) | Information processing device and method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231114 |
|
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: 20231128 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231211 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7413843 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |