Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (M_D), 1,430 guests, and 3 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
Optimize and High number of parameters #470556
01/20/18 18:22
01/20/18 18:22
Joined: May 2016
Posts: 5
Madrid
E
ealvarpe Offline OP
Newbie
ealvarpe  Offline OP
Newbie
E

Joined: May 2016
Posts: 5
Madrid
Whenever I try to optimize a parameter with more than 1000 possible values I get the same error at the 1000th parameter:

"wrong number or range"

does someone know why is this? I´ve tried to optimize 1000 each time and all the possible values works, only failing when the range is higher than 1000.

Also, is there any way to do hyper parameter optimization?
And also, mixing more than 1 parameter. From what I´ve seen if more than 1 parameters, they´re optimized individually, but never all the possible combinations.

Re: Optimize and High number of parameters [Re: ealvarpe] #470561
01/21/18 06:26
01/21/18 06:26
Joined: Feb 2017
Posts: 369
D
Dalla Offline
Senior Member
Dalla  Offline
Senior Member
D

Joined: Feb 2017
Posts: 369
As per the manual, you can set the MAX_STEPS variable in trading.h to increase the max steps. That value is 1000 by default.

Regarding hyper parameter optimization, no, not that I know. You would need to resort to using R bridge and caret or some similar package.

Last question, this is also described in the manual.
"For optimizing any combination of two parameters - the "brute force" optimization method, see example below - optimize a single number that is the product of two array sizes. Divide it then back into two separate indices to two parameter arrays. For instance, let optimize return a value from 0 to 99, and use its first digit (((int)val)/10) as an index for the first array, and its second (((int)val)%10) for the second array."

As an alternative to this, there is a community member who created a "Z Optimizer" that does this as well. I have not tried it myself, but you can find it in the download section http://zorro-project.com/download.php


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1