Change default hyperopt-name to be shorter

This commit is contained in:
Matthias
2021-05-12 19:04:32 +02:00
parent 5f5597b93f
commit 24a1d5a96f
2 changed files with 2 additions and 2 deletions

View File

@@ -182,7 +182,7 @@ class HyperoptTools():
@staticmethod
def is_best_loss(results, current_best_loss: float) -> bool:
return results['loss'] < current_best_loss
return bool(results['loss'] < current_best_loss)
@staticmethod
def format_results_explanation_string(results_metrics: Dict, stake_currency: str) -> str: