Where are we?
We have been working on a project to try to forecast the stock market. The purpose of this project has been clear: To make a profit using deep machine learning on the financial market.
How can you achieve this?
There are three crucial factors to accomplish this goal.
- The quantity and quality of the training data
- The sophistication and fitness of Layers in the Sequential model
- How we operate AIs
The quantity and quality of the training data
To reach a better outcome, we need to avoid overfitting. There are two ways to fulfil the intention. The first one is to increase the amount of training data. The other is to add a dropout layer to the Sequential model. It is sometimes challenging to increment the volume of training data, however.
The easiest way is to add various price data to the training data to increase its amount. However, the Japanese stock market information mingled with the American stock market data in the training data might confuse AI during the learning process. Also, I confirmed that it does not make a drastically better result either.
On the other hand, specializing the attribute of the dataset by narrowing down the types of information in it makes the amount of data not enough to prevent overfitting. Is there a measure to boost the volume of the training dataset while avoiding excessive diversification in it?
Well, I found one.
The sophistication and fitness of Layers in the Sequential model
Although it is effortful to comprehend, this factor plays a significant role in composing an exceptional AI model. Therefore, it might be imperative to learn Layers in Keras.
I was utilizing a sequential model from a random place without thinking at first. There are, however, certain limitations with this approach. Accordingly, I decided to learn more about the theory behind it. One essential piece of information from what I learned is the order of Layers in a Sequential model.
- Convolution
- Relu
- Pooling
- Flatten
- Fully Connected (Dense)
- Softmax
Note that Convolution, Relu and Pooling are iterable. I have no idea why but the iteration like in the Sequential model below often generates a better result.
Please remember that I am still unsure about the theory behind it and what is happening with this model. Therefore, the Sequential model above might be a complete mess if seen by the professionals.
How we operate AIs
Since I have not been making efforts on this matter, this part will be a problem to be solved.
Although I implemented an AI democratic decision-making system to make decisions made by AIs more reliable and accurate, the problem is the timing when to use it and how we reflect the results in buying and selling actions.
Conveniently or not, the Japanese stock market crashed a few days ago. Let us show those three AIs the latest price chart and see what happens.
No comments:
Post a Comment