Discussion of article "Neural networks made easy (Part 5): Multithreaded calculations in OpenCL" - page 4

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Is it possible to make an LSTM network with OpenCL? If yes, which version of NeuroNet.mqh is better? With the version from this article I get the error "Error of execution kernel CaclOutputGradient: 0". And with the version from article 7 it seems that OpenCL is not used at all, if you create defNeuronLSTM neurons. And defNeuronLSTMOCL is not implemented.
I see, thanks. Please also clarify: recentAverageSmoothingFactor = 10000 - it is set rigidly. Should it be changed by the number of values in the training sample?
If the sample is smaller, you should decrease it. It makes sense to increase it if you want to see the error over the whole sample.
I use a rigid value to evaluate the network performance in different market conditions.
Dmitry, I can't understand why the values in the array are not updated. There are no errors - there is no exit from the method by false. Can you check this for yourself?
Dmitry, I can't understand why the values in the array are not updated. There are no errors - there is no exit from the method by false. Can you check this for yourself?
Alexey, the update method inherits from the CArrayDouble class and writes data to the array, but does not pass it to the GPU buffer.
At the same time, when the getGradient method is called, it reads data from the GPU buffer, which overwrites the changes made earlier.
Alexei, the update method inherits from the CArrayDouble class and writes data to the array, but does not pass it to the GPU buffer.
At the same time, when the getGradient method is called, it reads data from the GPU buffer, which overwrites the changes made earlier.
Thank you for these articles! It's been very interesting following the ideas of this system.
I'm very interested in the LSTM-module, is there a way to use Open-CL for LSTM-Networks?
I've been trying to modify the LSTM-EA to work with Open-CL, but with no success.
Best regards
Pontus
Hello, you don't need install the .cl file. You just load it to main programm like string