Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, AndrewAMD), 932 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Do the advise functions use DataSplit? #484106
09/08/21 17:44
09/08/21 17:44
Joined: Aug 2021
Posts: 101
M
MegaTanker Offline OP
Member
MegaTanker  Offline OP
Member
M

Joined: Aug 2021
Posts: 101
My script using adviseLong/Short is producing impossible equity curves with R2 coefficients of 0.96 and literally no drawdowns, looking super overfit. I just assumed the advise functions would use DataSplit the same as optimize() does but now I looked in the manual and I haven't actually seen that written anywhere. In testmode it correctly only uses the date range left over by DataSplit but the training must also be using this data. Is this correct?

Re: Do the advise functions use DataSplit? [Re: MegaTanker] #484115
09/09/21 15:53
09/09/21 15:53
Joined: Dec 2014
Posts: 206
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 206
Germany
As far as I remember and understood it, the machine learning algos use all available data to train on by default. If we got time windows A, B and C, a model is trained on A, a different one on B and another one on C. After that, the strategy is trained on B with the model from A, then the same with C and B. So the models are trained with in-sample data, but the strategy itself is always trained with out of sample data being presented to the trained models. If you are using NEURAL, then you can control the data split etc. within your R script.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1