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
JP7631064B2 - Information processing device, information processing method, and program - Google Patents
[go: Go Back, main page]

JP7631064B2 - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
JP7631064B2
JP7631064B2 JP2021051160A JP2021051160A JP7631064B2 JP 7631064 B2 JP7631064 B2 JP 7631064B2 JP 2021051160 A JP2021051160 A JP 2021051160A JP 2021051160 A JP2021051160 A JP 2021051160A JP 7631064 B2 JP7631064 B2 JP 7631064B2
Authority
JP
Japan
Prior art keywords
machine learning
model
predetermined time
evaluation
learning models
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
JP2021051160A
Other languages
Japanese (ja)
Other versions
JP2022149144A (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.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP2021051160A priority Critical patent/JP7631064B2/en
Publication of JP2022149144A publication Critical patent/JP2022149144A/en
Application granted granted Critical
Publication of JP7631064B2 publication Critical patent/JP7631064B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明の実施形態は、情報処理装置、情報処理方法およびプログラムに関する。 Embodiments of the present invention relate to an information processing device, an information processing method, and a program.

従来、例えばスーパーマーケット、量販店、コンビニエンスストア等の店舗では、過去の売上実績に基づいて本日等の未来の売上を予測することが行われている。また、過去の売上実績を用いて機械学習を行うことで機械学習モデル(学習済モデル)を作成し、作成した機械学習モデルを用いて売上げ等を予測することも行われている。 Conventionally, for example, in stores such as supermarkets, mass retailers, and convenience stores, future sales (e.g., for today) are predicted based on past sales records. In addition, machine learning is performed using past sales records to create machine learning models (trained models), and the created machine learning models are used to predict sales, etc.

ところで、機械学習の学習手法は複数存在しており、何れの手法がより適切かを判別するため、実際に複数の機械学習モデルを作成して学習結果を確認することが行われている。また、同一の学習手法であっても使用するパラメータの違いにより学習結果が変化する可能性があるため、この場合においても実際に複数の機械学習モデルを作成して確認することが好ましい。しかしながら、学習の手法やパラメータの違いによって、学習結果を得るまでに相当の時間を要する場合がある。このような場合、複数の機械学習モデルから一つの機械学習モデルを選定するのに相当の時間を要することがある。 By the way, there are multiple learning methods for machine learning, and in order to determine which method is more appropriate, multiple machine learning models are actually created and the learning results are checked. Even if the same learning method is used, the learning results may vary depending on the parameters used, so in this case, it is preferable to actually create and check multiple machine learning models. However, depending on the learning method and parameters, it may take a considerable amount of time to obtain the learning results. In such cases, it may take a considerable amount of time to select one machine learning model from the multiple machine learning models.

本発明が解決しようとする課題は、多くの時間を要せずに機械学習モデルの選定が可能な情報処理装置、情報処理方法およびプログラムを提供することである。 The problem that the present invention aims to solve is to provide an information processing device, an information processing method, and a program that can select a machine learning model without spending a lot of time.

実施形態の情報処理装置は、学習手法又は作成に係るパラメータの条件が異なる複数の機械学習モデルを作成する学習手段と、前記複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、前記機械学習が終了している前記機械学習モデルの各々に、評価用のデータを入力することで得られた前記機械学習モデル毎の出力結果に基づいて、前記機械学習モデルの各々の精度を評価する評価手段と、前記評価手段の評価結果に基づいて、一つの前記機械学習モデルを選択するモデル選択手段と、前記機械学習の開始から前記第1所定時間より長い第2所定時間を経過しても前記機械学習が終了しない前記機械学習モデルについて、前記機械学習を終了させる学習終了手段と、を備える。 An information processing device of an embodiment includes a learning means for creating a plurality of machine learning models having different learning methods or parameter conditions related to creation, an evaluation means for evaluating the accuracy of each of the plurality of machine learning models based on output results for each machine learning model obtained by inputting evaluation data into each of the machine learning models for which the machine learning has been completed after a first predetermined time has elapsed from the start of the machine learning, a model selection means for selecting one of the machine learning models based on the evaluation result of the evaluation means, and a learning termination means for terminating the machine learning for a machine learning model for which the machine learning has not been completed even after a second predetermined time longer than the first predetermined time has elapsed from the start of the machine learning .

図1は、実施形態に係る情報処理システムを示す図である。FIG. 1 is a diagram illustrating an information processing system according to an embodiment. 図2は、機械学習の仕組みを示す説明図である。FIG. 2 is an explanatory diagram showing the mechanism of machine learning. 図3は、情報処理装置のハードウェア構成を示すブロック図である。FIG. 3 is a block diagram showing a hardware configuration of the information processing device. 図4は、売上管理部の構成を示すメモリマップである。FIG. 4 is a memory map showing the configuration of the sales management section. 図5は、情報処理装置の機能構成を示す機能ブロック図である。FIG. 5 is a functional block diagram showing the functional configuration of the information processing device. 図6は、情報処理装置における機械学習モデルの選択に係る制御処理の流れを示すフローチャートである。FIG. 6 is a flowchart showing the flow of a control process related to the selection of a machine learning model in an information processing device. 図7は、情報処理装置における予測データの出力に係る制御処理の流れを示すフローチャートである。FIG. 7 is a flowchart showing the flow of a control process related to the output of prediction data in an information processing device.

以下、図面を参照して、実施形態について説明する。実施形態では、スーパーマーケット、量販店、コンビニエンスストア等の店舗において、売上予測に使用するための機械学習モデルの選択を行う、例えば本部に設置された本部サーバ(クラウドサーバ)を情報処理装置の一例として説明する。なお、実施形態により本発明が限定的に解釈されない。 The following describes the embodiments with reference to the drawings. In the embodiments, a headquarters server (cloud server) installed at the headquarters, for example, which selects a machine learning model to be used for sales forecasting in a store such as a supermarket, mass retailer, or convenience store, is described as an example of an information processing device. Note that the present invention should not be interpreted in a limited manner based on the embodiments.

機械学習とは、経験からの学習により自動的に改善するコンピュータアルゴリズムであって、大量の学習データを使ってパターンを学習し、学習結果を使って未知のデータを予測(推論)する公知の技術である。例えば、商品の購買履歴に関する大量のデータに基づいて人の好みを分析して、興味や関心がありそうな情報をもとに当該人に合った情報を提供する。また、例えば大量の文字等のデータを学習して、人が書いた文字等を推測するOCRに利用する。 Machine learning is a computer algorithm that automatically improves by learning from experience. It is a well-known technique that uses large amounts of training data to learn patterns and uses the learning results to predict (infer) unknown data. For example, it can analyze a person's preferences based on large amounts of data on product purchasing history, and provide them with information that suits them based on information that they are likely to be interested in. It can also be used for OCR, which learns from large amounts of character data and infers characters written by people.

機械学習を行う機械学習モデルは、通常複数のパターンを有する複数個が用いられ、それぞれの機械学習モデルは、学習手法、または/および、入力されるパラメータ条件が異なっている。これは、使用する学習手法、パラ―メータの種類によってそれぞれの機械学習モデルの精度が異なることから、入力されるデータに対して精度が高い機械学習モデルを選択することを可能にするためである。 When performing machine learning, multiple machine learning models with multiple patterns are usually used, and each machine learning model has a different learning method and/or input parameter conditions. This is because the accuracy of each machine learning model differs depending on the learning method and type of parameters used, so it is possible to select a machine learning model with high accuracy for the input data.

実施形態の本部サーバは、機械学習によって作成された機械学習モデルのうち、精度が最も高い機械学習モデルを利用して、店舗や商品の販売予測を行う。具体的には、販売実績に伴う過去の売上データを入力して、最も精度が高い機械学習モデルを選択するものである。また、実施形態の本部サーバは、当該機械学習モデルを用いて未来の売上データを推論する。 The headquarters server of the embodiment uses the most accurate machine learning model among the machine learning models created by machine learning to make sales forecasts for stores and products. Specifically, past sales data associated with sales performance is input and the most accurate machine learning model is selected. The headquarters server of the embodiment also uses the machine learning model to infer future sales data.

図1は、実施形態に係る情報処理システムを示す図である。図1に示すように、情報処理システム10は、本部サーバ1、店舗サーバ3、POS(Point of Sales)端末5等を有する。本部サーバ1と店舗サーバ3は、例えばインターネットや専用回線等のネットワークNを介して通信可能に接続される。本部サーバ1には、ネットワークNを介して一または複数の店舗サーバ3が接続される。また、店舗サーバ3とPOS端末5は、店舗T内において、例えばLAN(Local Area Network)等の通信回線Lを介して通信可能に接続される。店舗サーバ3には、通信回線Lを介して一または複数台のPOS端末5が接続される。 FIG. 1 is a diagram showing an information processing system according to an embodiment. As shown in FIG. 1, the information processing system 10 has a headquarters server 1, a store server 3, a POS (Point of Sales) terminal 5, etc. The headquarters server 1 and the store server 3 are connected to each other so that they can communicate with each other via a network N, such as the Internet or a dedicated line. One or more store servers 3 are connected to the headquarters server 1 via the network N. The store server 3 and the POS terminal 5 are connected to each other so that they can communicate with each other within the store T, via a communication line L, such as a LAN (Local Area Network). One or more POS terminals 5 are connected to the store server 3 via the communication line L.

POS端末5は、店舗Tで販売される商品の商品登録処理および決済処理を実行する。商品登録処理とは、商品に付されているバーコード等のシンボルを読み取って、当該シンボルに含まれる商品を特定する商品コードに基づいて、当該商品の商品情報(商品名、商品の価格、等)を読み出して、記憶する処理を含む。決済処理とは、商品登録処理した商品についての決済を行う処理を含む。具体的には、商品登録した商品の合計金額を算出し、釣り銭がある場合は釣り銭額を算出し、商品情報、合計金額、釣り銭額等の決済情報を印字したレシートを発行する処理を含む。 The POS terminal 5 executes product registration and payment processes for products sold at store T. Product registration includes processing to read a symbol such as a barcode attached to a product, and to read and store product information for that product (product name, product price, etc.) based on the product code that identifies the product contained in the symbol. Payment processing includes processing to make payment for registered products. Specifically, it includes processing to calculate the total price of registered products, calculate the amount of change if there is any, and issue a receipt on which payment information such as product information, total price, and change amount is printed.

また、POS端末5は、決済した商品に係る売上情報(商品情報および決済情報を含む)を、逐次または所定のタイミングで店舗サーバ3に送信する処理を行う。 The POS terminal 5 also performs a process of sending sales information (including product information and payment information) related to the paid items to the store server 3 sequentially or at a specified timing.

店舗サーバ3は、POS端末5が送信した売上情報を受信する。店舗サーバ3は、各POS端末5から受信した売上情報を集計して売上情報部31に累積的に記憶する。また、店舗サーバ3は、売上情報部31に記憶した売上情報を定期的(例えば一日に一回)に本部サーバ1に送信する。 The store server 3 receives the sales information sent by the POS terminals 5. The store server 3 aggregates the sales information received from each POS terminal 5 and stores it cumulatively in the sales information section 31. The store server 3 also periodically (for example, once a day) transmits the sales information stored in the sales information section 31 to the headquarters server 1.

本部サーバ1は、各店舗サーバ3から受信した売上情報を記憶する。本部サーバ1は、各店舗サーバ3から受信した売上情報を累積的に記憶する。また、本部サーバ1は、受信した売上情報を種々の単位に分類して、種別の情報として記憶する。例えば、本部サーバ1は、売上情報を店舗T別に記憶する。また、例えば本部サーバ1は、売上情報を商品別に記憶する。また、例えば本部サーバ1は、売上情報を期間別(年別、月別、週別、日別、時間帯別、曜日別、季節別、等)に記憶する。本部サーバ1は、その他にもいろいろな単位で売上情報を記憶する。 The headquarters server 1 stores the sales information received from each store server 3. The headquarters server 1 cumulatively stores the sales information received from each store server 3. The headquarters server 1 also classifies the received sales information into various units and stores it as information by type. For example, the headquarters server 1 stores the sales information by store T. For example, the headquarters server 1 also stores the sales information by product. For example, the headquarters server 1 also stores the sales information by period (by year, month, week, day, time period, day of the week, season, etc.). The headquarters server 1 also stores the sales information in various other units.

本部サーバ1は、過去の売上情報に基づいて未来の売上予測をするために、定期的に機械学習を行う。図2は、本部サーバ1における機械学習の仕組みを示す説明図である。図2に示すように、本部サーバ1は、過去データを用いて複数の機械学習モデルを作成(生成)する。実施形態では、モデル1、モデル2、モデル3の3種類の機械学習モデルを作成する。各機械学習モデルは、それぞれ、学習手法、または/および、機械学習モデルの作成に係るパラメータ条件が異なっている。具体的には、各機械学習モデルの作成において、天気、気温、実施した施策等の情報を含む毎日異なるパラメータとその日の売上情報を毎日セットにして蓄積する。本部サーバ1は、蓄積された毎日の売上情報とパラメータの情報のセットから機械学習を行うことで、各機械学習モデル別の傾向を示す所定の予測結果(売上予測)を出力することが可能な各機械学習モデルを作成する。そして、本部サーバ1は、作成した機械学習モデルの各々に、当該過去の売上情報に係る売上実績情報等の評価用データを入力することで得られる予測結果(以下、学習結果ともいう)を比較することで、学習結果が最も売上実績情報に近い(すなわち精度が高い)一つの機械学習モデルを選択する。評価用データは、機械学習モデルの作成の際に入力されなかった一部の売上情報である。売上情報のうちの多くは機械学習モデルの作成の際に入力され、売上情報のうちの一部は評価用データとして作成された評価用データに入力される。 The headquarters server 1 periodically performs machine learning to predict future sales based on past sales information. FIG. 2 is an explanatory diagram showing the mechanism of machine learning in the headquarters server 1. As shown in FIG. 2, the headquarters server 1 creates (generates) multiple machine learning models using past data. In the embodiment, three types of machine learning models, model 1, model 2, and model 3, are created. Each machine learning model has a different learning method and/or parameter conditions related to the creation of the machine learning model. Specifically, in the creation of each machine learning model, a set of different parameters including information on the weather, temperature, and implemented measures and the sales information of that day is accumulated every day. The headquarters server 1 performs machine learning from the accumulated daily sales information and parameter information set to create each machine learning model that can output a predetermined prediction result (sales forecast) showing a trend for each machine learning model. Then, the headquarters server 1 compares the prediction results (hereinafter also referred to as learning results) obtained by inputting evaluation data such as sales performance information related to the past sales information to each of the created machine learning models, and selects one machine learning model whose learning result is closest to the sales performance information (i.e., has high accuracy). The evaluation data is a portion of the sales information that was not entered when the machine learning model was created. Most of the sales information is entered when the machine learning model is created, and a portion of the sales information is entered into the evaluation data created as the evaluation data.

次に本部サーバ1は、選択した機械学習モデルに対して売上予測をしたいデータに係る過去の売上データを入力することで、未来(例えば本日)の売上を予測させる。 Next, the headquarters server 1 inputs past sales data related to the data for which sales forecasting is desired into the selected machine learning model, thereby predicting future sales (for example, today's sales).

また、本部サーバ1は、複数の機械学習モデルの機械学習を開始してから第1所定時間が経過すると、その時点で機械学習が終了している機械学習モデルについて学習結果を評価し、売上実績情報と比較し、一つの機械学習モデルを選択する。また、本部サーバ1は、その後一定期間が経過したら、再度その時点で機械学習が終了している機械学習モデルについて評価し、売上実績情報と先に選択された一つの機械学習モデルとの精度の比較を行い、精度が高い再度一つの機械学習モデルを選択する。 Furthermore, when a first predetermined time has elapsed since starting machine learning for multiple machine learning models, the headquarters server 1 evaluates the learning results for the machine learning models for which machine learning has been completed at that time, compares them with sales performance information, and selects one machine learning model. Furthermore, after a certain period of time has elapsed, the headquarters server 1 again evaluates the machine learning models for which machine learning has been completed at that time, compares the sales performance information with the accuracy of the one machine learning model previously selected, and selects another one machine learning model with high accuracy.

また、本部サーバ1は、第1所定時間が経過後、第1所定時間より長い第2所定時間(例えば機械学習開始から24時間)を経過しても機械学習が終了しない機械学習モデルについて、当該機械学習モデルに対する機械学習を強制的に終了させる。 In addition, for a machine learning model for which machine learning has not ended even after a second specified time (e.g., 24 hours from the start of machine learning) that is longer than the first specified time has elapsed after the first specified time has elapsed, the headquarters server 1 forcibly ends machine learning for that machine learning model.

このような本部サーバ1は、例えば店舗Tの閉店時(所定時刻)に、過去の売上情報を入力して機械学習モデルに機械学習をさせる。そして所定時刻から第1所定時間が経過した例えば翌日の朝5時に機械学習が終了した機械学習モデルがあれば当該機械学習モデルを抽出する。そして機械学習が終了した機械学習モデルの学習結果を評価する。そして、各機械学習モデルの評価に基づいて、最も評価(精度)が高い一つの機械学習モデルを選択する。 For example, when store T closes (a specified time), the headquarters server 1 inputs past sales information and performs machine learning on the machine learning model. If there is a machine learning model for which machine learning has been completed at 5 a.m. the following day, when a first specified time has passed since the specified time, for example, that machine learning model is extracted. The learning results of the machine learning models for which machine learning has been completed are then evaluated. Then, based on the evaluation of each machine learning model, the machine learning model with the highest evaluation (accuracy) is selected.

次に本部サーバ1は、選択した機械学習モデルに対して例えば先週の同じ曜日の売上情報を入力して推論を行い、本日の売上を予測する。 Next, the headquarters server 1 inputs sales information for the same day of the week last week, for example, into the selected machine learning model, performs inference, and predicts today's sales.

また、本部サーバ1は、第1所定時間の経過後の一定時間が経過した時点で、機械学習が終了した機械学習モデルが新たにあれば当該機械学習モデルを抽出する。そして機械学習が終了した機械学習モデルに評価用のデータを入力して得られる出力結果を評価する。そして、先に選択した機械学習モデルの精度と比較して、精度が高い一つの機械学習モデルを選択する。先に選択した機械学習モデルが再度選択された場合には再度推論は行わず、後で選択した機械学習モデルが選択された場合には、当該機械学習モデルを使用して推論をやり直す。 Furthermore, when a certain period of time has elapsed after the first predetermined time has elapsed, if there is a new machine learning model for which machine learning has been completed, the headquarters server 1 extracts that machine learning model. Then, evaluation data is input into the machine learning model for which machine learning has been completed, and the output results obtained are evaluated. Then, the accuracy is compared with that of the previously selected machine learning model, and one machine learning model with higher accuracy is selected. If the previously selected machine learning model is selected again, inference is not performed again, but if a later selected machine learning model is selected, inference is redone using that machine learning model.

また、本部サーバ1は、第1所定時間が経過後第2所定時間を経過しても機械学習が終了しない機械学習モデルに対する機械学習を強制的に終了させる。 In addition, the headquarters server 1 forcibly terminates machine learning for a machine learning model for which machine learning has not terminated even after the first specified time has elapsed and then the second specified time has elapsed.

ここからは、本部サーバ1のハードウェアについて説明する。図3は、本部サーバ1のハードウェア構成を示すブロック図である。図3に示すように、本部サーバ1は、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、メモリ部14等を備えている。CPU11は制御主体となる。ROM12は各種プログラムを記憶する。RAM13はプログラムや各種データを展開する。メモリ部14は各種プログラムを記憶する。CPU11、ROM12、RAM13、メモリ部14は、互いにバス15を介して接続されている。CPU11とROM12とRAM13が、制御部100を構成する。すなわち、制御部100は、CPU11がROM12やメモリ部14に記憶されRAM13に展開された制御プログラムに従って動作することによって、後述する本部サーバ1の制御処理を実行する。 From here, the hardware of the headquarters server 1 will be described. FIG. 3 is a block diagram showing the hardware configuration of the headquarters server 1. As shown in FIG. 3, the headquarters server 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a memory unit 14, and the like. The CPU 11 is the main controller. The ROM 12 stores various programs. The RAM 13 expands programs and various data. The memory unit 14 stores various programs. The CPU 11, the ROM 12, the RAM 13, and the memory unit 14 are connected to each other via a bus 15. The CPU 11, the ROM 12, and the RAM 13 constitute the control unit 100. That is, the control unit 100 executes the control processing of the headquarters server 1, which will be described later, by the CPU 11 operating according to the control programs stored in the ROM 12 and the memory unit 14 and expanded in the RAM 13.

RAM33は、売上管理部131、学習終了情報部132、終了フラグ部133を備えている。売上管理部131は、各店舗サーバ3から受信した、各店舗Tにおける売上情報を累積的に記憶する。売上管理部131については図4で後述する。学習終了情報部132は、機械学習が終了した機械学習モデルを特定(識別)するモデル特定情報と、当該機械学習モデルの学習結果を示す情報を記憶する。終了フラグ部133は、終了フラグの状態を記憶する。まだ機械学習が終了していない機械学習モデルが存在する場合は、終了フラグ部133は終了フラグ「0」を記憶する。すべての機械学習モデルにおいて機械学習が終了している場合は、終了フラグ部133は終了フラグ「1」を記憶する。 The RAM 33 includes a sales management unit 131, a learning end information unit 132, and an end flag unit 133. The sales management unit 131 cumulatively stores sales information for each store T received from each store server 3. The sales management unit 131 will be described later with reference to FIG. 4. The learning end information unit 132 stores model identification information that identifies (identifies) a machine learning model for which machine learning has ended, and information indicating the learning result of the machine learning model. The end flag unit 133 stores the state of the end flag. If there is a machine learning model for which machine learning has not yet ended, the end flag unit 133 stores the end flag "0". If machine learning has ended for all machine learning models, the end flag unit 133 stores the end flag "1".

メモリ部14は、電源を切っても記憶情報が保持されるHDD(Hard Disc Drive)やフラッシュメモリ等の不揮発性メモリで構成され、本部サーバ1を制御する制御プログラムを記憶する制御プログラム部141、モデル記憶部142、パラメータ部143、時刻記憶部144を有する。モデル記憶部142は、定期的に機械学習を行う機械学習モデルを記憶する。実施形態では、一例として、モデル1、モデル2、モデル3の3種類の機械学習モデルを記憶する。パラメータ部143は、機械学習モデルの機械学習の際に入力されるパラメータをモデル別かつ日別かつ店舗別に記憶する。パラメータは、例えば店舗T別の日別の客層のデータ、店舗T別の周辺の日別のイベントの情報、日付、曜日、日別の天気等のデータである。時刻記憶部144は、売上情報を入力する時刻、第1所定時間、第2所定時間、一定時間の情報を記憶する。 The memory unit 14 is composed of a non-volatile memory such as a hard disk drive (HDD) or a flash memory that retains stored information even when the power is turned off, and has a control program unit 141 that stores a control program for controlling the headquarters server 1, a model storage unit 142, a parameter unit 143, and a time storage unit 144. The model storage unit 142 stores a machine learning model that periodically performs machine learning. In the embodiment, as an example, three types of machine learning models, model 1, model 2, and model 3, are stored. The parameter unit 143 stores parameters that are input during machine learning of the machine learning model by model, day, and store. The parameters are, for example, data on daily customer demographics for each store T, information on daily events in the vicinity of each store T, date, day of the week, daily weather, etc. The time storage unit 144 stores information on the time when sales information is input, the first specified time, the second specified time, and a fixed time.

また、制御部100は、バス15およびコントローラ16を介して、操作部17、表示部18と接続している。コントローラ16は、制御部100からの指示を受けて、操作部17、表示部18を制御する。ただし、説明の都合上、コントローラ16が行う制御を制御部100が行うとして説明する。操作部17は例えばキーボードやタッチパネルであり、本部サーバ1の操作者が操作する。表示部18は例えば液晶表示器であり、本部サーバ1の操作者に対して情報を表示する。 The control unit 100 is also connected to the operation unit 17 and display unit 18 via the bus 15 and the controller 16. The controller 16 receives instructions from the control unit 100 and controls the operation unit 17 and display unit 18. However, for the sake of convenience, the control performed by the controller 16 will be described as being performed by the control unit 100. The operation unit 17 is, for example, a keyboard or touch panel, and is operated by the operator of the headquarters server 1. The display unit 18 is, for example, a liquid crystal display, and displays information to the operator of the headquarters server 1.

また、制御部100は、バス15を介して、通信部19と接続している。通信部19は、ネットワークNを介して、各店舗サーバ3と接続される。また、制御部100は、タイマ20と接続する。タイマ20は、現在の時刻を計時し、第1所定時間、第2所定時間、一定時間を計測する。 The control unit 100 is also connected to the communication unit 19 via the bus 15. The communication unit 19 is connected to each store server 3 via the network N. The control unit 100 is also connected to a timer 20. The timer 20 keeps track of the current time and measures a first predetermined time, a second predetermined time, and a fixed time.

ここからは、売上管理部131について説明する。売上管理部131は、各店舗サーバ3から受信した、各店舗Tでの売上情報を集約して累積的に記憶する。図4は、売上管理部131の構成を示すメモリマップである。図4に示すように、売上管理部131は、店舗別売上管理部1311、商品別売上管理部1312、合計売上管理部1313等を備える。店舗別売上管理部1311は、店舗T別の例えば過去の売上情報をたとえば1年毎に記憶する。店舗別売上管理部1311は、同様に、各店舗T別の例えば一月毎、一週間毎、一日毎等の売上情報をそれぞれ記憶する。商品別売上管理部1312は、商品別(あるいは商品の分類別)の売上情報を、例えば一月毎、一週間毎、一日毎等に記憶する。合計売上管理部1313は、各店舗サーバ3から受信した売上情報を、例えば一月毎、一週間毎、一日毎等に記憶する。なお、売上管理部131は、その他の切り口でまとめた売上情報を例えば一月毎、一週間毎、一日毎等に記憶する。 From here, the sales management unit 131 will be described. The sales management unit 131 aggregates and cumulatively stores sales information for each store T received from each store server 3. FIG. 4 is a memory map showing the configuration of the sales management unit 131. As shown in FIG. 4, the sales management unit 131 includes a store sales management unit 1311, a product sales management unit 1312, a total sales management unit 1313, and the like. The store sales management unit 1311 stores, for example, past sales information for each store T, for example, by year. Similarly, the store sales management unit 1311 stores sales information for each store T, for example, by month, week, day, etc. The product sales management unit 1312 stores sales information for each product (or by product classification), for example, by month, week, day, etc. The total sales management unit 1313 stores sales information received from each store server 3, for example, by month, week, day, etc. In addition, the sales management unit 131 stores sales information summarized from other perspectives, for example, by month, week, day, etc.

ここからは、本部サーバ1の機能構成について説明する。図5は、本部サーバ1の機能構成を示す機能ブロック図である。図5に示すように、本部サーバ1の制御部100は、ROM12やメモリ部14の制御プログラム部141に記憶された制御プログラムに従うことで、学習手段101、評価手段102、モデル選択手段103、学習終了手段104、推論手段105として機能する。 From here, the functional configuration of the headquarters server 1 will be explained. Figure 5 is a functional block diagram showing the functional configuration of the headquarters server 1. As shown in Figure 5, the control unit 100 of the headquarters server 1 functions as a learning means 101, an evaluation means 102, a model selection means 103, a learning termination means 104, and an inference means 105 by following the control programs stored in the ROM 12 and the control program unit 141 of the memory unit 14.

学習手段101は、学習手法又は作成に係るパラメータ条件が異なる複数の機械学習モデルを作成する機能を有する。売上情報とは、例えば日別の売上実績データと当該日に係るパラメータを関連付けて蓄積した、例えば1年分のデータのように、大量のデータとしたものである。 The learning means 101 has a function of creating multiple machine learning models with different learning methods or parameter conditions related to creation. Sales information is a large amount of data, such as a year's worth of data, that is accumulated by associating daily sales performance data with parameters related to that day.

評価手段102は、複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、機械学習が終了している機械学習モデルの各々に、評価用のデータを入力することで得られた機械学習モデル毎の出力結果に基づいて、機械学習モデルの各々の精度を評価する機能を有する。具体的には、評価手段102は、機械学習の開始からタイマ20が計測した第1所定時間経過した時点で、学習手段101による機械学習が終了している機械学習モデルのモデル特定情報が学習終了記憶部132に記憶されている場合に、当該機械学習モデルに評価用のデータを入力し、得られた機械学習モデル毎の学習結果(出力結果)と、当該学習結果に対する評価用のデータの実績データとに基づいて、機械学習モデルの各々の精度を評価する。機械学習が終了している機械学習モデルが複数ある場合に、それぞれの機械学習モデルについて、得られた機械学習モデル毎の学習結果と、当該学習結果に対する実績データとに基づいて、機械学習モデルの各々の精度を評価する。 The evaluation means 102 has a function of evaluating the accuracy of each of the machine learning models based on the output result for each machine learning model obtained by inputting evaluation data into each of the machine learning models for which machine learning has been completed after a first predetermined time has elapsed from the start of machine learning. Specifically, when the model identification information of the machine learning model for which machine learning by the learning means 101 has been completed is stored in the learning completion storage unit 132 at the time when the first predetermined time measured by the timer 20 has elapsed from the start of machine learning, the evaluation means 102 inputs evaluation data into the machine learning model, and evaluates the accuracy of each of the machine learning models based on the obtained learning result (output result) for each machine learning model and the performance data of the evaluation data for the learning result. When there are multiple machine learning models for which machine learning has been completed, the evaluation means 102 evaluates the accuracy of each of the machine learning models based on the obtained learning result for each machine learning model and the performance data for the learning result.

モデル選択手段103は、評価手段102によって最も評価された一つの機械学習モデルを選択する機能を有する。具体的には、モデル選択手段103は、評価手段102による評価が最も高い一つの機械学習モデルを選択する。さらに具体的には、モデル選択手段103は、評価手段102によって精度が最も高いと評価された一つの機械学習モデルを選択する。モデル選択手段103は、評価した機械学習モデルが一つの場合は、当該機械学習モデルを選択する。モデル選択手段103は、評価した機械学習モデルが複数の場合は、その中から最も評価が高い一つの機械学習モデルを選択する。 The model selection means 103 has a function of selecting one machine learning model that has been most highly evaluated by the evaluation means 102. Specifically, the model selection means 103 selects one machine learning model that has been most highly evaluated by the evaluation means 102. More specifically, the model selection means 103 selects one machine learning model that has been evaluated by the evaluation means 102 as having the highest accuracy. If only one machine learning model has been evaluated, the model selection means 103 selects that machine learning model. If multiple machine learning models have been evaluated, the model selection means 103 selects the machine learning model that has been most highly evaluated.

学習終了手段104は、第1所定時間より長い第2所定時間を経過しても機械学習が終了しない機械学習モデルについて、機械学習を終了させる機能を有する。具体的には、学習終了手段104は、第1所定時間より長い第2所定時間をタイマ20が計測した時点で機械学習が終了していない機械学習モデルについて、機械学習を強制的に終了させる。 The learning termination means 104 has a function of terminating machine learning for a machine learning model for which machine learning has not been completed even after a second predetermined time longer than the first predetermined time has elapsed. Specifically, the learning termination means 104 forcibly terminates machine learning for a machine learning model for which machine learning has not been completed at the time when the timer 20 measures the second predetermined time longer than the first predetermined time.

推論手段105は、モデル選択手段103が選択した一つの機械学習モデルを用いて、売上情報等の予測データを出力する機能を有する。具体的には、推論手段105は、モデル選択手段103が選択した一つの機械学習モデルに、予測の対象となる諸条件(パラメータ)を入力し、当該機械学習モデルが出力する売上予測の出力結果を予測データとして取得する。例えば、推論手段105は、売上予測をしたい日の曜日や時間帯、気象条件等のパラメータを機械学習モデルに入力することで、これらのパラメータから推論される未来の売上予測の出力結果を予測データとして取得する。 The inference means 105 has a function of outputting prediction data such as sales information using one of the machine learning models selected by the model selection means 103. Specifically, the inference means 105 inputs the conditions (parameters) to be predicted into one of the machine learning models selected by the model selection means 103, and acquires the output result of the sales forecast output by the machine learning model as prediction data. For example, the inference means 105 inputs parameters such as the day of the week, time of day, and weather conditions of the day for which sales are to be predicted into the machine learning model, and acquires the output result of the future sales forecast inferred from these parameters as prediction data.

ここからは、本部サーバ1の制御について説明する。図6は、本部サーバ1における機械学習モデルの選択に係る制御処理の流れを示すフローチャートである。図7は、本部サーバ1における予測データの出力に係る制御処理の流れを示すフローチャートである。 From here, the control of the headquarters server 1 will be explained. Figure 6 is a flowchart showing the flow of the control process related to the selection of a machine learning model in the headquarters server 1. Figure 7 is a flowchart showing the flow of the control process related to the output of prediction data in the headquarters server 1.

図6に示すように、本部サーバ1の制御部100は、タイマ20の計時により所定時刻であるかを判断する(S11)。所定時刻は、例えば店舗Tの閉店後の決められた時刻であり、時刻記憶部144に記憶されている。タイマ20の計時によって所定時刻であると判断した場合には(S11のYes)、制御部100は、売上管理部131に記憶されている、予想データを出力するための過去データとしての売上情報を入力する(S12)。 As shown in FIG. 6, the control unit 100 of the headquarters server 1 judges whether it is a predetermined time based on the timing of the timer 20 (S11). The predetermined time is, for example, a set time after the store T closes, and is stored in the time memory unit 144. If it is judged based on the timing of the timer 20 that it is the predetermined time (Yes in S11), the control unit 100 inputs sales information stored in the sales management unit 131 as past data for outputting forecast data (S12).

例えば、ある店舗Tの今日の売上を予測したい場合は、当該店舗Tに係る過去の売上情報を店舗別売上管理部1311から呼び出して入力する。また、ある商品の売上を予測したい場合は、当該商品に係る売上情報を商品別売上管理部1312から呼び出して入力する。また、すべての店舗Tをまとめた売り上げを予測したい場合は、売上情報を合計売上管理部1313から呼び出して入力する。入力する売上情報は、データの数が多いほど機械学習モデルは精度が高い出力をすることから、いずれの場合もできるだけ多く(例えば1年分)の売上情報を入力する。 For example, if it is desired to predict today's sales for a certain store T, past sales information for that store T is retrieved and input from the store sales management unit 1311. Also, if it is desired to predict sales for a certain product, sales information for that product is retrieved and input from the product sales management unit 1312. Also, if it is desired to predict sales for all stores T combined, sales information is retrieved and input from the total sales management unit 1313. In either case, as much sales information as possible (for example, one year's worth) is input, since the more data there is, the more accurate the machine learning model's output will be.

次に学習手段101は、機械学習モデル(実施形態ではモデル1、モデル2、モデル3)の各々について、機械学習を開始させる(S13)。モデル1、モデル2、モデル3に係るパラメータは、それぞれ異なっている。そして制御部100は、S11に戻る。機械学習が終了した機械学習モデルについて、制御部100は、当該機械学習モデルを特定するモデル特定情報と、当該機械学習モデルによる機械学習の学習結果の出力を学習終了情報部132に記憶する。 Next, the learning means 101 starts machine learning for each of the machine learning models (in this embodiment, model 1, model 2, and model 3) (S13). The parameters for model 1, model 2, and model 3 are different from each other. Then, the control unit 100 returns to S11. For the machine learning models for which machine learning has been completed, the control unit 100 stores model identification information that identifies the machine learning model and the output of the machine learning learning results by the machine learning model in the learning completion information unit 132.

また、所定時刻ではないと判断した場合には(S11のNo)、制御部100は、タイマ20の所定時刻の計時と時刻記憶部144に記憶されている第1所定時間とから、第1所定時間を経過したかを判断する(S21)。第1所定時間は、S13において機械学習モデルが機械学習を開始した時刻から予め決められた時間であって、例えば店舗Tの早朝の所定時刻(例えばAM5時)になるまでの時間である。第1所定時間を経過したと判断した場合には(S21のYes)、制御部100は、機械学習を開始してから第1所定時間を経過した時点で機械学習を終了した機械学習モデルがあるかを判断する(S22)。具体的には、制御部100は、学習終了情報部132にモデル特定情報が記憶されているか否かで、機械学習を終了した機械学習モデルがあるかを判断する。 If it is determined that the time has not yet reached the predetermined time (No in S11), the control unit 100 determines whether the first predetermined time has elapsed based on the timer 20's counting of the predetermined time and the first predetermined time stored in the time memory unit 144 (S21). The first predetermined time is a predetermined time from the time the machine learning model starts machine learning in S13, and is, for example, the time until a predetermined time in the early morning of the store T (for example, 5:00 AM). If it is determined that the first predetermined time has elapsed (Yes in S21), the control unit 100 determines whether there is a machine learning model that has finished machine learning at the time when the first predetermined time has elapsed since the start of machine learning (S22). Specifically, the control unit 100 determines whether there is a machine learning model that has finished machine learning based on whether model-specific information is stored in the learning end information unit 132.

機械学習を終了した機械学習モデルがあると判断した場合には(S22のYes)、制御部100は、すべての機械学習モデルが機械学習を終了したかを判断する(S23)。実施形態の場合、モデル1、モデル2、モデル3の3種類の機械学習モデルが機械学習を行っているため、すべて(3種類)の機械学習モデルを特定するモデル特定情報が学習終了情報部132に記憶されていれば、制御部100は、すべての機械学習モデルが機械学習を終了したと判断する。すべて(3種類)の機械学習モデルを特定するモデル特定情報が学習終了情報部132に記憶されていなければ、制御部100は、すべての機械学習モデルが機械学習を終了していない(すなわち、まだ機械学習中の機械学習モデルが存在する)と判断する。 When it is determined that there is a machine learning model that has completed machine learning (Yes in S22), the control unit 100 determines whether all machine learning models have completed machine learning (S23). In the case of the embodiment, three types of machine learning models, model 1, model 2, and model 3, are performing machine learning, so if model identification information that identifies all (three types) of machine learning models is stored in the learning end information unit 132, the control unit 100 determines that all machine learning models have completed machine learning. If model identification information that identifies all (three types) of machine learning models is not stored in the learning end information unit 132, the control unit 100 determines that all machine learning models have not completed machine learning (i.e., there is a machine learning model that is still in the middle of machine learning).

すべての機械学習モデルが機械学習を終了したと判断した場合には(S23のYes)、制御部100は、終了フラグ部133に、すべての機械学習モデルが機械学習を終了したことを示すフラグを記憶する(S24)。例えば、すべての機械学習モデルが機械学習を終了したと判断した場合には、すべての機械学習モデルが機械学習を終了したことを示すフラグ「1」を記憶する。なお、すべての機械学習モデルが機械学習を終了していないと判断した場合には、すべての機械学習モデルが機械学習を終了していないことを示すフラグ「0」が記憶されている。 When it is determined that all machine learning models have finished machine learning (Yes in S23), the control unit 100 stores a flag indicating that all machine learning models have finished machine learning in the end flag unit 133 (S24). For example, when it is determined that all machine learning models have finished machine learning, a flag "1" indicating that all machine learning models have finished machine learning is stored. Note that when it is determined that all machine learning models have not finished machine learning, a flag "0" indicating that all machine learning models have not finished machine learning is stored.

S24の処理後、またはS23において、すべての機械学習モデルが機械学習を終了していないと判断した場合には(S23のNo)、次に制御部100は、学習終了情報部132に記憶されている、機械学習が終了した機械学習モデルに評価用のデータを入力して学習結果を抽出する(S25)。そして評価手段102は、抽出した機械学習モデル別の学習結果と、当該学習結果に対する実績データを比較して、機械学習モデルの各々の精度を評価する(S26)。実績データとは、入力された過去データに対して実際に計測した回答(実績データ)であって、実施形態の場合、例えば過去1年間の売上情報に係る実績データである。機械学習モデルは、学習結果が実績データに近いほど精度が高いと評価される。 After the process of S24 or in S23, if it is determined that not all machine learning models have completed machine learning (No in S23), the control unit 100 then inputs evaluation data into the machine learning models for which machine learning has been completed and stored in the learning completion information unit 132 to extract the learning results (S25). The evaluation means 102 then compares the extracted learning results for each machine learning model with performance data for the learning results to evaluate the accuracy of each machine learning model (S26). The performance data is an answer (performance data) actually measured for the input past data, and in the case of the embodiment, is, for example, performance data related to sales information for the past year. The closer the learning results are to the performance data, the higher the accuracy of the machine learning model is evaluated.

次に制御部100は、評価された複数の機械学習モデルについて、どの機械学習モデルの評価(精度)が高いかを比較する(S27)。そしてモデル選択手段103は、最も評価が高い一つの機械学習モデルを選択する(S28)。 Next, the control unit 100 compares the multiple evaluated machine learning models to determine which machine learning model has the highest evaluation (accuracy) (S27). The model selection means 103 then selects the single machine learning model with the highest evaluation (S28).

次に制御部100は、終了フラグ部133に記憶されている終了フラグが「1」であるかを判断する(S29)。終了フラグ部133に記憶されている終了フラグが「1」でない(すなわち「0」である)場合には(S29のNo)、次に制御部100は、制御部100が一つの機械学習モデルを選択してから終了時刻部144に記憶されている一定時間経過したかを判断する(S30)。一定時間は、まだ第2所定時間を計時する前の時間である。一定時間経過するまで待機し(S30のNo)、一定時間経過したと判断した場合には(S30のYes)、制御部100は、タイマ20の所定時刻の計時から終了時刻部144に記憶されている第2所定時間を経過したかを判断する(S31)。第2所定時間は第1所定時間より長い時間であって、例えば24時間である。タイマ20の所定時刻の計時から24時間経過しても機械学習が終了しない機械学習モデルは、翌日になるため、これ以上機械学習を継続させる意味が薄い。第2所定時間は、このように、タイマ20の所定時刻の計時から機械学習を継続させる意味が薄くなる時間を設定する。タイマ20の所定時刻の計時から第2所定時間を経過していないと判断した場合には(S31のNo)、制御部100は、S22に戻り、未だ機械学習を継続している機械学習モデルが機械学習を終了したかを判断する。 Next, the control unit 100 judges whether the end flag stored in the end flag unit 133 is "1" (S29). If the end flag stored in the end flag unit 133 is not "1" (i.e., "0") (No in S29), the control unit 100 then judges whether a certain time stored in the end time unit 144 has elapsed since the control unit 100 selected one machine learning model (S30). The certain time is the time before the second predetermined time is clocked. The control unit 100 waits until the certain time has elapsed (No in S30), and if it is judged that the certain time has elapsed (Yes in S30), it judges whether the second predetermined time stored in the end time unit 144 has elapsed from the time of the timer 20's predetermined time (S31). The second predetermined time is a time longer than the first predetermined time, for example, 24 hours. For a machine learning model for which machine learning has not ended even after 24 hours have elapsed from the time of the timer 20's predetermined time, it will be the next day, so there is little point in continuing machine learning any further. The second predetermined time is thus set to a time when it becomes less meaningful to continue machine learning from the time the timer 20 reaches the predetermined time. If it is determined that the second predetermined time has not elapsed from the time the timer 20 reaches the predetermined time (No in S31), the control unit 100 returns to S22 and determines whether the machine learning model that is still continuing machine learning has ended machine learning.

一方、タイマ20の所定時刻の計時から第2所定時間を経過したと判断した場合には(S31のYes)、学習終了手段104は、機械学習を継続している機械学習モデルにおける機械学習を強制的に終了させる(S32)。そして制御部100は、処理を終了する。また、終了フラグ部133に記憶されている終了フラグが「1」の場合には(S29のYes)、制御部100は、処理を終了する。なお、S22において、機械学習を終了した機械学習モデルはないと判断した場合には(S22のNo)、制御部100は、S30およびS31の判断を行う。すなわち、制御部100は再度一定時間の経過を待ってさらに機械学習を終了した機械学習モデルの有無を判断する。すなわち、制御部100は、一定時間が経過するたびに、機械学習が終了した機械宅習モデルがあるかを判断する。 On the other hand, if it is determined that the second predetermined time has elapsed since the timer 20 reached the predetermined time (Yes in S31), the learning termination means 104 forcibly terminates the machine learning in the machine learning model that is continuing the machine learning (S32). Then, the control unit 100 terminates the process. Also, if the termination flag stored in the termination flag unit 133 is "1" (Yes in S29), the control unit 100 terminates the process. Note that, if it is determined in S22 that there is no machine learning model that has completed the machine learning (No in S22), the control unit 100 performs the determinations of S30 and S31. That is, the control unit 100 waits for a certain period of time to elapse again and determines whether there is a machine learning model that has completed the machine learning. That is, the control unit 100 determines whether there is a machine learning model that has completed the machine learning every time a certain period of time elapses.

なお、一度S28において一つの機械学習モデルを選択し、S31のNoの判断を経て再度S22の判断において新たに機械学習を終了した機械学習モデルがあると判断した場合には(S22のYes)、制御部100は、当該機械学習モデルについてS26で評価し、S27において、当該機械学習モデルの評価と先にS28で選択されている機械学習モデルの評価とを比較する。そして制御部100は、評価が高かった一つの機械学習モデルをS28で選択する。 Note that if one machine learning model is selected in S28, and then after determining No in S31, it is determined again in S22 that there is a new machine learning model for which machine learning has been completed (Yes in S22), the control unit 100 evaluates the machine learning model in S26, and in S27 compares the evaluation of the machine learning model with the evaluation of the machine learning model previously selected in S28. The control unit 100 then selects the machine learning model with the highest evaluation in S28.

ここからは、S28で選択された一つの機械学習モデルを使用して推論をし、予測データを出力する制御について説明する。図7は、本部サーバ1における予測データの出力に係る制御処理の流れを示すフローチャートである。図7に示すように、制御部100は、S28の処理において一つの機械学習モデルが選択されたかを判断する(S41)。一つの機械学習モデルが選択されるまで待機し(S41のNo)、一つの機械学習モデルが選択されたと判断した場合には(S41のYes)、制御部100は、選択された機械学習モデルに対し予測をしたい日に対応した過去のデータであるパラメータの情報を入力する(S42)。S42で入力するパラメータとは、例えば前日のパラメータである。また例えば前週の同じ曜日のパラメータである。また、例えば前月の同じ日のパラメータである。また例えば前年の同じ月日のパラメータである。 From here, we will explain the control of inference using one machine learning model selected in S28 and outputting predicted data. FIG. 7 is a flowchart showing the flow of control processing related to the output of predicted data in the headquarters server 1. As shown in FIG. 7, the control unit 100 judges whether one machine learning model has been selected in the processing of S28 (S41). It waits until one machine learning model has been selected (No in S41), and if it is determined that one machine learning model has been selected (Yes in S41), the control unit 100 inputs parameter information, which is past data corresponding to the day for which prediction is desired, to the selected machine learning model (S42). The parameters input in S42 are, for example, parameters for the previous day. Also, for example, parameters for the same day of the week in the previous week. Also, for example, parameters for the same day of the previous month. Also, for example, parameters for the same day of the previous year.

次に推論手段105は、入力された過去のデータに基づいて機械学習モデルに推論させる(S43)。そして制御部100は、機械学習モデルが推論した結果として未来の予想データを出力する(S44)。この予測データは、例えば本日の売上予測情報である。そして制御部100は、処理を終了する。 Next, the inference means 105 causes the machine learning model to make an inference based on the input past data (S43). The control unit 100 then outputs future prediction data as the result of the inference made by the machine learning model (S44). This prediction data is, for example, today's sales forecast information. The control unit 100 then ends the process.

以上説明したように、実施形態の本部サーバ1は、学習手法又は作成に係るパラメータの条件が異なる複数の機械学習モデルを作成する学習手段101と、複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、機械学習が終了している機械学習モデルの各々に、評価用のデータを入力することで得られた機械学習モデル毎の出力結果に基づいて、機械学習モデルの各々の精度を評価する評価手段102と、記評価手段102の評価結果に基づいて、一つの機械学習モデルを選択するモデル選択手段103と、を備える。 As described above, the headquarters server 1 of the embodiment includes a learning means 101 that creates multiple machine learning models with different learning methods or parameter conditions related to creation, an evaluation means 102 that evaluates the accuracy of each machine learning model based on the output results for each machine learning model obtained by inputting evaluation data into each of the multiple machine learning models for which machine learning has been completed after a first predetermined time has elapsed since the start of machine learning, and a model selection means 103 that selects one machine learning model based on the evaluation result of the evaluation means 102.

このような本部サーバ1は、第1所定時間を経過した時点で機械学習を終了した機械学習モデルの出力を評価して、最も評価が高い一つの機械学習モデルを選択するようにした。そのため、多くの時間を要せずに一つの機械学習モデルの選定を行うことが可能となる。 The headquarters server 1 evaluates the output of the machine learning models that have completed machine learning after the first predetermined time has elapsed, and selects the single machine learning model with the highest evaluation. This makes it possible to select a single machine learning model without spending a lot of time.

以上、本発明の実施形態を説明したが、この実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。この新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。この実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although an embodiment of the present invention has been described above, this embodiment is presented as an example and is not intended to limit the scope of the invention. This new embodiment can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the gist of the invention. This embodiment and its modifications are included in the scope and gist of the invention, and are included in the scope of the invention and its equivalents described in the claims.

例えば、実施形態では、店舗Tにおける売上情報を入力される過去データの一例として説明した。しかしながらこれに限らず、入力される過去データ、得ようとする出力に応じた種類の過去データであればよい。 For example, in the embodiment, sales information for store T has been described as an example of input past data. However, the input past data is not limited to this, and any type of past data may be used as long as it corresponds to the output to be obtained.

また、実施形態では、本部サーバ1をクラウドサーバとして説明したが、本部サーバ1はクラウドサーバ以外のサーバであってもよい。 In addition, in the embodiment, the headquarters server 1 is described as a cloud server, but the headquarters server 1 may be a server other than a cloud server.

また、実施形態では、本部サーバ1を情報処理装置の一例として説明したが、例えば一店舗において機械学習機能を実現させる場合、店舗Tに設置された店舗サーバ3が情報処理装置であってもよい。 In addition, in the embodiment, the headquarters server 1 has been described as an example of an information processing device, but when implementing a machine learning function in one store, for example, the store server 3 installed in store T may be an information processing device.

なお、実施形態の本部サーバ1で実行されるプログラムは、インストール可能な形式または実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供される。 The programs executed by the headquarters server 1 in this embodiment are provided in the form of installable or executable files recorded on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a digital versatile disk (DVD).

また、実施形態の本部サーバ1で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、実施形態の本部サーバ1で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。 The program executed by the headquarters server 1 of the embodiment may be stored on a computer connected to a network such as the Internet and provided by downloading it via the network. The program executed by the headquarters server 1 of the embodiment may be provided or distributed via a network such as the Internet.

また、実施形態の本部サーバ1で実行されるプログラムを、それぞれROM等に予め組み込んで提供するように構成してもよい。 In addition, the programs executed by the headquarters server 1 in the embodiment may be configured to be provided by being pre-installed in a ROM or the like.

1 本部サーバ
3 店舗サーバ
5 POS端末
10 情報処理システム
11 CPU
12 ROM
13 RAM
14 メモリ部
17 操作部
18 表示部
19 通信部
20 タイマ
31 売上情報部
33 RAM
100 制御部
101 学習手段
102 評価手段
103 モデル選択手段
104 学習終了手段
105 推論手段
131 売上管理部
132 学習終了情報部
133 終了フラグ部
142 モデル記憶部
143 パラメータ部
144 時刻記憶部
1311 店舗別売上管理部
1312 商品別売上管理部
1313 合計売上管理部
REFERENCE SIGNS LIST 1 Headquarters server 3 Store server 5 POS terminal 10 Information processing system 11 CPU
12 ROM
13 RAM
14 Memory section 17 Operation section 18 Display section 19 Communication section 20 Timer 31 Sales information section 33 RAM
REFERENCE SIGNS LIST 100 Control unit 101 Learning means 102 Evaluation means 103 Model selection means 104 Learning end means 105 Inference means 131 Sales management unit 132 Learning end information unit 133 End flag unit 142 Model storage unit 143 Parameter unit 144 Time storage unit 1311 Store sales management unit 1312 Product sales management unit 1313 Total sales management unit

特開2017-228086号公報JP 2017-228086 A

Claims (5)

学習手法又は作成に係るパラメータの条件が異なる複数の機械学習モデルを作成する学習手段と、
前記複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、前記機械学習が終了している前記機械学習モデルの各々に、評価用のデータを入力することで得られた前記機械学習モデル毎の出力結果に基づいて、前記機械学習モデルの各々の精度を評価する評価手段と、
前記評価手段の評価結果に基づいて、一つの前記機械学習モデルを選択するモデル選択手段と、
前記機械学習の開始から前記第1所定時間より長い第2所定時間を経過しても前記機械学習が終了しない前記機械学習モデルについて、前記機械学習を終了させる学習終了手段と、
を備える情報処理装置。
A learning means for creating a plurality of machine learning models having different learning methods or parameter conditions related to the creation;
an evaluation means for evaluating accuracy of each of the machine learning models based on an output result for each of the machine learning models obtained by inputting evaluation data into each of the machine learning models for which the machine learning has been completed after a first predetermined time has elapsed since the start of machine learning; and
A model selection means for selecting one of the machine learning models based on the evaluation result of the evaluation means;
A learning termination means for terminating the machine learning for the machine learning model in which the machine learning has not been terminated even after a second predetermined time that is longer than the first predetermined time has elapsed since the start of the machine learning;
An information processing device comprising:
前記評価手段は、前記機械学習モデルを評価してから前記第2所定時間が経過する前の一定時間経過後までに、前記学習手段による機械学習が終了している前記機械学習モデルに前記評価用のデータを入力することで得られた前記機械学習モデル毎の出力結果と、当該出力結果に対する実績データとに基づいて、前記機械学習モデルの各々の精度を評価し、
前記モデル選択手段は、当該評価した機械学習モデルと前記選択された機械学習モデルとから最も評価された一つの前記機械学習モデルを選択する、
請求項1に記載の情報処理装置。
the evaluation means evaluates accuracy of each of the machine learning models based on output results for each of the machine learning models obtained by inputting the evaluation data into the machine learning models for which machine learning by the learning means has been completed, and performance data for the output results, within a certain time period before the second predetermined time has elapsed since the machine learning models were evaluated;
The model selection means selects the most evaluated machine learning model from the evaluated machine learning models and the selected machine learning model.
The information processing device according to claim 1 .
前記モデル選択手段が選択した機械学習モデルを用いて、入力された過去のデータに基づいて推論した予測データを出力する推論手段、
をさらに備える請求項1または2に記載の情報処理装置。
an inference means for outputting prediction data inferred based on input past data using the machine learning model selected by the model selection means;
The information processing device according to claim 1 , further comprising:
学習手法又は作成に係るパラメータの条件が異なる複数の機械学習モデルを作成する学習工程と、
前記複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、前記機械学習が終了している前記機械学習モデルの各々に、評価用のデータを入力することで得られた前記機械学習モデル毎の出力結果に基づいて、前記機械学習モデルの各々の精度を評価する評価工程と、
前記評価工程の評価結果に基づいて、一つの前記機械学習モデルを選択するモデル選択工程と、
前記機械学習の開始から前記第1所定時間より長い第2所定時間を経過しても前記機械学習が終了しない前記機械学習モデルについて、前記機械学習を終了させる学習終了工程と、
を含む情報処理方法。
A learning process for creating a plurality of machine learning models having different learning methods or parameter conditions related to the creation;
an evaluation step of evaluating accuracy of each of the machine learning models based on an output result for each of the machine learning models obtained by inputting evaluation data into each of the machine learning models for which the machine learning has been completed after a first predetermined time has elapsed since the start of machine learning;
a model selection step of selecting one of the machine learning models based on the evaluation result of the evaluation step;
a learning termination step of terminating the machine learning for the machine learning model in which the machine learning has not been terminated even after a second predetermined time that is longer than the first predetermined time has elapsed since the start of the machine learning;
An information processing method comprising:
情報処理装置としてのコンピュータを、
学習手法又は作成に係るパラメータの条件が異なる複数の機械学習モデルを作成する学習手段と、
前記複数の機械学習モデルのうち、機械学習の開始から第1所定時間の経過後に、前記機械学習が終了している前記機械学習モデルの各々に、評価用のデータを入力することで得られた前記機械学習モデル毎の出力結果に基づいて、前記機械学習モデルの各々の精度を評価する評価手段と、
前記評価手段の評価結果に基づいて、一つの前記機械学習モデルを選択するモデル選択手段と、
前記機械学習の開始から前記第1所定時間より長い第2所定時間を経過しても前記機械学習が終了しない前記機械学習モデルについて、前記機械学習を終了させる学習終了手段と、
して機能させるためのプログラム。
A computer as an information processing device
A learning means for creating a plurality of machine learning models having different learning methods or parameter conditions related to the creation;
an evaluation means for evaluating accuracy of each of the machine learning models based on an output result for each of the machine learning models obtained by inputting evaluation data into each of the machine learning models for which the machine learning has been completed after a first predetermined time has elapsed since the start of machine learning;
A model selection means for selecting one of the machine learning models based on the evaluation result of the evaluation means;
A learning termination means for terminating the machine learning for the machine learning model in which the machine learning has not been terminated even after a second predetermined time that is longer than the first predetermined time has elapsed since the start of the machine learning;
A program to make it function as such.
JP2021051160A 2021-03-25 2021-03-25 Information processing device, information processing method, and program Active JP7631064B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021051160A JP7631064B2 (en) 2021-03-25 2021-03-25 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021051160A JP7631064B2 (en) 2021-03-25 2021-03-25 Information processing device, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2022149144A JP2022149144A (en) 2022-10-06
JP7631064B2 true JP7631064B2 (en) 2025-02-18

Family

ID=83463830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021051160A Active JP7631064B2 (en) 2021-03-25 2021-03-25 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP7631064B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000276460A (en) 1999-03-24 2000-10-06 Fuji Electric Co Ltd Power demand forecasting method
JP2007109164A (en) 2005-10-17 2007-04-26 Oki Electric Ind Co Ltd Data classification apparatus, method, and program; and data classification retrieval system, method, and program
JP2019067327A (en) 2017-10-05 2019-04-25 富士通株式会社 Learning program, learning device and learning method
JP2019079214A (en) 2017-10-24 2019-05-23 富士通株式会社 Search method, search device and search program
JP2020106340A (en) 2018-12-26 2020-07-09 キヤノン株式会社 Information processing apparatus, control method of information processing apparatus, and program
JP2020204970A (en) 2019-06-18 2020-12-24 キヤノンメディカルシステムズ株式会社 Medical information processing device and medical information processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000276460A (en) 1999-03-24 2000-10-06 Fuji Electric Co Ltd Power demand forecasting method
JP2007109164A (en) 2005-10-17 2007-04-26 Oki Electric Ind Co Ltd Data classification apparatus, method, and program; and data classification retrieval system, method, and program
JP2019067327A (en) 2017-10-05 2019-04-25 富士通株式会社 Learning program, learning device and learning method
JP2019079214A (en) 2017-10-24 2019-05-23 富士通株式会社 Search method, search device and search program
JP2020106340A (en) 2018-12-26 2020-07-09 キヤノン株式会社 Information processing apparatus, control method of information processing apparatus, and program
JP2020204970A (en) 2019-06-18 2020-12-24 キヤノンメディカルシステムズ株式会社 Medical information processing device and medical information processing method

Also Published As

Publication number Publication date
JP2022149144A (en) 2022-10-06

Similar Documents

Publication Publication Date Title
US12039564B2 (en) Method and system for generation of at least one output analytic for a promotion
US11048530B1 (en) Predictive action modeling to streamline user interface
US11017422B2 (en) Dynamically generating digital product notifications over time based on product expiration data
JP6352798B2 (en) Marketing measure optimization apparatus, method, and program
US11227309B2 (en) Method and system for optimizing user grouping for advertisement
US11631102B2 (en) Optimization of markdown schedules for clearance items at physical retail stores
US20200380541A1 (en) Method and system for adjustable automated forecasts
JP2010198243A (en) Device and method for action prediction
CN111727451A (en) Information processing device, etc. for calculating prediction data
CN111311332A (en) User data processing method and device
EP4208838A1 (en) Methods and systems for profit optimization
KR102929367B1 (en) Retail store comprehensive management system
JP3668642B2 (en) Data prediction method, data prediction apparatus, and recording medium
JP2016134180A (en) Agent based demand forecasting system and method
JP7666966B2 (en) Learning method, learning model, prediction method, prediction device, and computer program
JP2007233944A (en) System for predicting commodity sales
JP7631064B2 (en) Information processing device, information processing method, and program
CN118586953A (en) Product retail method and system
US20240127277A1 (en) Markup optimization
JP2022149951A (en) Information processing device, and program
JP7476973B2 (en) Estimation system, estimation method, and estimation program
JP7809866B1 (en) Information processing device, information processing method, program, and model generation method
JP7538302B2 (en) Predictive management device and program
JP2019049842A (en) Forecast management device and program
JP7333442B1 (en) data processor and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250107

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: 20250121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250205

R150 Certificate of patent or registration of utility model

Ref document number: 7631064

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150