mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-02 18:13:04 +00:00
add early stopping for hyperopt
This commit is contained in:
@@ -262,6 +262,14 @@ AVAILABLE_CLI_OPTIONS = {
|
||||
metavar="INT",
|
||||
default=constants.HYPEROPT_EPOCH,
|
||||
),
|
||||
"early_stop": Arg(
|
||||
"-es",
|
||||
"--early-stop",
|
||||
help="Early stop hyperopt if no improvement after (default: %(default)d) epochs.",
|
||||
type=check_int_positive,
|
||||
metavar="INT",
|
||||
default=0, # 0 to disable by default
|
||||
),
|
||||
"spaces": Arg(
|
||||
"--spaces",
|
||||
help="Specify which parameters to hyperopt. Space-separated list.",
|
||||
|
||||
Reference in New Issue
Block a user