JP2018200513A - Stock price prediction system, stock price prediction method and stock price prediction program - Google Patents
Stock price prediction system, stock price prediction method and stock price prediction program Download PDFInfo
- Publication number
- JP2018200513A JP2018200513A JP2017104050A JP2017104050A JP2018200513A JP 2018200513 A JP2018200513 A JP 2018200513A JP 2017104050 A JP2017104050 A JP 2017104050A JP 2017104050 A JP2017104050 A JP 2017104050A JP 2018200513 A JP2018200513 A JP 2018200513A
- Authority
- JP
- Japan
- Prior art keywords
- prediction
- output data
- stock price
- collective intelligence
- stock
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 21
- 238000012549 training Methods 0.000 claims description 83
- 238000000605 extraction Methods 0.000 claims description 21
- 230000002776 aggregation Effects 0.000 abstract 6
- 238000004220 aggregation Methods 0.000 abstract 6
- 238000012360 testing method Methods 0.000 description 41
- 238000013528 artificial neural network Methods 0.000 description 9
- 210000002569 neuron Anatomy 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000004088 simulation Methods 0.000 description 6
- 238000009826 distribution Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 230000002354 daily effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003203 everyday effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000556 factor analysis Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000002945 steepest descent method Methods 0.000 description 1
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
本発明は、株価の予測に適した株価予測システム、株価予測方法及び株価予測プログラムに関する。 The present invention relates to a stock price prediction system, a stock price prediction method, and a stock price prediction program suitable for stock price prediction.
近年のICT(Information and Communication Technology)技術の発達に伴い、金融業務においても人工知能を応用する動きが盛んである。特に、フィンテック(FinTech)と呼ばれる金融とIT(Information Technology)とを融合した金融工学分野での技術革新に目を見張るものがある。 With the recent development of ICT (Information and Communication Technology) technology, the movement to apply artificial intelligence also in the financial business is prosperous. In particular, there is something remarkable about technological innovation in the field of financial engineering that combines finance called FinTech and IT (Information Technology).
このような金融業務における金融商品の売買を支援するものとして、特許文献1では、金融派生商品の価格シナリオに基づき2種類の特徴量を算出し、2種類の特徴量から夫々変動の度合いの頻度分布を算出し、夫々の頻度分布を集計し金融派生商品の購入比率を決定する売買契約支援システムを提案している。
また、特許文献2では、予測したい資産に対し、資産とそれ以外に複数の資産を一様乱数を発生させて資産群を設定し、設定した資産群に対し、観測方程式と状態方程式とからなる状態空間モデルを適用し、過去の資産価格から方程式構造を推定し、推定された方程式を用いて資産の価格予測を行う金融資産価格予測システムを提案している。なお、観測方程式は因子分析により推定し、状態方程式は観測方程式と状態方程式から生成されるカルマンフィルタから時系列構造をもつ状態変数を推定している。
Further, in
上述した特許文献1の売買契約支援システムでは、価格シナリオに基づいた2種類の特徴量から算出した変動の度合いの夫々の頻度分布を集計し、金融派生商品の購入比率を決定するので、適切な売買計画を立案できる。
In the above-described sales contract support system of
一方、上述した特許文献2の金融資産価格予測システムでは、予測したい資産とそれ以外に複数の資産とに対し、一様乱数を発生させて資産群を設定し、過去の資産価格から推定した方程式構造による方程式を用いて資産の価格予測を行うので、予測精度を向上させることができる。
On the other hand, in the financial asset price prediction system of
ところで、特許文献1の売買契約支援システム、又は特許文献2の金融資産価格予測システムを、株式投資における収益性の予測に適用しようとすると、次のような不具合を生じるおそれがある。
By the way, when trying to apply the sales contract support system of
すなわち、特許文献1の売買契約支援システムは、夫々の頻度分布の集計結果から購入比率を決定するものの、夫々の頻度分布のバラツキが多いため、売買計画における収益予測の精度が低下するおそれがある。
That is, although the sales contract support system of
また、特許文献2の金融資産価格予測システムは、観測方程式と状態方程式とからなる状態空間モデルを適用し、過去の資産価格から方程式構造を推定するため、たとえば状態変数の推定結果によっては資産の収益予測の精度が低下するおそれがある。
In addition, the financial asset price prediction system of
このようなことから、収益予測の精度を高めることで、株式投資における収益性を高めることができるシステムの開発が望まれている。 For this reason, it is desired to develop a system that can improve profitability in stock investment by improving the accuracy of earnings prediction.
本発明は、このような状況に鑑みてなされたものであり、株式投資における収益性を高めることができる株価予測システム、株価予測方法及び株価予測プログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a stock price prediction system, a stock price prediction method, and a stock price prediction program that can improve profitability in stock investment.
本発明の株価予測システムは、株価の変化要素を示す入力データに基づき、株価の予測値の集合を取得する予測集合取得手段と、前記株価の予測値の集合から予測精度の高い株価の集合知を取得する集合知取得手段とを備えることを特徴とする。
また、前記予測集合取得手段は、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する無作為復元抽出部と、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する集団学習部とを有し、前記集合知取得手段は、前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する平均値取得部を有することを特徴とする。
また、前記集合知取得手段は、前記平均値取得部が取得した予測精度の高い予測値の集合知からコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する標準偏差取得部を有することを特徴とする。
また、前記予測集合取得手段は、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する無作為復元抽出部と、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する集団学習部とを有し、前記集合知取得手段は、前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する標準偏差取得部と、前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する平均値取得部とを有することを特徴とする。
本発明の株価予測方法は、予測集合取得手段により、株価の変化要素を示す入力データに基づき、株価の予測値の集合を取得する工程と、集合知取得手段により、前記株価の予測値の集合から予測精度の高い株価の集合知を取得する工程とを有することを特徴とする。
また、前記予測集合取得手段は、無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、前記集合知取得手段は、平均値取得部により、前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程を有することを特徴とする。
また、前記集合知取得手段は、標準偏差取得部により、前記平均値取得部が取得した予測精度の高い予測値の集合知からコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程を有することを特徴とする。
また、前記予測集合取得手段は、無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、前記集合知取得手段は、標準偏差取得部により、前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程と、平均値取得部により、前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程とを有することを特徴とする。
本発明の株価予測プログラムは、株価予測システムを制御するコンピューターに実行させる株価予測プログラムであって、予測集合取得手段により、株価の変化要素を示す入力データに基づき、株価の予測値の集合を取得する工程と、集合知取得手段により、前記株価の予測値の集合から予測精度の高い株価の集合知を取得する工程とを有することを特徴とする。
また、前記予測集合取得手段は、無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、前記集合知取得手段は、平均値取得部により、前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程を有することを特徴とする。
また、前記集合知取得手段は、標準偏差取得部により、前記平均値取得部が取得した予測精度の高い予測値の集合知からコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程を有することを特徴とする。
また、前記予測集合取得手段は、無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、前記集合知取得手段は、標準偏差取得部により、前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程と、平均値取得部により、前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程とを有することを特徴とする。
本発明の株価予測システム、株価予測方法及び株価予測プログラムでは、予測集合取得手段により、株価の変化要素を示す入力データに基づき、株価の予測値の集合を取得し、集合知取得手段により、株価の予測値の集合から予測精度の高い株価の集合知を取得する。
すなわち、集合知取得手段により、予測集合取得手段が取得した株価の予測値の集合から予測精度の高い株価の集合知を取得でき、収益予測の精度を高めることができる。
A stock price prediction system according to the present invention includes a prediction set acquisition means for acquiring a set of predicted values of stock prices based on input data indicating change factors of stock prices, and collective knowledge of stock prices with high prediction accuracy from the set of predicted values of stock prices. And collective intelligence acquisition means for acquiring.
Further, the prediction set acquisition unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model. A random restoration extraction unit that outputs, and a group learning unit that trains a plurality of prediction models using the training data indicated by the first output data and outputs second output data that individually indicates the prediction value. The collective intelligence acquisition means cancels each other's prediction error by taking an average value from the second output data, and outputs the third output data indicating the collective intelligence of the prediction values with high prediction accuracy. It has a value acquisition part.
The collective intelligence acquisition means acquires a set of predicted values with a high consensus ratio from the collective intelligence of predicted values with high prediction accuracy acquired by the average value acquisition unit, and indicates a degree of consensus of the acquired collective intelligence A standard deviation acquisition unit for outputting the output data.
Further, the prediction set acquisition unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model. A random restoration extraction unit that outputs, and a group learning unit that trains a plurality of prediction models using the training data indicated by the first output data and outputs second output data that individually indicates the prediction value. The collective intelligence acquisition means acquires a set of predicted values having a high consensus ratio from the second output data, and outputs a fourth output data indicating the degree of consensus of the acquired collective intelligence; And an average value acquisition unit that outputs a third output data indicating a collective intelligence of prediction values with high prediction accuracy by offsetting mutual prediction errors by taking an average value from the fourth output data. Features .
In the stock price prediction method of the present invention, a prediction set acquisition unit acquires a set of stock price prediction values based on input data indicating stock price change elements, and a collective intelligence acquisition unit sets the stock price prediction values. And obtaining a collective intelligence of stock prices with high prediction accuracy.
Further, the prediction set acquisition means creates a plurality of data sets from the training data indicated by the input data by a random restoration extraction unit, duplicates a plurality of prediction models, and sets a set of training data of each prediction model. A step of outputting the first output data to be displayed, and a group learning unit to train a plurality of prediction models using the training data indicated by the first output data, and to output second output data individually indicating the prediction values And the collective intelligence acquisition means uses the average value acquisition unit to take the average value from the second output data to cancel each other's prediction error and to generate a set of prediction values with high prediction accuracy. It has the process of outputting the 3rd output data which shows knowledge.
Further, the collective intelligence acquisition means acquires a set of prediction values with a high consensus ratio from the collective intelligence of prediction values with high prediction accuracy acquired by the average value acquisition unit by the standard deviation acquisition unit, and acquires the collective intelligence of the acquired collective intelligence It has the process of outputting the 4th output data which shows an agreement degree.
Further, the prediction set acquisition means creates a plurality of data sets from the training data indicated by the input data by a random restoration extraction unit, duplicates a plurality of prediction models, and sets a set of training data of each prediction model. A step of outputting the first output data to be displayed, and a group learning unit to train a plurality of prediction models using the training data indicated by the first output data, and to output second output data individually indicating the prediction values The collective intelligence acquisition means acquires a set of predicted values having a high consensus ratio from the second output data by the standard deviation acquisition unit, and indicates the degree of consensus of the acquired collective intelligence. The output data of 4 and the average value acquisition unit cancel the mutual prediction errors by taking the average value from the fourth output data, and show the collective intelligence of the prediction values with high prediction accuracy. of Characterized by a step of outputting the force data.
The stock price prediction program of the present invention is a stock price prediction program to be executed by a computer that controls a stock price prediction system, and obtains a set of predicted stock prices based on input data indicating change factors of the stock price by a prediction set acquisition means. And a step of acquiring collective intelligence of stock prices with high prediction accuracy from the set of predicted values of stock prices by collective intelligence acquisition means.
Further, the prediction set acquisition means creates a plurality of data sets from the training data indicated by the input data by a random restoration extraction unit, duplicates a plurality of prediction models, and sets a set of training data of each prediction model. A step of outputting the first output data to be displayed, and a group learning unit to train a plurality of prediction models using the training data indicated by the first output data, and to output second output data individually indicating the prediction values And the collective intelligence acquisition means uses the average value acquisition unit to take the average value from the second output data to cancel each other's prediction error and to generate a set of prediction values with high prediction accuracy. It has the process of outputting the 3rd output data which shows knowledge.
Further, the collective intelligence acquisition means acquires a set of prediction values with a high consensus ratio from the collective intelligence of prediction values with high prediction accuracy acquired by the average value acquisition unit by the standard deviation acquisition unit, and acquires the collective intelligence of the acquired collective intelligence It has the process of outputting the 4th output data which shows an agreement degree.
Further, the prediction set acquisition means creates a plurality of data sets from the training data indicated by the input data by a random restoration extraction unit, duplicates a plurality of prediction models, and sets a set of training data of each prediction model. A step of outputting the first output data to be displayed, and a group learning unit to train a plurality of prediction models using the training data indicated by the first output data, and to output second output data individually indicating the prediction values The collective intelligence acquisition means acquires a set of predicted values having a high consensus ratio from the second output data by the standard deviation acquisition unit, and indicates the degree of consensus of the acquired collective intelligence. The output data of 4 and the average value acquisition unit cancel the mutual prediction errors by taking the average value from the fourth output data, and show the collective intelligence of the prediction values with high prediction accuracy. of Characterized by a step of outputting the force data.
In the stock price prediction system, stock price prediction method, and stock price prediction program of the present invention, the prediction set acquisition unit acquires a set of predicted values of the stock price based on the input data indicating the change factor of the stock price, and the collective intelligence acquisition unit acquires the stock price. Collective intelligence of stock prices with high prediction accuracy is acquired from a set of predicted values.
That is, the collective intelligence acquisition means can acquire collective intelligence of stock prices with high prediction accuracy from the set of prediction values of stock prices acquired by the prediction set acquisition means, and can improve the accuracy of revenue prediction.
本発明の株価予測システム、株価予測方法及び株価予測プログラムによれば、集合知取得手段により、予測集合取得手段が取得した株価の予測値の集合から予測精度の高い株価の集合知を取得でき、収益予測の精度を高めることができるので、株式投資における収益性を高めることができる。 According to the stock price prediction system, the stock price prediction method, and the stock price prediction program of the present invention, the collective intelligence acquisition unit can acquire the collective intelligence of the stock price with high prediction accuracy from the set of prediction values of the stock price acquired by the prediction set acquisition unit, Since the accuracy of the earnings prediction can be improved, the profitability in the stock investment can be improved.
以下、本発明の株価予測システムの一実施形態について説明する。
なお、本発明の株価予測システムの一実施形態を説明するに先立ち、図12および図13を用い、一般的なニューラルネットワークによる予測精度について説明する。また、以下に説明する予測値は、株価の収益率である。また、以下に説明する予測精度とは、株価の収益率の予測の精度を意味する。
Hereinafter, an embodiment of the stock price prediction system of the present invention will be described.
Prior to describing an embodiment of the stock price prediction system of the present invention, prediction accuracy by a general neural network will be described with reference to FIGS. The predicted value described below is the rate of return of the stock price. In addition, the prediction accuracy described below means the accuracy of prediction of the return rate of the stock price.
まず、ニューラルネットワークは、どのような予測モデルであっても、次の数1のように記述できる。
すなわち、未来= F(過去)として記述できる。 ここで、「F」は過去および将来の動きの関係を意味する。関数Fが「過去」のデータを入力として受け取る場合、関数Fからの出力として「未来」を予測することができる。
First, the neural network can be described as the
That is, it can be described as future = F (past). Here, “F” means a relationship between past and future movements. When the function F receives “past” data as an input, “future” can be predicted as an output from the function F.
また、一般的なニューラルネットワークの予測モデルは、たとえば図12に示すように、非線形フィルタ11を有する複数のニューロン10と、複数のニューロン10からの出力に基づき予測値(株価の収益率)を出力するニューロン12とを混在させた予測モデルで示される。
また、複数のニューロン10を混在させた予測モデルは、次の数2によって表すことができる。
また、数4で示す式は、[0,1]の値である。
In addition, as shown in FIG. 12, for example, a general neural network prediction model outputs a plurality of
A prediction model in which a plurality of
Also, the equation shown in
また、一般的なニューラルネットワークでは、入力データから以前の出力データを正確に再現するために、予測モデルのパラメータwをすべて最適化する必要がある。
ここで、概要を説明すると、数5で示す式が最急降下法によって数6のように修正される。
また、数7での
は出力データであり、数8の
は、教師データ(Teacher data)である。
In general neural networks, it is necessary to optimize all the parameters w of the prediction model in order to accurately reproduce previous output data from input data.
Here, to explain the outline, the equation shown in
Also, in
Is the output data.
Is teacher data.
次に、ニューロン10の数が図12のような数であれば、予測モデルパラメータwは、バックプロパゲーションアルゴリズムによって数9のように修正される。
ここで、i∈{0、...、d}および j ∈{1、...、N}である。
そして、数10の平均二乗誤差Eが十分に小さくなるように、上記の数9の修正を繰り返す。
Here, i∈ {0,. . . , D} and j ∈ {1,. . . , N}.
Then, the correction of
また、バックテスト(Back-test)でのトレーニングの合計は数11の平均二乗誤差Eで示される。
そして、すべてのパラメータを訓練した後、ニューラルネットワークを使用して新しいデータを予測することができる。訓練されたニューラルネットワークをFとすると、数12に示す予測値(株価の収益率)は、数13で表される。
以上のような一般的なニューラルネットワークを用いることで、たとえば図13に示すフォワードテスト(Forward-test)での予測結果が得られる。すなわち、図13では、たとえば東京証券取引所(Tokyo stock exchange)とニューヨーク証券取引所(New York stock exchange)での特定の銘柄の株価の収益率の予測結果を示している。 By using the above general neural network, for example, a prediction result in a forward test shown in FIG. 13 can be obtained. That is, FIG. 13 shows a prediction result of the rate of return of the stock price of a specific issue on the Tokyo stock exchange and the New York stock exchange, for example.
すなわち、たとえば東京証券取引所(Tokyo stock exchange)の場合、第1期が54.8%、第2期が55.8%、第3期が51.6%、第4期が54.8%とした予測値(株価の収益率)が得られたことを示している。また、ニューヨーク証券取引所(New York stock exchange)場合、第1期が59.1%、第2期が52.7%、第3期が52.0%、第4期が53.2とした予測精度(上昇又は下降の2択による)が得られたことを示している。 For example, in the case of the Tokyo Stock Exchange, the first period is 54.8%, the second period is 55.8%, the third period is 51.6%, and the fourth period is 54.8%. This shows that the predicted value (income rate of stock price) was obtained. In the case of the New York Stock Exchange, the first period was 59.1%, the second period was 52.7%, the third period was 52.0%, and the fourth period was 53.2%. It shows that the prediction accuracy (by two choices of ascending or descending) was obtained.
次に、本発明の株価予測システムの一実施形態を、図1〜図11を参照しながら説明する。なお、以下に説明する入力データaである訓練データ(Training data)は、株価の変化要素を示すものである。株価の変化要素としては、次の式で示される株価の変化率を用いることができる。
株価の変化率x(t) = [株価(t) - 株価(t-1)] / 株価(t-1)
Next, an embodiment of the stock price prediction system of the present invention will be described with reference to FIGS. Note that training data (training data), which is input data a described below, indicates changes in the stock price. As a change factor of the stock price, a stock price change rate represented by the following equation can be used.
Price change rate x (t) = [Stock price (t)-Stock price (t-1)] / Stock price (t-1)
また、株価の変化要素としては、株価の変化率に限らず、次の式で示される対数差分を用いることができる。
株価の対数差分x(t) = log株価(t) - log株価(t-1)
In addition, the change factor of the stock price is not limited to the rate of change of the stock price, and a logarithmic difference represented by the following equation can be used.
Logarithmic difference of stock price x (t) = log Stock price (t)-log Stock price (t-1)
まず、図1を参照し、本発明の株価予測システムの構成の一例について説明する。図1の株価予測システム100は、予測集合取得部110と2段階選択部140とを有している。予測集合取得部110は、無作為復元抽出部120と集団学習部130とを有している。
First, an example of the configuration of the stock price prediction system of the present invention will be described with reference to FIG. The stock
無作為復元抽出部120は、詳細については後述するが、入力データaが示す訓練データ(Training data)から複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す出力データbを出力する。集団学習部130は、無作為復元抽出部120からの出力データbが示す訓練データの集合を用いて複数の予測モデルを訓練し、個々に予測値の集合を示す出力データcを出力する。
Although the details will be described later, the random
2段階選択部140は、平均値取得部150と標準偏差取得部160とを有している。
平均値取得部150は、詳細については後述するが、予測集合取得部110からの予測値(株価の収益率)の集合を示す出力データcから予測精度(Prediction accuracy)の低い予測値(株価の収益率)の平均値をとることで互いの予測誤差を相殺し、予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知を取得し、取得した集合知を示す出力データdを出力する。標準偏差取得部160は、詳細については後述するが、平均値取得部150が取得した予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知からコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)予測値(株価の収益率)の集合を取得し、取得した集合知の合意度を示す出力データeを出力する。
The two-
The average
なお、詳細については後述するが、出力データdは株の売買の投資判断に使用でき、出力データeは予測の自信度の確認に使用できる。 Although details will be described later, the output data d can be used for investment judgment of stock trading, and the output data e can be used for confirmation of confidence level of prediction.
次に、図2を参照し、図1の予測集合取得部110での集団学習について説明する。まず、無作為復元抽出部120は、複数の予測モデル120a〜120nを有している。これらの予測モデル120a〜120nは、入力データaの訓練データ(Training data)を再サンプリングしたそれぞれのデータセット(data set)a1〜anに基づいて複製されたものである。なお、訓練データ(Training data)および再サンプリングしたデータセット(data set)a1〜anの詳細については後述する。これらの予測モデル120a〜120nは、それぞれのデータセット(data set)a1〜anに基づき、上述したバックテスト(Back-test)およびフォワードテスト(Forward-test)を実行し、たとえばUp又はDownを示す訓練データ(Training data)の集合を示す出力データbを出力する。なお、データセット(data set)a1〜anおよび予測モデル120a〜120nの数は任意であるが、本実施形態ではたとえば1000個としている。
Next, with reference to FIG. 2, the group learning in the prediction set
ここで、バックテスト(Back-test)およびフォワードテスト(Forward-test)は、オーバーフィッティングを防ぐための処理である。すなわち、予測集合取得部110での集団学習において、評価を最良にするようにNとdとを最適化する。次に、予測モデル120a〜120nの汎用性を評価するために未学習の新しい教師データ(Teacher data)を用いてフォワードテスト(Forward-test)を行う。まず、バックテスト(Back-test)においては、たとえば図3に示すように、最初の段階でモデルパラメータwの訓練(Training of w)と、予測精度の評価(Evaluation of prediction accuracy)とを実行し、次の段階でモデルパラメータwの訓練(Training of w)と、予測精度の評価(Evaluation of prediction accuracy)とを入れ替え、Nとdとを最適化する。続いて、フォワードテスト(Forward-test)において、未学習の新しい教師データ(Teacher data)を用いバックテスト(Back-test)で最適化された予測モデルを評価する。また、バックテスト(Back-test)においての{w1,w2,・・・,wN}のパラメータは、上記の数6のように修正される。
Here, the back test and the forward test are processes for preventing overfitting. That is, N and d are optimized so as to optimize the evaluation in the collective learning in the predicted
また、図2において、集団学習部130は、無作為復元抽出部120からの出力データdを用いて複数の予測モデルを訓練することで、フォワードテスト(Forward-test)の新しいデータを個々に予測する。すなわち、集団学習部130は、たとえば以下の数14により、予測値(株価の収益率)を得ることができる。
In FIG. 2, the
数14においては、たとえば独立している予測モデルが19個あり、それぞれの予測精度をpとした場合を示している。このときx個の予測モデルが正解する確率は数14で計算できる。次に、多数決が正解する確率は、数15のようにxが10以上のP(x)の和を取ることで計算できる。仮に、pが0.53である場合,多数決が正解する確率は0.60まで向上する。
In Equation 14, for example, there are 19 independent prediction models, and each prediction accuracy is assumed to be p. At this time, the probability that the x prediction models are correct can be calculated by Equation 14. Next, the probability that the majority decision is correct can be calculated by taking the sum of P (x) where x is 10 or more as shown in Equation 15. If p is 0.53, the probability that the majority decision is correct improves to 0.60.
つまり、集団学習部130は、集団学習の効果により、たとえば予測精度を53%から60%に上げることができる。
That is, the
次に、図4を参照し、図1の予測集合取得部110に与える入力データaが示す訓練データ(Training data)について説明する。まず、図4(a)は、データセット(data set)a1〜anを生成するための訓練データ(Training data)を示している。なお、この訓練データ(Training data)は、特定の銘柄の株価を示している。
Next, with reference to FIG. 4, the training data (training data) indicated by the input data a given to the predicted
訓練データ(Training data)は、たとえば#1に示すように、x(t−1),x(t−2),・・・x(t−d−1)で示すデータおよびx(t)で示す教師データ(Teacher data)とを有している。 Training data (Training data) is, for example, as indicated by # 1, data indicated by x (t-1), x (t-2),... X (td-1) and x (t) And teacher data shown.
図4(b)は、図4(a)の#1〜#10までの訓練データ(Training data)をランダムに並べた1個のデータセット(data set)a1を示している。なお、他のデータセット(data set)a2〜anについても、同様にして図4(a)の#1〜#10までの訓練データ(Training data)がランダムに並べられたものとなる。つまり、図4(a)の#1〜#10までの訓練データ(Training data)をランダムに並べることで、複数のデータセット(data set)a1〜anが複製されることになる。なお、図4では、説明の都合上、1セットのデータを#1〜#10までの10個として示している。ただし、1セットのデータの個数は、10個に限られるものではなく、11個以上であってもよい。 FIG. 4B shows one data set a1 in which training data (training data) # 1 to # 10 in FIG. 4A are arranged at random. Similarly, training data (Training data) # 1 to # 10 in FIG. 4A is also randomly arranged for the other data sets a2 to an. That is, by arranging training data (training data) from # 1 to # 10 in FIG. 4A at random, a plurality of data sets a1 to an are duplicated. In FIG. 4, for convenience of explanation, one set of data is shown as 10 pieces from # 1 to # 10. However, the number of data in one set is not limited to 10 and may be 11 or more.
次に、図5を参照し、訓練データ(Training data)の元となるデータについて説明する。すなわち、訓練データ(Training data)は、任意の銘柄の株価に該当する。株価の取得元となる市場(Market)は、たとえば東京証券取引所(Tokyo stock exchange)とニューヨーク証券取引所(New York stock exchange)としている。また、株価の取得期間については、第1期(First term)、第2期(Second term)、第3期(Third term)、第4期(Fourth term)に分けている。また、第1期〜第4期毎に、バックテスト(Back-test)で用いるデータ(株価)を5年分とし、フォワードテスト(Forward-test)で用いるデータ(株価)を2.5年分としている。 Next, with reference to FIG. 5, data serving as the basis of training data will be described. That is, training data corresponds to a stock price of an arbitrary brand. The markets from which stock prices are acquired are, for example, the Tokyo Stock Exchange and the New York Stock Exchange. The stock price acquisition period is divided into a first period (First term), a second period (Second term), a third period (Third term), and a fourth period (Fourth term). Also, every 1st to 4th periods, the data (stock price) used in the back test is 5 years, and the data (stock price) used in the forward test is 2.5 years. It is said.
また、東京証券取引所(Tokyo stock exchange)において、たとえば590銘柄の上場株をサンプルとしている。また、ニューヨーク証券取引所(New York stock exchange)において、たとえば500銘柄の上場株をサンプルとしている。上場株のサンプルを決定するに当たり、継続的なサンプル値(株価)が必要であるため、たとえば上場廃止期間の無い銘柄を選択している。なお、サンプル数については、東京証券取引所(Tokyo stock exchange)においての590銘柄、ニューヨーク証券取引所(New York stock exchange)においての500銘柄に限定されるものではない。任意にサンプル数を決定してもよい。 In addition, for example, 590 stocks listed on the Tokyo stock exchange. For example, 500 listed stocks are sampled on the New York stock exchange. Since a sample value (stock price) is necessary to determine the sample of a listed stock, for example, a stock with no delisting period is selected. The number of samples is not limited to 590 issues on the Tokyo stock exchange and 500 issues on the New York stock exchange. Optionally, the number of samples may be determined.
また、第1期(First term)でのバックテスト(Back-test)のデータ(株価)のサンプル期間は、1991/1~1995/12としている。また、第1期(First term)でのフォワードテスト(Forward-test)のデータ(株価)のサンプル期間は、1996/1~1998/6としている。また、第2期(Second term)でのバックテスト(Back-test)のデータ(株価)のサンプル期間は、1996/1~2000/12としている。また、第2期(Second term)でのフォワードテスト(Forward-test)の入力データ(株価)のサンプル期間は、2001/1~2003/6としている。また、第3期(Third term)でのバックテスト(Back-test)のデータ(株価)のサンプル期間は、200/1~2005/12としている。また、第3期(Third term)でのフォワードテスト(Forward-test)のデータ(株価)のサンプル期間は、2006/1~2008/6としている。また、第4期(Fourth term)でのバックテスト(Back-test)のデータ(株価)のサンプル期間は、2006/1~2010/12としている。また、第4期(Fourth term)でのフォワードテスト(Forward-test)のデータ(株価)のサンプル期間は、2011/1~2013/6としている。 In addition, the sample period of the back test data (stock price) in the first term is 1991/1 to 1995/12. The sample period of the forward test data (stock price) in the first term is 1996/1 to 1998/6. The sample period of the back test data (stock price) in the second term is 1996/1 to 2000/12. In addition, the sample period of the input data (stock price) of the forward test (Forward-test) in the second term is set to 2001/1 to 2003/6. The sample period of back test data (stock price) in the third term is 200/1 to 2005/12. The sample period of forward test data (stock price) in the third term is 2006/1 to 2008/6. The sample period of back test data (stock price) in the fourth term is 2006/1 to 2010/12. In addition, the sample period of the forward test data (stock price) in the fourth term is 2011/1 to 2013/6.
なお、第1期(First term)〜第4期(Fourth term)におけるバックテスト(Back-test)で用いる入力データ(株価)のサンプル期間を5年分としているが、5年に限定されるものではない。ただし、期間を長くしたり、短くしたりすると、予測精度の低下を招くおそれがあるため、5年程度が好ましい。また、フォワードテスト(Forward-test)で用いる入力データ(株価)のサンプル期間は、2.5年分としているが、2.5年に限定されるものではない。ただし、期間を長くしたり、短くしたりすると、予測精度の低下を招くおそれがあるため、2.5年程度が好ましい。 The sample period of the input data (stock price) used in the back test in the first period (First term) to the fourth period (Fourth term) is 5 years, but it is limited to 5 years. is not. However, if the period is lengthened or shortened, there is a possibility that the prediction accuracy may be lowered, and therefore about 5 years is preferable. Further, the sample period of the input data (stock price) used in the forward test is 2.5 years, but is not limited to 2.5 years. However, if the period is lengthened or shortened, the prediction accuracy may be lowered, and therefore about 2.5 years is preferable.
次に、図6を参照し、2段階選択部140の平均値取得部150および標準偏差取得部160による2段階の選択ついて説明する。まず、図6(a)は、平均値取得部150による第1の選択について説明する図である。図6(a)では、縦軸を予測精度(Prediction accuracy)とし、横軸を株番号(Stock No.)としている。平均値取得部150は、集団学習部130の予測値(株価の収益率)の集合である出力データcから収益性の高い株式銘柄を取得するために、予測精度の低い株式銘柄を取り除き(Removed)、予測精度の高い株式銘柄を取得する。
Next, the two-stage selection by the average
すなわち、無作為復元抽出部120でのバックテスト(Back-test)において、予測困難な株式銘柄が適用された場合、集団学習部130からの予測値(株価の収益率)の集合には偶発的に高いコンセンサス(Consensus)が含まれることがある。これは後述する標準偏差取得部160において悪影響を及ぼすので、あらかじめ平均値取得部150において予測困難な株式銘柄を取り除く。たとえば集団学習部130からの出力データcから予測精度の低い株式銘柄を75%取り除き、予測精度の高い(収益性の高い)25%の株式銘柄を取得する。取得したそれそれの株式銘柄に対する集合知を出力データdとして出力する。
That is, if a stock issue that is difficult to predict is applied in the back-test in the random
次に、図6(b)は、標準偏差取得部160による第2の選択ついて説明する図である。図6(b)では、縦軸をコンセンサス比率(Consensus Ratios)とし、横軸を時間である毎日のチャート(Daily chart)としている。ここで、標準偏差取得部160は、毎日の最大のコンセンサス比率(Consensus Ratios)を示す最も信頼性の高い株式銘柄を適応的に検出する。すなわち、標準偏差取得部160でのフォワードテスト(Forward-test)において、コンセンサス比率(Consensus Ratios)Cが使用される。コンセンサス比率Cは、予測可能な株式銘柄であっても、常に高い値を取るとは限らない。このため、標準偏差取得部160は、毎日において最大のコンセンサス比率を示す最も信頼性の高い予測値(株価の収益率)を適応的に検出する。すなわち、標準偏差取得部160が出力する出力データeは、平均値取得部150が取得した集合知に対する合意度を示すものとなる。
Next, FIG. 6B is a diagram illustrating the second selection by the standard
ここで、標準偏差取得部160は、予測精度を向上させるために、以下の数16を用い、コンセンサス比率(Consensus Ratios)Cを求める。
ここで、コンセンサス比率(Consensus Ratios)Cの値が大きいほど、平均値取得部150が取得した集合知の信頼性が高いことを示す。
Here, the larger the value of the consensus ratio C, the higher the collective intelligence reliability acquired by the average
次に、図7を参照し、平均値取得部150から出力される出力データdの一例について説明する。なお、出力データdは、平均値取得部150が取得した集合知であり、特定の銘柄の予測値(株価の収益率)でもある。図7に示すように、東京証券取引所(Tokyo stock exchange)の場合、第1期(First term)が59.9%、第2期(Second term)が57.9%、第3期(Third term)が55.5%、第4期(Fourth term)が57.0%とした予測精度が得られた。また、ニューヨーク証券取引所(New York stock exchange)の場合、第1期(First term)が61.7%、第2期(Second term)が55.6%、第3期(Third term)が55.3%、第4期(Fourth term)が54.6%とした予測精度が得られた。なお、平均値取得部150によって求められた予測値(株価の収益率)は、株の売買の投資判断に使用できる。
Next, an example of the output data d output from the average
次に、図8を参照し、標準偏差取得部160から出力される出力データeの一例について説明する。なお、出力データeは、標準偏差取得部160が平均値取得部150によって取得された予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知に対するコンセンサス比率(Consensus Ratio)を取得したものであり、図6(b)の第2の選択(Ssecond selection)で選択された株価銘柄に対する予測精度の一例を示す図である。
Next, an example of the output data e output from the standard
図8に示すように、東京証券取引所(Tokyo stock exchange)の場合、第1期(First term)が65.9%、第2期(Second term)が71.6%、第3期(Third term)が60.4%、第4期(Fourth term)が62.1%とした予測精度が得られた。また、ニューヨーク証券取引所(New York stock exchange)の場合、第1期(First term)が84.0%、第2期(Second term)が69.0%、第3期(Third term)が60.5%、第4期(Fourth term)が57.0%とした予測精度が得られた。 As shown in FIG. 8, in the case of the Tokyo Stock Exchange, the first term (First term) is 65.9%, the second term (Second term) is 71.6%, the third term (Third The prediction accuracy was 60.4% for term) and 62.1% for the fourth term (Fourth term). In the case of the New York Stock Exchange, the first term (First term) is 84.0%, the second term (Second term) is 69.0%, and the third term (Third term) is 60. The prediction accuracy was 5% and the fourth term (Fourth term) was 57.0%.
ここで、図7の予測精度と、図8の予測精度とを比較すると、平均値取得部150から出力される集合知からコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)集合知を取得することで、より精度の高い予測値(株価の収益率)が得られていることが分かる。
Here, when the prediction accuracy of FIG. 7 is compared with the prediction accuracy of FIG. 8, the collective intelligence having the highest consensus ratio (the most reliable) is obtained from the collective intelligence output from the average
また、図7の予測精度および図8の予測精度と、図13の一般的なニューラルネットワークによる予測精度とを比較してみると、次のようなことが分かる。 Further, when the prediction accuracy of FIG. 7 and the prediction accuracy of FIG. 8 are compared with the prediction accuracy by the general neural network of FIG. 13, the following can be understood.
すなわち、上述したように、図13の予測精度では、東京証券取引所(Tokyo stock exchange)の場合、第1期(First term)が54.8%、第2期(Second term)が55.8%、第3期(Third term)が51.6%、第4期(Fourth term)が54.8%とした予測精度となっている。また、ニューヨーク証券取引所(New York stock exchange)の場合、第1期(First term)が59.1%、第2期(Second term)が52.7%、第3期(Third term)が52.0%、第4期(Fourth term)が53.2とした予測精度となっている。 That is, as described above, in the prediction accuracy of FIG. 13, in the case of the Tokyo Stock Exchange, the first term (First term) is 54.8% and the second term (Second term) is 55.8. The prediction accuracy is 51.6% for the third term (Third term) and 54.8% for the fourth term (Fourth term). In the case of the New York stock exchange, the first term (First term) is 59.1%, the second term (Second term) is 52.7%, and the third term (Third term) is 52. The prediction accuracy is 0.0% and the fourth term is 53.2.
図7の予測精度と図13の予測精度とを比較すると、平均値取得部150からの出力データdである集合知による予測精度が図13の第1期(First term)から第4期(Fourth term)のいずれの予測精度よりも高いことが分かる。また、図8の予測精度と図13の予測精度とを比較すると、標準偏差取得部160からの出力データeである集合知の合意度を利用した予測精度の方が、図13の第1期(First term)から第4期(Fourth term)のいずれの予測精度よりも高いことが分かる。
Comparing the prediction accuracy of FIG. 7 with the prediction accuracy of FIG. 13, the prediction accuracy based on collective intelligence that is output data d from the average
特に、図13のニューヨーク証券取引所(New York stock exchange)の第1期(First term)の予測精度が59.1%であるのに対し、図8のニューヨーク証券取引所(New York stock exchange)の第1期(First term)の予測精度が84.0%であることからも、本実施形態での株価予測システム100による予測精度がより高められていることが分かる。
In particular, the prediction accuracy of the first term of the New York stock exchange in FIG. 13 is 59.1%, whereas the New York stock exchange in FIG. Since the prediction accuracy of the first term is 84.0%, it can be seen that the prediction accuracy by the stock
次に、図9を参照し、株価予測システム100による株価予測の処理について説明する。
Next, with reference to FIG. 9, a stock price prediction process by the stock
(ステップS101)
訓練データ(Training data)の集合を取得する。
この場合、予測集合取得部110の無作為復元抽出部120が、訓練データ(Training data)を示す入力データaから複数のデータセットを複製し、その訓練データ(Training data)の集合を取得する。
(Step S101)
Get a set of training data.
In this case, the random
(ステップS102)
訓練データ(Training data)の集合を出力する。
この場合、無作為復元抽出部120が取得した訓練データ(Training data)の集合を示す出力データbを出力する。
(Step S102)
Output a set of training data.
In this case, output data b indicating a set of training data acquired by the random
(ステップS103)
訓練データ(Training data)の集合から複数の予測モデルを独立に訓練し、それぞれの予測モデルから予測値(株価の収益率)を取得する。
この場合、予測集合取得部110の集団学習部130が訓練データ(Training data)の集合を示す出力データbに対し、複数の予測モデルによって予測値(株価の収益率)の集合を取得する。
(Step S103)
A plurality of prediction models are independently trained from a set of training data, and a prediction value (a rate of return of stock price) is acquired from each prediction model.
In this case, the
(ステップS104)
予測値(株価の収益率)の集合を出力する。
この場合、集団学習部130が取得した予測値(株価の収益率)の集合を示す出力データcを出力する。
(Step S104)
Outputs a set of prediction values (stock price return).
In this case, output data c indicating a set of predicted values (stock price profit rate) acquired by the
(ステップS105)
予測値(株価の収益率)の集合から予測精度の高い集合知を取得する。
さらに,バックテストとして全ての株価銘柄の集合知を取得し、教師データと比較することで予測精度を取得する。この予測精度は、たとえば上述した図7の予測精度のような結果として得られる。
(Step S105)
Collective intelligence with high prediction accuracy is acquired from a set of prediction values (stock price return).
Furthermore, collective intelligence of all stock prices is acquired as a back test, and the prediction accuracy is acquired by comparing with the teacher data. This prediction accuracy is obtained as a result such as the prediction accuracy of FIG. 7 described above.
(ステップS106)
バックテストを通じて予測精度の低い株式銘柄を取り除いた予測値(株価の収益率)の集合知を出力する。
この場合、平均値取得部150が予測精度の低い株式銘柄を取り除き、予測精度の高い株式銘柄の予測値(株価の収益率)の集合知を、出力データdとして出力する。
(Step S106)
Outputs collective intelligence of predicted values (stock price returns) from stock stocks with low prediction accuracy through backtesting.
In this case, the average
(ステップS107)
フォーワードテストにおいて、予測値(株価の収益率)の集合知からコンセンサス比率(Consensus Ratios)の高い株式銘柄を取得し,その予測値(株価の収益率)の集合知を取得する。
この場合、2段階選択部140の標準偏差取得部160が、平均値取得部150によって取得された予測精度(Prediction accuracy)の高い株式銘柄の集合知からコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)集合知の予測値(株価の収益率)を取得する。
(Step S107)
In the forward test, a stock issue having a high consensus ratio (Consensus Ratios) is acquired from the collective intelligence of the predicted value (stock price return rate), and the collective intelligence of the predicted value (stock price return rate) is acquired.
In this case, the standard
(ステップS108)
集合知の合意度と予測値とを出力する。
この場合、標準偏差取得部160が取得したコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)集合知の予測値(株価の収益率)およびその集合知の合意度を示す出力データeを出力する。
この出力データeを利用することにより、たとえば上述した図8の予測精度のような結果が得られる。また、この出力データeは、上述したように、株の予測の自信度の確認に使用できる。
(Step S108)
Outputs the collective intelligence agreement and predicted value.
In this case, the collective intelligence prediction value (stock price return rate) with the highest (highest reliability) consensus ratio (consensus ratio) acquired by the standard
By using the output data e, for example, a result such as the prediction accuracy of FIG. 8 described above can be obtained. Further, as described above, the output data e can be used to confirm the confidence level of stock prediction.
次に、図10および図11を参照し、株価予測システム100によるシミュレーションについて説明する。
Next, a simulation by the stock
まず、図10は、図5に示した東京証券取引所(Tokyo stock exchange)においてのサンプルを、たとえば590銘柄とした場合のシミュレーションの結果を示している。また、図11は、図5に示したニューヨーク証券取引所(New York stock exchange)においてのサンプルを、たとえば500銘柄とした場合のシミュレーションの結果を示している。ただし、図10および図11に示すシミュレーションでは、説明の都合上、株の売買に関わる手数料については省いた結果を示している。 First, FIG. 10 shows a simulation result when the sample on the Tokyo stock exchange shown in FIG. 5 is, for example, 590 stocks. FIG. 11 shows a simulation result when the sample on the New York stock exchange shown in FIG. 5 is 500 stocks, for example. However, in the simulations shown in FIGS. 10 and 11, for convenience of explanation, the result of omitting the fee related to stock trading is shown.
また、図10および図11において、符号hは株価予測システム100によって予測した特定銘柄の投資パフォーマンス(資産増幅率)を示している。また、符号iは、投資銘柄を毎日ランダムに選択した場合(ランダム戦略)の投資パフォーマンスを示している。また、符号jは、東京証券取引所(Tokyo stock exchange)での590銘柄の値動きのパフォーマンスの平均、ニューヨーク証券取引所(New York stock exchange)での500銘柄の値動きのパフォーマンスの平均を示している。
In FIGS. 10 and 11, the symbol h indicates the investment performance (asset amplification factor) of a specific brand predicted by the stock
図10および図11から分かる通り、株価予測システム100によって得られた投資パフォーマンスhは、市場の平均パフォーマンスjやランダム戦略によるパフォーマンスiを上回っている。このことは、株価予測システム100による予測値(株価の収益率)が実際の株式市場での予測可能性と収益性との確認に有益であることを意味するものである。
As can be seen from FIGS. 10 and 11, the investment performance h obtained by the stock
このように、本実施形態では、株価予測システム100の予測集合取得部110(予測集合取得手段)により、株価の変化要素(株価の変化率又は対数差分)を示す入力データaに基づき、株価の予測値の集合を取得し、2段階選択部140(集合知取得手段)により、株価の予測値の集合から予測精度の高い株価の集合知を取得している。
As described above, in the present embodiment, the prediction set acquisition unit 110 (prediction set acquisition unit) of the stock
これにより、2段階選択部140(集合知取得手段)により、予測集合取得部110(予測集合取得手段)が取得した株価の予測値の集合から予測精度の高い株価の集合知を取得でき、収益予測の精度を高めることができるので、投資における収益性を高めることができる。 As a result, the two-stage selection unit 140 (collective intelligence acquisition unit) can acquire collective intelligence of stock prices with high prediction accuracy from the set of predicted values of stock prices acquired by the predicted set acquisition unit 110 (predictive set acquisition unit). Since the accuracy of prediction can be increased, the profitability in investment can be increased.
すなわち、平均値取得部150からの出力データdは、集団学習部130からの出力データcに含まれる予測値(株価の収益率)の集合から予測精度の低い予測値(株価の収益率)の平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値(株価の収益率)の集合知を取得したものであるため、株の売買の投資判断に有効となる。
That is, the output data d from the average
また、標準偏差取得部160が出力する出力データeは、平均値取得部150が取得した集合知に対する合意度であり、予測精度の高い株価銘柄の厳選に有効となる。
The output data e output from the standard
なお、本実施形態では、平均値取得部150が予測集合取得部110からの予測値(株価の収益率)の集合を示す出力データcから予測精度(Prediction accuracy)の低い予測値(株価の収益率)の平均値をとることで互いの予測誤差を相殺し、予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知を取得し、取得した集合知を示す出力データdを出力し、標準偏差取得部160が平均値取得部150の取得した予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知からコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)予測値(株価の収益率)の集合を取得し、取得した集合知の合意度を示す出力データeを出力する場合として説明したが、この例に限られるものではない。
In the present embodiment, the average
すなわち、標準偏差取得部160が予測集合取得部110からの予測値(株価の収益率)の集合を示す出力データcからコンセンサス比率(Consensus Ratio)の高い(最も信頼性の高い)予測値(株価の収益率)の集合を取得し、平均値取得部150が標準偏差取得部160の取得した集合知から予測精度(Prediction accuracy)の低い予測値(株価の収益率)の平均値をとることで互いの予測誤差を相殺し、予測精度(Prediction accuracy)の高い予測値(株価の収益率)の集合知を取得するようにしてもよい。
That is, the standard
10、12 ニューロン
11 非線形フィルタ
100 株価予測システム
110 予測集合取得部
120a〜120n 予測モデル
120 無作為復元抽出部
130 集団学習部
140 2段階選択部
150 平均値取得部
160 標準偏差取得部
a 入力データ
a1〜an データセット
b〜e 出力データ
DESCRIPTION OF
Claims (12)
前記株価の予測値の集合から予測精度の高い株価の集合知を取得する集合知取得手段とを備える
ことを特徴とする株価予測システム。 A prediction set acquisition means for acquiring a set of prediction values of the stock price based on input data indicating a change element of the stock price;
Collective intelligence acquisition means for acquiring collective intelligence of stock prices with high prediction accuracy from the set of predicted values of stock prices.
前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する無作為復元抽出部と、
前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する集団学習部とを有し、
前記集合知取得手段は、
前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する平均値取得部を有する
ことを特徴とする請求項1に記載の株価予測システム。 The predicted set acquisition means includes
A random restoration extraction unit that creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model;
A group learning unit that trains a plurality of prediction models using the training data indicated by the first output data, and outputs second output data that individually indicates predicted values;
The collective intelligence acquisition means includes:
An average value acquisition unit that outputs a third output data indicating a collective intelligence of prediction values with high prediction accuracy by offsetting mutual prediction errors by taking an average value from the second output data, The stock price prediction system according to claim 1.
前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する無作為復元抽出部と、
前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する集団学習部とを有し、
前記集合知取得手段は、
前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する標準偏差取得部と、
前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する平均値取得部とを有する
ことを特徴とする請求項1に記載の株価予測システム。 The predicted set acquisition means includes
A random restoration extraction unit that creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model;
A group learning unit that trains a plurality of prediction models using the training data indicated by the first output data, and outputs second output data that individually indicates predicted values;
The collective intelligence acquisition means includes:
A standard deviation acquisition unit that acquires a set of predicted values having a high consensus ratio from the second output data, and outputs fourth output data indicating the degree of consensus of the acquired collective intelligence;
An average value acquisition unit that outputs the third output data indicating the collective intelligence of the prediction values with high prediction accuracy by offsetting each other's prediction error by taking an average value from the fourth output data. The stock price prediction system according to claim 1.
集合知取得手段により、前記株価の予測値の集合から予測精度の高い株価の集合知を取得する工程とを有する
ことを特徴とする株価予測方法。 A step of acquiring a set of prediction values of the stock price based on input data indicating a change factor of the stock price by the prediction set acquisition means;
And a step of acquiring collective intelligence of stock prices with high prediction accuracy from the set of predicted values of stock prices by collective intelligence acquisition means.
無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、
集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、
前記集合知取得手段は、
平均値取得部により、前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程を有する
ことを特徴とする請求項5に記載の株価予測方法。 The predicted set acquisition means includes
A random restoration extraction unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model Process,
Training a plurality of prediction models using the training data indicated by the first output data by the group learning unit, and outputting second output data indicating the predicted values individually,
The collective intelligence acquisition means includes:
The average value acquisition unit has a step of canceling each other's prediction error by taking an average value from the second output data and outputting third output data indicating collective intelligence of prediction values with high prediction accuracy. The stock price prediction method according to claim 5, wherein:
標準偏差取得部により、前記平均値取得部が取得した予測精度の高い予測値の集合知からコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程を有する
ことを特徴とする請求項6に記載の株価予測方法。 The collective intelligence acquisition means includes:
4th output data which acquires the set of prediction values with a high consensus ratio from the collective intelligence of the prediction value with the high prediction accuracy which the said average value acquisition part acquired by the standard deviation acquisition part, and shows the agreement degree of the acquired collective intelligence The stock price prediction method according to claim 6, further comprising:
無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、
集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、
前記集合知取得手段は、
標準偏差取得部により、前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程と、
平均値取得部により、前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程とを有する
ことを特徴とする請求項5に記載の株価予測方法。 The predicted set acquisition means includes
A random restoration extraction unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model Process,
Training a plurality of prediction models using the training data indicated by the first output data by the group learning unit, and outputting second output data indicating the predicted values individually,
The collective intelligence acquisition means includes:
Obtaining a set of predicted values having a high consensus ratio from the second output data by the standard deviation obtaining unit, and outputting fourth output data indicating the degree of collective intelligence agreement;
A step of offsetting each other's prediction error by taking an average value from the fourth output data and outputting third output data indicating collective intelligence of prediction values with high prediction accuracy by an average value acquisition unit. The stock price prediction method according to claim 5, wherein:
予測集合取得手段により、株価の変化要素を示す入力データに基づき、株価の予測値の集合を取得する工程と、
集合知取得手段により、前記株価の予測値の集合から予測精度の高い株価の集合知を取得する工程とを有する
ことを特徴とする株価予測プログラム。 A stock price prediction program that is executed by a computer that controls a stock price prediction system,
A step of acquiring a set of prediction values of the stock price based on input data indicating a change factor of the stock price by the prediction set acquisition means;
And a step of acquiring collective intelligence of stock prices with high prediction accuracy from the set of predicted values of stock prices by collective intelligence acquisition means.
無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、
集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、
前記集合知取得手段は、
平均値取得部により、前記第2の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程を有する
ことを特徴とする請求項9に記載の株価予測プログラム。 The predicted set acquisition means includes
A random restoration extraction unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model Process,
Training a plurality of prediction models using the training data indicated by the first output data by the group learning unit, and outputting second output data indicating the predicted values individually,
The collective intelligence acquisition means includes:
The average value acquisition unit has a step of canceling each other's prediction error by taking an average value from the second output data and outputting third output data indicating collective intelligence of prediction values with high prediction accuracy. The stock price prediction program according to claim 9, wherein:
標準偏差取得部により、前記平均値取得部が取得した予測精度の高い予測値の集合知からコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程を有する
ことを特徴とする請求項8に記載の株価予測プログラム。 The collective intelligence acquisition means includes:
4th output data which acquires the set of prediction values with a high consensus ratio from the collective intelligence of the prediction value with the high prediction accuracy which the said average value acquisition part acquired by the standard deviation acquisition part, and shows the agreement degree of the acquired collective intelligence The stock price prediction program according to claim 8, further comprising:
無作為復元抽出部により、前記入力データが示す訓練データから複数のデータセットを作成して複数の予測モデルを複製し、それぞれの予測モデルの訓練データの集合を示す第1の出力データを出力する工程と、
集団学習部により、前記第1の出力データが示す訓練データを用いて複数の予測モデルを訓練し、個々に予測値を示す第2の出力データを出力する工程とを有し、
前記集合知取得手段は、
標準偏差取得部により、前記第2の出力データからコンセンサス比率の高い予測値の集合を取得し、取得した集合知の合意度を示す第4の出力データを出力する工程と、
平均値取得部により、前記第4の出力データから平均値をとることで互いの予測誤差を相殺し、予測精度の高い予測値の集合知を示す第3の出力データを出力する工程とを有する
ことを特徴とする請求項9に記載の株価予測プログラム。 The predicted set acquisition means includes
A random restoration extraction unit creates a plurality of data sets from the training data indicated by the input data, replicates a plurality of prediction models, and outputs first output data indicating a set of training data of each prediction model Process,
Training a plurality of prediction models using the training data indicated by the first output data by the group learning unit, and outputting second output data indicating the predicted values individually,
The collective intelligence acquisition means includes:
Obtaining a set of predicted values having a high consensus ratio from the second output data by the standard deviation obtaining unit, and outputting fourth output data indicating the degree of collective intelligence agreement;
A step of offsetting each other's prediction error by taking an average value from the fourth output data and outputting third output data indicating collective intelligence of prediction values with high prediction accuracy by an average value acquisition unit. The stock price prediction program according to claim 9, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017104050A JP6879552B2 (en) | 2017-05-26 | 2017-05-26 | Stock Price Forecasting System, Stock Price Forecasting Method and Stock Price Forecasting Program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017104050A JP6879552B2 (en) | 2017-05-26 | 2017-05-26 | Stock Price Forecasting System, Stock Price Forecasting Method and Stock Price Forecasting Program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018200513A true JP2018200513A (en) | 2018-12-20 |
JP6879552B2 JP6879552B2 (en) | 2021-06-02 |
Family
ID=64668175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017104050A Active JP6879552B2 (en) | 2017-05-26 | 2017-05-26 | Stock Price Forecasting System, Stock Price Forecasting Method and Stock Price Forecasting Program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6879552B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220167909A (en) * | 2021-06-15 | 2022-12-22 | 김상율 | Apparatus and method for providing stock market prediction service by using of machine learning |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001175735A (en) * | 1999-12-17 | 2001-06-29 | Canon Inc | Device, system and method for predicting time series and storage medium |
JP2004334480A (en) * | 2003-05-07 | 2004-11-25 | Keio Gijuku | Stock price variation value analyzing system |
JP2007509447A (en) * | 2003-10-23 | 2007-04-12 | ファイナンシャル テクノロジー アンド リサーチ リミテッド ライアビリティ カンパニー | Analysis system for performance prediction |
US20100114745A1 (en) * | 2008-10-30 | 2010-05-06 | Sap Ag | System and method for calculating and applying market data change rate sets |
JP2014232145A (en) * | 2013-05-28 | 2014-12-11 | 日本電信電話株式会社 | Pause application model selection apparatus, pause application device, methods thereof, and program |
-
2017
- 2017-05-26 JP JP2017104050A patent/JP6879552B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001175735A (en) * | 1999-12-17 | 2001-06-29 | Canon Inc | Device, system and method for predicting time series and storage medium |
JP2004334480A (en) * | 2003-05-07 | 2004-11-25 | Keio Gijuku | Stock price variation value analyzing system |
JP2007509447A (en) * | 2003-10-23 | 2007-04-12 | ファイナンシャル テクノロジー アンド リサーチ リミテッド ライアビリティ カンパニー | Analysis system for performance prediction |
US20100114745A1 (en) * | 2008-10-30 | 2010-05-06 | Sap Ag | System and method for calculating and applying market data change rate sets |
JP2014232145A (en) * | 2013-05-28 | 2014-12-11 | 日本電信電話株式会社 | Pause application model selection apparatus, pause application device, methods thereof, and program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220167909A (en) * | 2021-06-15 | 2022-12-22 | 김상율 | Apparatus and method for providing stock market prediction service by using of machine learning |
KR102597042B1 (en) | 2021-06-15 | 2023-10-31 | 김상율 | Apparatus and method for providing stock market prediction service by using of machine learning |
Also Published As
Publication number | Publication date |
---|---|
JP6879552B2 (en) | 2021-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Recchioni et al. | A calibration procedure for analyzing stock price dynamics in an agent-based framework | |
Carbonneau et al. | Application of machine learning techniques for supply chain demand forecasting | |
Athanassopoulos et al. | A comparison of data envelopment analysis and artificial neural networks as tools for assessing the efficiency of decision making units | |
US20190180375A1 (en) | Financial Risk Forecast System and the Method Thereof | |
US11645522B2 (en) | Method and system using machine learning for prediction of stocks and/or other market instruments price volatility, movements and future pricing by applying random forest based techniques | |
Varga | GMR-Hungary: A complex macro-regional model for the analysis of development policy impacts on the Hungarian economy | |
US20190244299A1 (en) | System and method for evaluating decision opportunities | |
Kultur et al. | Ensemble of neural networks with associative memory (ENNA) for estimating software development costs | |
Ashuri et al. | A real options framework to evaluate investments in toll road projects delivered under the two‐phase development strategy | |
Fernandez-Arjona | A neural network model for solvency calculations in life insurance | |
US20140344020A1 (en) | Competitor pricing strategy determination | |
Singha et al. | Application of different machine learning models for supply chain demand forecasting: comparative analysis | |
Tsai | Predicting the competitive relationships of industrial production between Taiwan and China using Lotka–Volterra model | |
JP6879552B2 (en) | Stock Price Forecasting System, Stock Price Forecasting Method and Stock Price Forecasting Program | |
Narula et al. | Development and performance evaluation of three novel prediction models for mutual fund NAV prediction | |
Cheng et al. | A state-of-the-art review of probabilistic portfolio management for future stock markets | |
US20140344021A1 (en) | Reactive competitor price determination using a competitor response model | |
Madhani | Six Sigma in sales and marketing: major benefits | |
US20140344022A1 (en) | Competitor response model based pricing tool | |
Shao | Prediction of currency volume issued in Taiwan using a hybrid artificial neural network and multiple regression approach | |
Li et al. | Information acquisition in new product introduction | |
Power et al. | Strategic options associated with cooperative members' equity | |
Hassannezhad et al. | Dynamic modelling of relationships in complex service design systems | |
Reza et al. | An approach to make comparison of ARIMA and NNAR Models for Forecasting Price of Commodities | |
Donovan | Encouraging the Defragmentation of Habitat Across Privately-Owned Lands |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200417 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210309 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210402 |
|
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: 20210420 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210422 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6879552 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |