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
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
FR: different approach for splitting data for WFO #485893
05/03/22 14:42
05/03/22 14:42
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
I would like to ask for an alternative way of splitting data for WFO:

1 - set the "TOTAL OOS period', e.g. via TotalOosPeriodStart/End
2 - based on NumWFOCycles or WFOPeriod split the data backwards from EndDate

This will lead to different start dates for WFO periods (and override global StartDate), but ensure always the same test period across experiments and correct comparison between WFO trials , e.g. when selecting the 'best' length of IS-OOS periods.

Thank you.

Re: FR: different approach for splitting data for WFO [Re: Zheka] #485898
05/04/22 09:26
05/04/22 09:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Code
void setStartDate(int TestDate)
{
	var Split = ifelse(DataSplit > 0,DataSplit/100.,0.85);
	var TrainDays = Split/(1.-Split)*(dmy(EndDate)-dmy(TestDate))/(NumWFOCycles-1);
	StartDate = ymd(dmy(TestDate)-TrainDays);
}

Re: FR: different approach for splitting data for WFO [Re: Zheka] #485899
05/04/22 10:17
05/04/22 10:17
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Yes, this should do, thank you.

It makes sense to highlight the 'caveat' in the manual, include the above snippet on the Training page and amend the wfoprofile script.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1