Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, vicknick), 802 guests, and 4 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
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,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
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