Machine learning in trading: theory, models, practice and algo-trading - page 2955

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
I could say that about any language, and that people posting their codes are idiots!
We'll have to see what Renata's example produces.
His example (public project ONNX.Price.Prediction) also produces negative numbers, but the input parameter dimension array is three long, not two as mine.
PS. I checked in the latest version of 3605, everything is unchanged.
What do you want me to do?
Perhaps I want some action from the thread participants...
We used to post code here, so it would be good to revive those times.
Yandex has many LLCs in Russia, through which various projects are carried out. How they legally get in touch with the parent company - we still need to study it.
A lot of LLCs is always an obvious sign of how serious and long-lasting everything is).
Lots of LLCs is always an obvious sign of how serious and long term things are)
It's a sign of working in RF....
Even Sber does this...Is it necessary to input a 2-dimensional matrix like in your example? It seems more logical to use a one-dimensional array with attributes. It may complain about the wrong form of the matrix. For example, instead of a one-dimensional one, you should give a 2-dimensional one, where each entry is in the 2nd dimension, i.e. nested arrays containing 1 value each.
.
You were right - in my example (onnx for busting) it is necessary to input a vector, not a matrix. And it should be a float vector, not a double one. The fact that in Python it was possible to input a matrix (several rows at once) is probably the result of Python vectorisation. To do this in MQL5, you will have to run the model in a loop, apparently.
A working version of the MQL5 script for my example:
should be a float vector, not double
If you remove the ONNX_NO_CONVERSION switch, you can input a double vector. The output must still be a float vector.
The OnnxTypeInfo help lacks explanations about the dimensions[] field. It would be nice to explain the meaning of this array at least on the example of ONNX.Price.Prediction project, where (MT5 version 3621) it turns out like this: