Merge pull request #6563 from italodamato/opt-ask-force-new-points

Optimize only new points
This commit is contained in:
Matthias
2022-04-23 09:43:33 +02:00
committed by GitHub
4 changed files with 71 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ def generate_result_metrics():
'max_drawdown_abs': 0.001,
'loss': 0.001,
'is_initial_point': 0.001,
'is_random': False,
'is_best': 1,
}
@@ -247,6 +248,7 @@ def test_log_results_if_loss_improves(hyperopt, capsys) -> None:
'total_profit': 0,
'current_epoch': 2, # This starts from 1 (in a human-friendly manner)
'is_initial_point': False,
'is_random': False,
'is_best': True
}
)