Skip to content

Commit 646eee8

Browse files
committed
🔧: Use Latin Hypercube for initial points
1 parent 77953a3 commit 646eee8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backtesting/backtesting.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,7 @@ def eval_run(config: sp.Configuration):
15981598
task_id='soc',
15991599
random_state=random_state,
16001600
initial_runs=min(max_tries, n_initial_points or 20 + 3 * len(kwargs)),
1601+
init_strategy='latin_hypercube',
16011602
)
16021603
history = opt.run()
16031604
optimal_configurations = history.get_incumbents()

0 commit comments

Comments
 (0)