Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Training - number of comibnations #482380
01/31/21 16:01
01/31/21 16:01
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Hi,

Doing training with 2 parameters, one should have 10 and another 11 potential values.
Seems that I am getting only 21 runs, instead of 10x11 = 110 runs ?
Am I wrong ?
Did I made some mistake in setting parameters for training ?

Thanks,

Neb

Re: Training - number of comibnations [Re: Neb] #482381
01/31/21 16:32
01/31/21 16:32
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
For instance, I was just following Workshop5.
There are 3 parameters.
p1 has 9 potential values.
p2 has 11 potential values.
p3 has 18 potential values.
Potential numbe for combination is: 1782.
But Zoor is doing only 38 runs.
It is pretty much incorrect ?

It should find the optimal robust parameter combination by going through all parameters together,
not by picking one by one and then combine them together at the end ? Or I am wrong ?

Neb

Last edited by Neb; 01/31/21 20:25.
Re: Training - number of comibnations [Re: Neb] #482386
01/31/21 21:56
01/31/21 21:56
Joined: Feb 2017
Posts: 1,809
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,809
Chicago
Zorro's default optimizer is the Ascent Optimizer, which only optimizes one parameter at a time in sequence. Zorro also has a Brute force optimizer, which iterates through all possible parameter combinations.

This helps to avoid overfitting. Not to mention: brute force takes much longer to complete.
Quote
For this purpose, trading software often uses Genetic or Brute Force optimizers for finding the highest performance peak in the parameter space. Zorro's default Ascent optimizer works differently, and is normally superior in generating the best parameter set. It does not seek performance peaks, but stable performance plateaus, and places the parameters into their centers. This results in less performance with in-sample backtests, but more performance in out-of-sample tests and in live trading. For special purposes, such as for finding performance peaks or for highly irregular parameter spaces, a conventional Genetic optimizer or a Brute Force optimizer can be activated by setting a TrainMode flag.
https://manual.zorro-project.com/training.htm
https://zorro-project.com/manual/en/opt.htm

Re: Training - number of comibnations [Re: Neb] #482387
01/31/21 22:39
01/31/21 22:39
Joined: Aug 2020
Posts: 59
London
Neb Offline OP
Junior Member
Neb  Offline OP
Junior Member

Joined: Aug 2020
Posts: 59
London
Aaaaah,

Thanks @AndrewAMD !
I was blind all the time.

Tried to change to Brute, but was trying to set it up with:

TrainMode = 'Brute'.

Now tried:

setf(TrainMode,BRUTE); and is working like expected laugh


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1