Gamestudio Links
Zorro Links
Newest Posts
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, Ayumi, PeWi, Quad, VoroneTZ), 513 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
NEURAL_SAVE is not called with PARAMETERS+RULES #453044
07/06/15 05:27
07/06/15 05:27
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
http://zorro-trader.com/manual/en/training.htm says
Quote:
The following cases are possible:
Rules depend on a parameter. ... Set the RULES and PARAMETERS flags at the same time. The training run will now repeat through many cycles. At first the parameter will be optimized and for every parameter step a new set of rules will be generated. ...
I find that when combining PARAMETERS with RULES with an adviseLong(NEURAL, ...), neural(mode=NEURAL_SAVE, ...) is not called as expected at the end of each optimize step. But, neural(model=NEURAL_LOAD,.. ) is called. Therefore Zorro dies when it tries to load an non-existing ml file since it wasn't produced, or it happily re-uses one from some old experiment.

Re: NEURAL_SAVE is not called with PARAMETERS+RULES [Re: GPEngine] #453045
07/06/15 05:38
07/06/15 05:38
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
A work-around is to use my own naming scheme for the ml files and save the model as part of NEURAL_TRAIN. This way, the right file is present when NEURAL_LOAD happens.

Re: NEURAL_SAVE is not called with PARAMETERS+RULES [Re: GPEngine] #453046
07/06/15 06:12
07/06/15 06:12
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
workaround fails because 'StepCycle' is undeclared identifier in 1.32. I need that to avoid naming collisions.

Re: NEURAL_SAVE is not called with PARAMETERS+RULES [Re: GPEngine] #453054
07/06/15 11:09
07/06/15 11:09
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
WFOCycle is normally used for rule naming. Optimize steps are counted with g->nStepCycle. Thanks for the report, we will look into combining NEURAL with PARAMETERS.


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