Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
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