highlight random points in hyperopt results table

This commit is contained in:
Italo
2022-03-30 00:29:14 +01:00
parent 229b0b037e
commit a3b401a762
4 changed files with 37 additions and 11 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
}
)