remove unused import and commented out code
This commit is contained in:
parent
57acf85b42
commit
37004e331a
@ -8,8 +8,6 @@ import pytest
|
|||||||
import arrow
|
import arrow
|
||||||
from pandas import DataFrame
|
from pandas import DataFrame
|
||||||
|
|
||||||
import hyperopt.pyll.stochastic
|
|
||||||
|
|
||||||
from hyperopt import fmin, tpe, hp
|
from hyperopt import fmin, tpe, hp
|
||||||
|
|
||||||
from freqtrade.analyze import analyze_ticker
|
from freqtrade.analyze import analyze_ticker
|
||||||
@ -165,5 +163,4 @@ def test_hyperopt(conf, pairs, mocker):
|
|||||||
]),
|
]),
|
||||||
}
|
}
|
||||||
|
|
||||||
# print(hyperopt.pyll.stochastic.sample(space))
|
|
||||||
print('Best parameters {}'.format(fmin(fn=optimizer, space=space, algo=tpe.suggest, max_evals=40)))
|
print('Best parameters {}'.format(fmin(fn=optimizer, space=space, algo=tpe.suggest, max_evals=40)))
|
||||||
|
Loading…
Reference in New Issue
Block a user