Skip to content

Commit 5b92af6

Browse files
committed
fix some spelling errors
1 parent 442a1ba commit 5b92af6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/hyperopt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ freqtrade hyperopt --config config.json --hyperopt-loss <hyperoptlossname> --str
490490
```
491491

492492
The `-e` option will set how many evaluations hyperopt will do. Since hyperopt uses Bayesian search, running too many epochs at once may not produce greater results. Experience has shown that best results are usually not improving much after 500-1000 epochs.
493-
The `-es` option will set ofter how many batches of evaluations with no improvements hyperopt will stop. A good value is 20-30% of the total epochs. Early stop is by default disabled (`-es=0`)
493+
The `-es` option will set after how many epochs with no improvements hyperopt will stop. A good value is 20-30% of the total epochs. Early stop is by default disabled (`-es=0`)
494494

495495
Doing multiple runs (executions) with a few 1000 epochs and different random state will most likely produce different results.
496496

freqtrade/optimize/hyperopt/hyperopt_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(self, config: Config, data_pickle_file: Path) -> None:
108108
self.es_epochs = config.get("early_stop", 0)
109109
self.es_batches = self.es_epochs // config.get("hyperopt_jobs", 1)
110110
if self.es_epochs > 0 and self.es_epochs < 0.2 * config.get("epochs", 0):
111-
logger.warning(f"Easly stop epochs {self.es_epochs} lower than 20% of total epochs")
111+
logger.warning(f"Early stop epochs {self.es_epochs} lower than 20% of total epochs")
112112

113113
if HyperoptTools.has_space(self.config, "sell"):
114114
# Make sure use_exit_signal is enabled

0 commit comments

Comments
 (0)